Forums Register Login

using JSP inside javascript

+Pie Number of slices to send: Send
Hi all,

I want to know is there any way to use JSP inside javascript or any other alternative solution .

example:

I want to remove or replace an servletcontext attribute depends on user choice which I will get it from javascript prompt dialog box.


Thanks in advance.
+Pie Number of slices to send: Send
No, of course not. JSP is executed on the server in order to create the HTML page to send to the client. Please read this article to understand how JSP operates.

You'll need to make a request back to the server. Sounds like a good job for Ajax.
+Pie Number of slices to send: Send
Thanks for your response Bear Bibeault
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 941 times.
Similar Threads
using jsp inside a javascript function
Javascript to reach inside a servlet...
JSP And Javascript - How to
Session Data
Can I use JavaScript inside a JSP page?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 04:35:07.