| Author |
htm, javascript & jsp together???
|
Gail Mikels
Ranch Hand
Joined: May 07, 2001
Posts: 633
|
|
|
I have a .htm file that I have to alter to go to a database and verify a user before the form even loads. I'd thought of using a jsp to get the already-logged-in user from the session, then checking the db there. I'd also thought of using the body tag's on-loadTag to somehow call the jsp, but I can't get any of it working. Is there some way to call the jsp from my .htm file?
|
Gail Mikels
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15003
|
|
I am not the best person to answer this but this is what little I know You can acess jsp through an applet/object tag and change parameters.. there is a discussion on it here: http://www.coderanch.com/t/113648/HTML-JavaScript/set-applet-ID-your-html you can use the o tag to change these things, I know zip about jsp, so that is why I do not know a real answer!
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 50674
|
|
To me it makes no sense to "call" a JSP from an html page. Anything you could do with the JSP you can do by making the entire page a JSP without resorting to trickery. So, why could you not get your JSP working in the first place? hth, bear P.S. You might want to peruse the JSP forum for help on getting your JSP up and running.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Gail Mikels
Ranch Hand
Joined: May 07, 2001
Posts: 633
|
|
Thanks, Bear. I think it will do better as a .jsp. I'll cruise on over to that forum.
|
 |
 |
|
|
subject: htm, javascript & jsp together???
|
|
|