• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Request attributes

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • 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
  • 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
    • 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.
     
    What are you doing in my house? Get 'em tiny ad!
    Devious Experiments for a Truly Passive Greenhouse!
    https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
      Bookmark Topic Watch Topic
    • New Topic