Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubts about Header & JSP

 
Manwatkar Vaibhav
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Identify the techniques that can be used to implement 'sessions' if the
client browser does not support cookies. (Select 3 correct options. )

1) Using Http headers.
2) Using https protocol.
3) Hidden form fields.
4) URL rewriting
5) It cannot be done without cookie support.

Answer : (1, 3, 4)

If we set the Session Id in Response Header, will it be available in the next Request from that Client.. I am guessing this from Option 1..

Please clarify me..

Also, I have one more doubt.. After successfully deploying a JSP & requesting it for atleast one time, how does the container finds out whether the JSP file is changed to regenerate the Servlet for it..

Thanks in Advance..
 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would go with Options 3 and 4.
 
Mark Garland
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've already answered this question for you here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic