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!
Eelco den Heijer
posted 13 years ago
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.