|
You cannot do this because JSP scriptlets are server side entities.
They are accessible from a client. The nearest alternative approach that I
can think of is to use a scriptlet to generate JavaScript code for the onClick
handler and use meta tags in the header to refresh the page. While
the page is refreshed, the JSP scriptlet code could generate new
JavaScript code for the onClick handler.
David
|
- Scriplets as form control events Daniel Tillin
- David Chisholm
