aspose file tools*
The moose likes JSP and the fly likes multiple form in a single JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "multiple form in a single JSP" Watch "multiple form in a single JSP" New topic
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: 41509
    
  53
Yes, no problem. Just make sure that the forms don't overlap (in other words, close the first form tag before opening the second).


Ping & DNS - my free Android networking tools app
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

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 ;)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: multiple form in a single JSP