jsp question bank

Upload: saurav-naruka

Post on 03-Jun-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/11/2019 jsp question bank

    1/2

    Question Bank (JSP, Volume2)

    Ques1: compare JSP and Servlets.Ques2: Explain the JSP scripting elements. Which JSP Element code into _JSPservice

    method when JSP is converted into servlet.

    Ques:Explain the various prede!ined varia"les#implicit $"%ects& availa"le in JSP.Ques':explain the ()*+ and ,*+ s-ntax !or the scripting elements.

    Ques: Explain the di!!erence "etween con!ig/ pagecontext/ page prede!ined varia"les.

    Ques0:Explain the di!!erence "etween page content)-pe34application5vnd.ms6excel47 and 8 response.setcontent)-pe#9application5vnd.ms6excel4&87

    Ques:Explain the errorPage and isErrorPage with the help o! example.

    Ques;:Explain the di!!erence "etween include :Explain the di!!erence "etween %sp:plugin7 and applet7 tag to include applets

    in we" application.

    Ques1?: Explain the =dvantages o! Java@eans components over scriptlets and JSP

    expressions.

    Ques11:what are the conventions !or writing Java @eans.Ques12:Wh- it is alwa-s suggested to put the Java @ean class in WE@6

    ABC5classesDSomePacageQues1: what is the di!!erence "etween %sp:use@ean type=Package.className7 and

    %sp:use@ean class=package.classname7

    Ques1':what is the di!!erence "etween !orward method o! FeGuest

  • 8/11/2019 jsp question bank

    2/2

    Ques1?: write short note on servletIontext+istener/ servletSession+istener/ Session

    =ttri"ute+istener/ Session$"%ect@inding+istener/ FeGuest=ttri"ute+istenerQues11: explain general steps !or using listeners in a we" application.

    Ques12: explain the various components o! tag li"rar-.

    Ques1: write the installation steps o! JS)+. =lso explain all core tags in detail.