This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Servlets and the fly likes xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "xml " Watch "xml " New topic
Author

xml

udita shah
Greenhorn

Joined: Feb 25, 2012
Posts: 2
<context-param>
<param-name>id1</param-name>
<param-value>com.mysql.jdbc.Driver</param-value>
</context-param>
<context-param>
<param-name>id2</param-name>
<param-value>jdbc:mysql://localhost:3306/Online</param-value>
</context-param>



what are context param???
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 514

context parameters are available to the entire scope of the web application, while init parameters are available in the context of a servlet or filter in the web application..

P:S: Please see these links, SearchFirst and UseAMeaningfulSubjectLine..


Regards, Prasad
SCJP 5 (93%)
 
wood burning stoves
 
subject: xml