File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes pass the the values from one jsp to another jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "pass the the values from one jsp to another jsp " Watch "pass the the values from one jsp to another jsp " New topic
Author

pass the the values from one jsp to another jsp

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
How can i pass the the values from one jsp to another jsp thry different ways ?
smitha verghese
Ranch Hand

Joined: Jun 21, 2003
Posts: 42
hi,

1. RequestDispatcher

2. thro session

3. request objects

is this fine??

smitha
Tim Cao
Ranch Hand

Joined: Jul 26, 2004
Posts: 37
Hi,

Just wonder if we can call other jsp methods? Because they are basicly servlets classes in the same package ?

cheers
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30309
    
150

Kri,
You can also put them in the page scope if one jsp is included in another.

Tim,
Welcome to Javaranch! Many people recommend not putting any code in a JSP. I would certainly avoid methods though. They are better served in a java class that the JSP calls.
[ July 26, 2004: Message edited by: Jeanne Boyarsky ]

[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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pass the the values from one jsp to another jsp