DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JSP (http://www.daniweb.com/forums/forum24.html)
-   -   <html:button> (http://www.daniweb.com/forums/thread80871.html)

Acidburn Jun 13th, 2007 3:52 pm
<html:button>
 
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

peter_budo Jun 13th, 2007 7:25 pm
Re: <html:button>
 
Yes, instead of submit create simple button and give it and action where to go after being pressed. Same think like "links"

Acidburn Jun 14th, 2007 3:16 am
Re: <html:button>
 
Yeh given it an action is the hardest part, ive got a structs action called retrieveMe.do but I cant seem to get it to work. It appears that the action takes a javascript code.

peter_budo Jun 14th, 2007 6:47 am
Re: <html:button>
 
Can you post some codes so we can see what you trying to do?


All times are GMT -4. The time now is 10:59 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC