aspose file tools*
The moose likes JSP and the fly likes How to create dynamic query string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to create dynamic query string" Watch "How to create dynamic query string" New topic
Author

How to create dynamic query string

Mr.Vipin Dube
Greenhorn

Joined: Jan 10, 2004
Posts: 5
Hi ,
can anybody tell me alternative for the following code
<jsp:include page="one.jsp?id=<%=id%>">
Thanks


Enjoy...<br />Vipin Dube
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61658
    
  67

What's the issue?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
Will you please explain the problem
Rajaguru Ramalingam
Greenhorn

Joined: Apr 12, 2004
Posts: 11
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

Joined: May 26, 2003
Posts: 30960
    
158

Is the problem that you don't want to have to append the parameters in the url? If so, you could do:


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
 
subject: How to create dynamic query string