This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.



Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet config and context parameters  RSS feed

 
Arun Sivaraman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
Can we give same name for servlet config parameter and servlet context parameter.
How can we access in web.xml
[ June 27, 2007: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, they are separate namespaces.

See the API documents for ServletConfig and ServletContext for the answer to the second part of your question.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, please use descriptive subjects when posting. This entire forum is dedicated to questions on servlets, so a subject of "regarding servlets" doesn't describe your question well. Please read this for more information.

I have updated the subject of this post as an example.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!