?
Solved

Only HTML code

Posted on 2003-11-03
1
Medium Priority
?
156 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 500 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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

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.
There's never been a better time to become a computer scientist. Employment growth in the field is expected to reach 22% overall by 2020, and if you want to get in on the action, it’s a good idea to think about at least minoring in computer science …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

616 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