File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Customer Requirements for Developers
this week in the
Picking up parameters in the URL
Joined: Nov 02, 2000
Feb 04, 2005 07:45:00
Typically my page name and parameter list looks like this...
Without parameters obviously it looks like this...
The index.jsp page is registered as the default page. If I wanted to access the site with no parameters I could use this...
if I wanted to use
with parameters... could I??r would I have to have the index.jsp on the end of it.
By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
author and iconoclast
Joined: Jul 08, 2003
Feb 04, 2005 07:50:00
You can certainly do this with servlet-mapping in the web.xml file. I'm going to move this to our
where they know about such things.
[Jess in Action]
Joined: Dec 11, 2004
Feb 04, 2005 10:27:00
Have you tried it?
I would expect the query
parameters to be preserved when forwarded to a welcome page.
How to ask a question...
Simple Servlet Examples
subject: Picking up parameters in the URL
struts deploy issues
Absolute path for jsp
response.sendRedirect expecting the wrong file
Deploying Struts app on Linux server
forward to jsp without using an action
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015