• Post Reply Bookmark Topic Watch Topic
  • New Topic

Changing the target attribute before making a forward

 
Andres Pineda
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I need to change the target attribute of a form element (HTML) before calling the forward() method of a RequestDispatcher object from a servlet Admin in a MVC design pattern, That's because when I got a database error, I need to forward to an error page in a diferent frame from that the original form target specify. May be that's impossible but any idea or alternative solution would be thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!