i want to use getInitParameter in a simple java class .... how do i do that ?
i tried to implement ServletContext
and then wrote the code:
user = getInitParameter("user" );
which resulted in the following exception :
java.lang.UnsupportedOperationException: Not supported yet.
Looks like your server doesn't support your code.
What server are you using?
I m using apache tomcat6.0
How are you sure that the posted statement caused the error?
Did the error message show where in the server was it thrown?