aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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: 601
    
    4

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..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: xml