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
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: 61648
    
  67

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