Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with forward tag  RSS feed

 
sumana ar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i've a jsp page (one.jsp)containing who frames (contents and main). The main fame has a form that calls another jsp page (two.jsp). twp.jsp has to do some validations and redirects back to the same page in the frame(main) or to a different page depending on the validations.
now the problem is with the redirection to a different page. it is opening up in the frame(main) instead of in a different page. i've used jsp:forward tag for redirecting.
how can i achieve this..please treat this as urgent..
--sumana
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it is opening up in the frame(main) instead of in a different page.

So you do not want any frames to be displayed?
 
sumana ar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
opening in the frame depends on the validations in the second jsp page(two.jsp)
actually if something is true..it has to redirect to the same frame else to another page which does not have any frames...
i hope i'm clear..
--sumana
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try redirecting in the second case. Not sure whether it will work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!