File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

How to create dynamic query string

Mr.Vipin Dube

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

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

Joined: Jan 10, 2002
Posts: 63858

What's the issue?

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

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

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 thinking.......other than the specified one already...
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33117

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

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: How to create dynamic query string
jQuery in Action, 3rd edition