thanks to all...
finally I resolved my problem, to get a parameter I used
"application.getIniParameter("parameter name") in my jsp page..
thanks again
Alex
C�dric Viaud <[EMAIL PROTECTED]>
14/08/2002 07:57 a.m.
Please respond to Tomcat Users List
To: Tomcat Users List <[EMAIL PROTECTED]>
cc:
Subject: Re: Access Parameter
As JSP are "compiled" as servlets, you can do with JSP everything you can
do
with servlets.
Check for the exact syntax.
Regards,
C�dric
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 6:32 PM
Subject: Access Parameter
> Can I use something like this in my jsp page (instead of a java sevlet)
to
>
> get the parameter name?,
> before that I set the parameter in my web.xml file like this:
>
> <context-param>
> <param-name>parameter name</param-name>
> <param-value>localhost</param-value>
> </context-param>
>
> String value = getServletContext().getInitParameter("parameter name");
>
> is it only works in a sevlet or will it work in a jsp page too???
>
> thanks again
> Alex Tomita
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>