This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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: 56215
    
  13

Adrian Kan wrote:Any advice?

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


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