File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes forward page and parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "forward page and parameter" Watch "forward page and parameter" New topic

forward page and parameter

Karina Jensen

Joined: Jun 04, 2001
Posts: 6
Can anyone say if it's possible to send a parameter that differs when I forvard to a page?
String newContent = request.getParameter("SomeContent");
<jsp:forward page="dla.jsp?content=newContent"/>
Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
<jsp:forward page="dla.jsp">
<jsp aram name="name" value="value"/>
Please double check.
BTW, the smiley = : p !!

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
I agree. Here's the link:
subject: forward page and parameter
jQuery in Action, 3rd edition