•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 425,933 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,632 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 1575 | Replies: 3
![]() |
| |
•
•
Join Date: Dec 2004
Posts: 465
Reputation:
Rep Power: 4
Solved Threads: 5
Hello guys,
I've got my JSP set up so when I click on a href link it redirects it to a form, the form then takes in user information and has a html:submit and a html:cancel buttons. Actions are associated with these...
Anyway my question is that when a user clicks on the <html:submit> it causes a new page to load, which itself is a standard html page and shows the result of the user input. Is there a way to get a button on that page to redirect to another page... I've looked up <html:button> but not much useful information is located on the web for this.
Perhaps theres another approach to this?
Thanks,
John
I've got my JSP set up so when I click on a href link it redirects it to a form, the form then takes in user information and has a html:submit and a html:cancel buttons. Actions are associated with these...
Anyway my question is that when a user clicks on the <html:submit> it causes a new page to load, which itself is a standard html page and shows the result of the user input. Is there a way to get a button on that page to redirect to another page... I've looked up <html:button> but not much useful information is located on the web for this.
Perhaps theres another approach to this?
Thanks,
John
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,453
Reputation:
Rep Power: 11
Solved Threads: 296
Yes, instead of submit create simple button and give it and action where to go after being pressed. Same think like "links"
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
![]() |
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- remove element (JavaScript / DHTML / AJAX)
- A simple question (VB.NET)
- Trying to get e-commerce working in Flash MX (Graphics and Multimedia)
- Print a web page in ASP.net (ASP.NET)
- HYPERLINK with PHP POST (PHP)
- Printing using Web Control Print button. (ASP.NET)
Other Threads in the JSP Forum
- Previous Thread: JSP -- not enough session space?
- Next Thread: How to pass a server side value to an attribute of a custom jsp tag



Hybrid Mode