Solved

Only HTML code

Posted on 2003-11-03
1
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
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…
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…
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).

690 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