• 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