• 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

objectives!

 
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi!
can anybody pl explain what exactly the given objectives(12.6 & 10.2) cover?
12.6 Given a "BODY" or "PAGE" constant, identify a correct description of the constant's use in the following methods:
doStartTag
doAfterBody
doEndTag
10.2 Given JSP page attribute scopes: request, session, application, identify the equivalent servlet code.
ashok.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
12.6: I think they mean "SKIP_BODY" and "SKIP_PAGE" instead of "BODY" and "PAGE". The object is probably that you should understand which method can use which constant. JSP specification sais:
"public static final int SKIP_BODY
Skip body evaluation. Valid return value for doStartTag and doAfterBody.
public static final int SKIP_PAGE
Skip the rest of the page. Valid return value for doEndTag."

10.2: When beans are used in JSP they are set to a certain scope level. The objective is to understand what scope level corresponds to which object in a servlet contex.
For example page 4 of this resource http://java.sun.com/products/jsp/pdf/card12.pdf gives:
request = HttpServletRequest
session = HttpSession
application = ServletContext
/anders
 
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic