jQuery in Action, 3rd edition
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

pass value into bean from servlet

dibs dibley

Joined: Aug 31, 2003
Posts: 13
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!

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
It's not a secret anymore!