This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

return string to jsp from servlet

 
Li Jenny
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i return msg to label in jsp from servlet.


after clicking the submit button,then call servlet to do something.
afterwards, setSttribute for session and then redirect back to the page.

sometimes, i redirect back to the page after submit form, sometimes, i go to the page by linkage.
how can i distinct the page is entered after submit form or not?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic