This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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: 3222
<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
It's not a secret anymore!