All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
Is it possible for JavaScript and JSP to work together in such a way that when user presses search, the value in search field is send to JavaScript function which in turn sends it to a Java Class that queries the database.
No. The only way to access server-side functions it to post a request back to the server. Javascript has no access to server-side objects; all it can do is trigger the new request by submitting a form or changing the document location.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
42
All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
