File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes can i use a normal form with struts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "can i use a normal form with struts?" Watch "can i use a normal form with struts?" New topic
Author

can i use a normal form with struts?

KOla Oyedeji
Greenhorn

Joined: Aug 28, 2001
Posts: 20
Hi
I have the following code in a jsp page :
<form action="register.do" method="post" >
will this work with struts and an ActionForm or do i need to use the struts html:form tag?
Thanks
Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
Yes that will work.
David Hibbs
Ranch Hand

Joined: Dec 19, 2002
Posts: 374
Originally posted by Vladan Radovanovic:
Yes that will work.

...but you'll have to manually re-populate the fields on your form. Users get really frustrated when they have to fill out a whole form multiple times because of minor typos.
Especially when the user is a web developer who knows how easy it would be to re-fill those fields.


"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
KOla Oyedeji
Greenhorn

Joined: Aug 28, 2001
Posts: 20
Thank you
Especially for pointing out the advantage of using the struts form tag over the normal form tag
Kola
 
jQuery in Action, 2nd edition
 
subject: can i use a normal form with struts?
 
Similar Threads
Fundamental struts question
Form Variables vs Session Variables
Using form based authentication and Struts
Domain Object as Strtus Action form.
how to use javascript in struts form?