[Logo]
Forums Register Login
xml
<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???
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..

This thread has been viewed 714 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 22, 2018 10:30:59.