Re: getServletContext() in JSP

2001-02-02 Thread Lawrence Sewell
javax.servlet.ServletContext is a JSP implicit object and is exposed (e.g. automatically available in a JSP page) as "application". For example (in Orion 1.4.4): %= application.getServerInfo() % Sure it does. % ServletContext context=request.getServletContext(); % works fine. On Mon, 29

Re: getServletContext() in JSP

2001-01-28 Thread Joseph B. Ottinger
Sure it does. % ServletContext context=request.getServletContext(); % works fine. On Mon, 29 Jan 2001, Romen Law wrote: ello, I recently downloaded orion and tried my web app with it, it failed straight away because it does not recognise the method getServletContext(). I have

RE: getServletContext() in JSP

2001-01-28 Thread Matt Krevs
i too had this problem when i converted from tomcat to orion about 6 months ago From memory, (and its decidedly unreliable) I think you have to change all getServletContext() calls to getServletConfig().getServletContext() -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL