aspose file tools
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
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%>"/>

It is sorta covered in the JavaRanch Style Guide.
subject: JSP parameters