File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes problem with struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem with struts" Watch "problem with struts" New topic

problem with struts

Hong Yi

Joined: Feb 13, 2008
Posts: 11
I have two question:

1. How can i send one object which set as attribute in the request from one action to another action?

2. How can i make the same request available on two pages for example header and body jsp?

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32062

session - rather than request - scope is meant for this objects that need to be used across pages.

[OCA 8 book] [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:
subject: problem with struts