This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Doubt regarding multiple forms on a jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Doubt regarding multiple forms on a jsp" Watch "Doubt regarding multiple forms on a jsp" New topic
Author

Doubt regarding multiple forms on a jsp

sudharshan tettu
Ranch Hand

Joined: Jul 17, 2006
Posts: 124
Hi

I have got an issue like this.I am using struts framework
I have one jsp OrderForm.jsp

<form action="/somepage.do">

<logic:present name="customisedJsp">
<tiles:insert page="custom.jsp">
</logic:present>
</form>
//some temp forms
<form action="/tempform.do">
</form>

<form action="/tempform2.do">
</form>


the customised jsp can be inserted in the run time ,depending upon if its present or not.
in case not the reset of the code in the first form are displayed on the jsp and aslo the form1 ,form2 are also included

but when the custom jsp is presnet...
when i view the viewsource .....its getting terminated at the end of form1
and temp forms are not inserted....which leads to some script error elements null or not an object , when using some form elements of those temp form

else do we need to include those forms in my customised jsp ???
please help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt regarding multiple forms on a jsp
 
Similar Threads
Loading multiple forms in single jsp
Accessing String Array with struts tags
Struts forward problem
How to hide the parameters shown in the url while submitting a form
javax.servlet.ServletException:javax.servlet.jsp.JspException: Cannot find bean: "riga" in any scope