• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

two doubts

 
sudheer kiran
Ranch Hand
Posts: 237
Firefox Browser MyEclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there are some depricated methods in ServletRequest like putValue(),if they ask in exam are they valid or not what to answer?

IN DD choosing rules for servlet is different from filters right.
servlet choosing : preference to exact match
filter choosing : preference to /* ?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean in HttpSession ?
if they ask in exam

They won't You're not asked to remember which method is deprecated. I think that these methods should not even been treated in study books.

filter choosing : preference to /*

No. You'll find details about the order which filters are looked for in the Servlets specification, SRV.6.2.4 Configuration of Filters in a Web Application.
[ October 30, 2008: Message edited by: Christophe Verre ]
 
sudheer kiran
Ranch Hand
Posts: 237
Firefox Browser MyEclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my doubt is what if the exam asks
putValue() methods exists for HttpRequest ot not?

thank you.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sudheer kiran:
my doubt is what if the exam asks
putValue() methods exists for HttpRequest ot not?



Christophe Verre explained well . why you repeat the question?
 
Praveen Kumar
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sudheer kiran ,

xxxValue() methods are deprecated at HttpSession class. You dont need to worry about those things. We will not face that type of qns at Exam.

Sudheer, In java world, it is very difficult remember valid methods.... :-)!!

Forget about those methods.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic