This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Using jsp:param and expression scripting element Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Using jsp:param and expression scripting element" Watch "Using jsp:param and expression scripting element" New topic
Author

Using jsp:param and expression scripting element

Adrian Kan
Greenhorn

Joined: Jan 14, 2002
Posts: 4
Hi,

I am trying to troubleshoot a problem with my JSP

This works fine:


While this isn't and returns an error


Error Returned:
Attribute value request.getParameter("abc") is quoted with " which must be escaped when used within the value

Making <%= request.getParameter(\"abc\")%> works. as normal.


Any advice?

Running Tomcat 6.0.18

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60737
    
  65

Adrian Kan wrote:Any advice?

Yes. Pull yourself kicking and screaming out of 2002 and stop using scriptlets in your JSP pages.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using jsp:param and expression scripting element
 
Similar Threads
jsp:include & jsp:param
fragment was not found error
jsp:param usage
how to get object of this below chart and write in to pdf here strXMl is string of xml
jsp:param usage