Solved

Only HTML code

Posted on 2003-11-03
1
151 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

726 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