This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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
 
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic