• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Struts And JSTL

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I am struts html and jstl for jsp programming and facing the problem in this code:
<html:select property="singleSelect" size="10" >
<core:forEach var="val" begin="0" end="9" >
<html ption value="<core ut value=Single ${val} />" >
Single <core ut value=" ${val}" />
</html ption>
</core:forEach>
</html:select>

The error is:-
org.apache.jasper.JasperException: /html-select.jsp(46,8) jsp.error.unterminated.tag
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:734)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:809)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:837)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:758)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:809)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:837)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:758)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:809)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:837)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:758)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:809)

Could any body help me
(edited by Cindy to disable smilies)
[ February 17, 2003: Message edited by: Cindy Glass ]
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One thing that does strike me is that you are using a custom tag to supply a value for the value attribute within the html ption tag - this won't work. Apart from that, there doesn't seem to be anything wrong with the actual nesting of your tags - are there others on the page?
Simon
 
Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic