servlet context parameters

View: New views
2 Messages — Rating Filter:   Alert me  

servlet context parameters

by Glenn Holmer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...


Re: servlet context parameters

by Nathan Bubna :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...