File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Where do set my attribute?" Watch "Where do set my attribute?" New topic

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

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

Joined: Jan 10, 2002
Posts: 63548

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

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Where do set my attribute?
jQuery in Action, 3rd edition