This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP parameters" Watch "JSP parameters" New topic

JSP parameters

Tom Diamond
Ranch Hand

Joined: May 10, 2001
Posts: 98
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??
Dmitriy Pavlyuk
Ranch Hand

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

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

Have you tried LearnNowOnline?
subject: JSP parameters