I'm leaning JSP as I go, and have a question for you guys............
I would like to be able for a user to click a button, "Put On Vacation", and another JSP page, "PutOnVacation.jsp", be called without having the user actually being directed there. The JSP page being called only calls a method from another java class that runs a SQL statement. Currently I am using the lines:
<form name="putOnVacation" action="PutOnVacation.jsp" method="post">
<input type="submit" value="Put On Vacation" onClick="putOnVacation()">
Any ideas. I figure there is just some syntax I'm unaware of. Thanks......
Java Server Pages is a server-side language, so you cant execute JSP code from the client.
Does this make sense to you?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)