Get your CodeRanch badge!*
The moose likes Servlets and the fly likes Where do set my attribute? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Where do set my attribute?" Watch "Where do set my attribute?" New topic
Author

Where do set my attribute?

Ram kanana
Ranch Hand

Joined: Apr 13, 2006
Posts: 34
Here i am using data search page which is normally a static page. When this page goes to the Controller(normally servlet) it will redirect to jsp page when the data is valid and show the result.

My question is where do i put(either in servlet or jsp) set attributes(normally search detail) to Java bean class.
Buvana Ramkumar
Greenhorn

Joined: Apr 25, 2006
Posts: 5
Want a clearer Statement
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60045
    
  65

Generally, the servlet will place the data into request scope for retrieval by the JSP.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where do set my attribute?
 
Similar Threads
Problem retrieving session value in jsp pagess
storing data from database
Frames or not, your suggestions
Can I pass data from a JSP to popup window?
Accessing a variable from both EL and JSP Expression?