Forums Register Login

button

+Pie Number of slices to send: Send
hello,

i have created a button on my jsp page that when it is clicked it has to execute an sql query.how can i do that directly from the jsp page???
+Pie Number of slices to send: Send
Hi,

if you mean in "directly" without submitting the form and redirect the page I think it's imposible. !! but you can do it by redirecting the page to it self and execute the query when the form is submitted.
+Pie Number of slices to send: Send
This question tells me that you need to spend some more time learning about basic web programming. I would spend some time following a few JSP/Servlet tutorials. Then, if you haven't already, follow a few JDBC tutorials.

Once you get the whole request/response concept under your belt, answers to questions like become obvious.
What are you doing in my house? Get 'em tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 740 times.
Similar Threads
dynamic page
open a popup window of a pop up window from the parent window
general questions
How to exit from a jsp page
jsp's
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:39:02.