Solved

Only HTML code

Posted on 2003-11-03
1
149 Views
Last Modified: 2010-04-09
Hello,
I am learning JSP and I have a little background about HTML.
Here is the HTML code that I saved in Sample.html

<HTML>
<BODY>
<FORM METHOD=GET ACTION="Next.html">
Please enter name: <INPUT TYPE=TEXT NAME=username SIZE=20><BR>
Please enter email address: <INPUT TYPE=TEXT NAME=email SIZE=20><BR>
<P><INPUT TYPE=SUBMIT VALUE=Send>
</FORM>
</BODY>
</HTML>

I want to create Next.html (used in Action attribute). How can I show value of username and email parameter in Next.html without using JSP or any server-side script.
Another question is that Can I use POST method instead of GET method?

Thanks
-FA
0
Comment
Question by:Farzad Akbarnejad
1 Comment
 
LVL 17

Accepted Solution

by:
dorward earned 125 total points
ID: 9669708
This sort of thing is best handled server side, but if you must do it client side then you can only use GET. http://www.math.grin.edu/~rebelsky/Tutorials/JavaScript/Spring1999/query.html should get you started on processing it.

It does beg the question though - if you are learning JSP, why do you want to do this without it?
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question