JSP is serverside, Javascript is client side. You could do the same sorts of
tings in JSP as javascriot but it would involve a network round-trip, so why
bother?

<FORM method="GET" action="/app/myjsp.jsp" >
...

The JSP page can access the form params any number of ways but typically
through

<% myParam = request.getParameter("ParamName" %>

or more likely

<jps:useBean id="FormHandler" class="xyz" scope="request" >
<jsp:setProperty name="formHandler" property="*" /?
</jsp:useBean>

Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ryan Richards
> Sent: 06 September 2000 19:32
> 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

Reply via email to