• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP parameters

 
Tom Diamond
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<jsp:include page=<%=aVariable%> flush="true" />
It's will bee work
Dmitriy
 
Ajan Balakrishnan
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What it meant was enclose the scriplet within double quotes
<jsp:include page="<%=avariable%>"/>

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic