This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Struts and the fly likes get/set attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

get/set attribute

Rang Sar
Greenhorn

Joined: Jan 28, 2006
Posts: 4
Hi,

I have a Action class and it forwards to a jsp. I set a Object in request scopt and obtain it in jsp and again set it to request scope. Now in jsp i have a button, when clicked this goes to another Action Class. I am not able to get the object from request. it is always null.

-Rang
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56521
    
  14

"Ranga S",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56521
    
  14

Also, please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: get/set attribute
 
Similar Threads
4 fields that makes one set
Problem in setting Application scope Object
problem with registration page
get/set attribute
why i cannot get request object in Action class from jsp