File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp syntax in XML" Watch "jsp syntax in XML" New topic

jsp syntax in XML

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....,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
I agree. Here's the link:
subject: jsp syntax in XML
It's not a secret anymore!