Author
multiple form in a single JSP
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
Hi All, can i create 2 or more form in a single jsp file(inside a body tag).. please any one can explain me... thanks & regards, seetharaman.v
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35253
posted Apr 10, 2008 05:36:00
0
Yes, no problem. Just make sure that the forms don't overlap (in other words, close the first form tag before opening the second).
Android apps – ImageJ plugins – Java web charts
Raghavan Muthu
Ranch Hand
Joined: Apr 20, 2006
Posts: 3327
Otherwise, they would become 'nested forms'. Moreover, make sure you give an unique name for each forms, if at all you are accessing the form elements by their name!
Everything has got its own deadline including one's EGO!
[CodeBarn ] [Java Concepts-easily ] [Corey's articles ] [SCJP-SUN ] [Servlet Examples ] [Java Beginners FAQ ] [Sun-Java Tutorials ] [Java Coding Guidelines ]
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
thanks ulf and muthu ;)
subject: multiple form in a single JSP