How to get init parameter in a java file
843838Dec 20 2006 — edited Dec 21 2006Hai
I hava an init parameter described in my deployment discriptor. i using this init paramater in the servlet. the same init object i want to use in a javabean which is used by a jsp.
And also i want to load this servlet loaded when my application is loaded in to the container.
i was trying this using <load-on-startup>1</load-on-startup> tag in web.xml
i have mentioned the value as 1 because that is the first servlet discribed in my <servlet> tag in the web.xml
is this process right, what exactly does the value in <load-on-startup> do.
Please help me soon