Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Request attributes

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
What (if any) request attributes should I know for SCWCD exam ? I've noticed (in head first, or online mock questions) only few:
- javax.servlet.forward.query_string
- javax.servlet.forward.servlet_path
- javax.servlet.include.query_string
- javax.servlet.include.servlet_path

Are the knowledge of them (and others) needed on exam ?
And if everybody asks aoubt SCWCD Study Companion - if the knowledge is needed - is that topic covered in that book ?
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should know about the forwarded request parameters:
  • javax.servlet.forward.request_uri
  • javax.servlet.forward.context_path
  • javax.servlet.forward.servlet_path
  • javax.servlet.forward.path_info
  • javax.servlet.forward.query_string

  • and the included request parameters:
  • javax.servlet.include.request_uri
  • javax.servlet.include.context_path
  • javax.servlet.include.servlet_path
  • javax.servlet.include.path_info
  • javax.servlet.include.query_string


  • I can't think of any others that you need to know. I'm not sure that you need to remember the error ones (javax.servlet.error.status_code, etc...)

    [edited : replaced "I'm sure" with "I'm not sure"]
     
    Author
    Posts: 836
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Łukasz Suchecki wrote:And if everybody asks aoubt SCWCD Study Companion - if the knowledge is needed - is that topic covered in that book ?


    It certainly is covered. There's a whole page dedicated to it (across pages 135-136 in Chapter 6 "RequestDispatcher & Wrappers"). The 10 mentioned by Christophe, above, form the complete set.

    As you'll have noticed, the 10 quickly reduce to 5 for learning purposes, by exchanging the "include" for "forward" in the stem. The names are also all lower case, using an underscore where the Java method name would capitalise. Just a couple of hints.
     
    I like tacos! And this tiny ad:
    Free, earth friendly heat - from the CodeRanch trailboss
    https://www.kickstarter.com/projects/paulwheaton/free-heat
    reply
      Bookmark Topic Watch Topic
    • New Topic