• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question regarding web application

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi friends
i have a doubt regarding mock exam question on page no. 610 in HFSJ book
my doubt is wheather below statement is true or false

A.A web applucation may override any J2EE classes in the javax.*namespace.
book says above statement is false.but up to my knowledge above statement is true

accorind to servletapi docs . A subclass of HttpServlet must override at least one method, usually one of these oGet,doPost,doHead...
we all know that HttpServlet belongs to javax.servlet.http package

any clarifications please let me know


thanks in advance
 
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
java and javax are two packages and they have nothing to do with
javax.servlet.http package except servlet directory is in the
javax directory and http directory inside the servlet directory.

Interface HttpSertvlet belongs to javax.servlet.http package.

Namespaces are different. Web-app must not override any class in the java.*
or javax.* namespaces.


Thanks,
 
nagalatha mitta
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi chandra bhatt
thanks for clarifing my doubt
 
reply
    Bookmark Topic Watch Topic
  • New Topic