wood burning stoves*
The moose likes Servlets and the fly likes JSP parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP parameters" Watch "JSP parameters" New topic
Author

JSP parameters

Tom Diamond
Ranch Hand

Joined: May 10, 2001
Posts: 98
Hello,
Is it possible to use dynamically adjusted parameters for a jsp page in a jsp:include tag?
I 've tried <jsp:include page=aVariable flush="true" /> but the server says that the attribute value must be quoted (and if it is quoted things become static).
Any ideas??
Tom.
Dmitriy Pavlyuk
Ranch Hand

Joined: Mar 25, 2001
Posts: 33
<jsp:include page=<%=aVariable%> flush="true" />
It's will bee work
Dmitriy
Ajan Balakrishnan
Ranch Hand

Joined: Jan 04, 2001
Posts: 71
What it meant was enclose the scriplet within double quotes
<jsp:include page="<%=avariable%>"/>

 
 
subject: JSP parameters
 
Similar Threads
jsp:param
Regarding Request Parameter Passing
jsp:param with jsp:include
Using JSP with servlets
page 494 HFSJ