You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Jason van Zyl <jv...@zenplex.com> on 2002/04/11 23:33:08 UTC

Re: TurbineServlet.get...() methods return null

On Thu, 2002-04-11 at 18:12, Bruce Altner wrote:
> Greetings:
> 
> I just encountered something I don't understand. All calls to static 
> TurbineServlet methods such as
> TurbineServlet.getServerName(), TurbineServlet.getServerPort(), 
> TurbineServlet.getContextPath(), etc. are returning
> null. (However, curiously,TurbineServlet.getRealPath("/") returns an actual 
> path.)

Are you using 2.1?
 

-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://tambora.zenplex.org


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: TurbineServlet.get...() methods return null

Posted by Jason van Zyl <jv...@zenplex.com>.
On Fri, 2002-04-12 at 11:39, Bruce Altner wrote:
> At 05:33 PM 4/11/2002 -0400, you wrote:
> >On Thu, 2002-04-11 at 18:12, Bruce Altner wrote:
> > > Greetings:
> > >
> > > I just encountered something I don't understand. All calls to static
> > > TurbineServlet methods such as
> > > TurbineServlet.getServerName(), TurbineServlet.getServerPort(),
> > > TurbineServlet.getContextPath(), etc. are returning
> > > null. (However, curiously,TurbineServlet.getRealPath("/") returns an 
> > actual
> > > path.)
> >
> >Are you using 2.1?
> >
> 
> Yes, the jar file in my WEB-INF/lib directory is turbine-2.1.jar. Is this a 
> known problem in 2.1 and is it fixed in 2.2?

Yes, known problem and fixed in CVS a while ago. 
 
> Thanks,
> Bruce
> 
> 
> 
> >--
> >jvz.
> >
> >Jason van Zyl
> >jvanzyl@apache.org
> >
> >http://tambora.zenplex.org
> >
> >
> >--
> >To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> >For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://tambora.zenplex.org


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: TurbineServlet.get...() methods return null

Posted by Bruce Altner <ba...@hq.nasa.gov>.
At 05:33 PM 4/11/2002 -0400, you wrote:
>On Thu, 2002-04-11 at 18:12, Bruce Altner wrote:
> > Greetings:
> >
> > I just encountered something I don't understand. All calls to static
> > TurbineServlet methods such as
> > TurbineServlet.getServerName(), TurbineServlet.getServerPort(),
> > TurbineServlet.getContextPath(), etc. are returning
> > null. (However, curiously,TurbineServlet.getRealPath("/") returns an 
> actual
> > path.)
>
>Are you using 2.1?
>

Yes, the jar file in my WEB-INF/lib directory is turbine-2.1.jar. Is this a 
known problem in 2.1 and is it fixed in 2.2?

Thanks,
Bruce



>--
>jvz.
>
>Jason van Zyl
>jvanzyl@apache.org
>
>http://tambora.zenplex.org
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>