I want to call Servlet from JSP,In JSP,I have three button,named "button1","button2","button3",for example: <input type="button1" name=<%=button1%> value="<%=button1%>" style="width:200px"> <input type="button1" name=<%=button2%> value="<%=button2%>" style="width:200px"> <input type="button1" name=<%=button3%> value="<%=button3%>" style="width:200px"> When I click button1 with mouse,I want to redirect to a servlet,it locates: /servlet/login1;when I click button2 with mouse,I want to redirect to servlet:/servlets/login2;when I click button3,I want to redirect to servlet:/webapp/welcome. How to realize this function? Thanks in advance! Edward
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
