This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes pass value into bean from servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "pass value into bean from servlet" Watch "pass value into bean from servlet" New topic
Author

pass value into bean from servlet

dibs dibley
Greenhorn

Joined: Aug 31, 2003
Posts: 13
Hi,
Just wondering how i pass a value into a bean from a servlet directly without having to do a submit button. The bean will do a database lookup based on that value!

Thanks
Eelco den Heijer
Ranch Hand

Joined: Jan 17, 2002
Posts: 61
Do you mean: who do I access the web server layer from a web page directly, without a GET/POST? It is tempting to think that you can access a bean in a JSP directly, i.e. without a POST or GET, because all the code is in one JSP; but the JSP lives on the servlet, and the HTML is produces is sent to the client (over HTTP). So if the former is what you mean, the answer is no. Otherwise, please elaborate your question please.


== <br />Rgrds,<br />Eelco<br /> <br />SCJP, SCJD, SCBCD, SCWD, SCEA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pass value into bean from servlet
 
Similar Threads
servlet setting some value need to retrive that value in a normal java file
Newbie -- Passing bean information while redirecting
Related to bean access
Passing value to EJB from Servelet
Finder methods