Could someone tell me in how to call a function in a servlet thro' a jsp page..
posted 15 years ago
Could you explain a bit more of what you are trying to do? One way to do it would be to add some inline java code (a scriptlet) into your jsp and make the call there. For example, <% String myString = myServlet.myFunction(); %> Hope this is helpful... -MLA
Sun Certified Programmer for the Java 2 Platform 1.4
Hi again, Well it's like this, i want to chk for a user's login thro' a servlet which connects to the database , and then pass a String array back to the jsp page from the servlet.So which is the best possible way to pass a String back to the jsp... Thanks