[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 727 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 19, 2018 08:18:07.