Forums Register Login

how do v call our own functions in jsp

+Pie Number of slices to send: Send
how can i call the function which is written on my own useing the a href tag.
+Pie Number of slices to send: Send
Can you put your code, then we will try to solve it.
Thanks..
+Pie Number of slices to send: Send
my prg is all most bout 600 lines. i can posiably past it here i will try to explain my problem, now supose i have a function which going to display "hello" now i should b able to activate this function user a link say "click here".
+Pie Number of slices to send: Send
Remember, a servlet or JSP can only create a HTML page - servlet code lives on the server, not in the browser.
If you want the user to click on a control and get a page with your content, the control has to have a URL that addresses a servlet or JSP that generates the content.
href="http://myserver/servlets/MyServlet"
Just exactly like addressing any other resource on the server.
Bill

Bill
If you have a bad day in October, have a slice of banana cream pie. And this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 552 times.
Similar Threads
calling functions in jsp
our own javascript function along with struts validator frame work
struts validator along with manually created javascript functions!!!!!!!!!!
Keeping all these tags straight...
logic tags in JSTL?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:51:07.