Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

New Request  RSS feed

 
Mathew Chen
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a question regarding the way requests are dealt with by an application Server.When is a request for a JSP page considered to be a new request?Is it when the compiled servlet is different from the old jsp?

Pls advise.

Thanks
Mathew Chen
[ August 09, 2005: Message edited by: Bear Bibeault ]
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Everytime the page is requested, it is a new request. The information that the page displays, however, may be persisted in a scope that doesn't die with each new request, like session or application scopes.
 
Mathew Chen
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your response.This would then imply that if a user clicks on the refresh button of the browser,he would be triggering a new request every time.

Thanks
Mathew Chen
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mathew Chen:
Thanks for your response.This would then imply that if a user clicks on the refresh button of the browser,he would be triggering a new request every time.

Thanks
Mathew Chen


Yes, that is correct.
 
Mathew Chen
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot!!

Regards
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This would then imply that if a user clicks on the refresh button of the browser,he would be triggering a new request every time.


Unless the browser decides to serve the page out of its cache.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!