Solved

Only HTML code

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now