« Return to Thread: servlet context parameters

Re: servlet context parameters

by Nathan Bubna :: Rate this Message:

Reply to Author | View in Thread

the servlet context is automatically available as $application

$application.getInitParameter('myParam')

On Tue, Apr 1, 2008 at 10:20 AM, Glenn Holmer <gholmer@...> wrote:

> Is there a less painful way to do this?
>
>  $session.getServletContext().getInitParameter("myParam")
>
>  --
>  ____________________________________________________________
>  Glenn Holmer                          gholmer@...
>  Software Engineer                        phone: 414-908-1809
>  Weyco Group, Inc.                          fax: 414-908-1601
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: user-unsubscribe@...
>  For additional commands, e-mail: user-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: servlet context parameters

LightInTheBox - Buy quality products at wholesale price