File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Other Open Source APIs
Using jsp:param and expression scripting element
Joined: Jan 14, 2002
Feb 18, 2009 07:01:55
I am trying to troubleshoot a problem with my
This works fine:
Param abc -> <%= request.getParameter("abc")%>
While this isn't and returns an error
<jsp:include page="./header.jsp"> <jsp:param name="abc" value="<%= request.getParameter("abc")%>" /> </jsp:include>
Attribute value request.getParameter("abc") is quoted with " which must be escaped when used within the value
Making <%= request.getParameter(\"abc\")%> works. as normal.
Author and ninkuma
Joined: Jan 10, 2002
Feb 18, 2009 09:40:07
Adrian Kan wrote:
Yes. Pull yourself kicking and screaming out of 2002 and stop using scriptlets in your JSP pages.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Using jsp:param and expression scripting element
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:include & jsp:param
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015