aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 60074
    
  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]
 
Don't get me started about those stupid light bulbs.
 
subject: Using jsp:param and expression scripting element
 
Similar Threads
how to get object of this below chart and write in to pdf here strXMl is string of xml
fragment was not found error
jsp:param usage
jsp:include & jsp:param
jsp:param usage