Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt regarding multiple forms on a jsp  RSS feed

sudharshan tettu
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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

<form action="/">

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

<form action="/">

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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!