Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create dynamic query string

 
Mr.Vipin Dube
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
can anybody tell me alternative for the following code
<jsp:include page="one.jsp?id=<%=id%>">
Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the issue?
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will you please explain the problem
 
Rajaguru Ramalingam
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suppose, the problem is , he needs to include a jsp page in to a container jsp, that included jsp expects a request parameter value and that value is dynamic and it is generated from the container page...right???
but solution...im thinking.......other than the specified one already...
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the problem that you don't want to have to append the parameters in the url? If so, you could do:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic