Mark Hartnett

Greenhorn
+ Follow
since Mar 01, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mark Hartnett

The correct syntax is as Merrill describes in her post.

The only difference may that your bean is in Session scope not request.

You should post the html that is being rendered from your tag to see if it is correct.
[ March 04, 2005: Message edited by: Mark Hartnett ]
15 years ago
You need to add the paramName attribute to the tag. The paramName is the name of the form that contains the value you are trying to get the id from.
15 years ago
Put the following in your struts-config.xml action definition.

input="/nameOfJspForm.jsp"
15 years ago
My advice is to not forward to another action object. Just use a basic java class, instanciate it in any action object you need to and use its functions.

You could make the object a singleton so that it is instanciated only once and becomes available for any action object that needs it.


This would eliminate the need to do multiple forwards and allow you to do all your processing in a single action class.
[ March 01, 2005: Message edited by: Mark Hartnett ]
15 years ago