Can I use web.xml as an ini file ?

Hi there,

Yes this is possible. For example you can have the following in the \WEB-INF\web.xml:-



title
Welcome to my page



and then in your .JSP file you can use implicit ‘application’ object to retrieve these values, e.g

<% String title = application.getInitParameter(“title”); %>