File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes jsp syntax in XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp syntax in XML" Watch "jsp syntax in XML" New topic
Author

jsp syntax in XML

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
if anyone has gone thru jsp with xml syntax......
Request-Time Attribute Expressions
Request-time attribute expressions are of the form “<%= expression %>”.
Although this syntax is consistent with the syntax used elsewhere in a JSP page, it is
not a legal XML syntax. The XML mapping for these expressions is into values of
the form “%= expression’ %”, where the JSP specification quoting convention has
been converted to the XML quoting convention.
1.can I get small line of code for the above to make it more clear....

2.how,when and where to use jsp:id ???
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
1.In the SCWCD forum, I did post an example on this. Please search in that forum.
2. I couldn't get an example for this. Again this was discussed in the SCWCD forum, but no example.
- satya


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp syntax in XML