File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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