No. JavaScript is client side..it operates in the web browser. JSP is a
server-side technology. You can use scriplets to return dynamic content,
including dynamic inline JavaScript code, but you can't use JSP pages once
the response (the JSP page contents) has been sent back to the browser. Only
JavaScript can be used. However, you can manipulate the form elements in JSP
pages, just as you would in a servlet.
> -----Original Message-----
> From: Ryan Richards [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 06, 2000 11:32 AM
> To: [EMAIL PROTECTED]
> Subject: Question regarding JSP and HTML forms
>
>
> Question:
>
> I am trying to use JSP's for a project I am working on. Can
> I use JSP to obtain information from HTML form elements as I
> would do in JavaScript? hence eliminating the need for
> JavaScript altogether?
>
> Any links to JSP-HTML Form info would be appreciated. I have
> had trouble finding specific info on this subject.
>
> Ryan
> ______________________________________________________________
> _____________
> Visit http://www.visto.com/info, your free web-based
> communications center.
> Visto.com. Life on the Dot.
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets