struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Kulkarni <kulkarni_ash1...@yahoo.com>
Subject Re: null pointer error in HTML tag when session is false in jsp
Date Tue, 25 Mar 2003 20:55:09 GMT
Hi,

I tried putting 
<html:html locale="false"> 
in my jsp but still get the same error, 

Ashish
--- David Graham <dgraham1980@hotmail.com> wrote:
> If you set the <html:html> tag's locale attribute to
> true it will create a 
> session, otherwise you don't need one.
> 
> David
> 
> 
> 
> >From: Ashish Kulkarni <kulkarni_ash1312@yahoo.com>
> >Reply-To: "Struts Users Mailing List"
> <struts-user@jakarta.apache.org>
> >To: struts-user@jakarta.apache.org
> >Subject: null pointer error in HTML tag when
> session is false in jsp
> >Date: Tue, 25 Mar 2003 12:32:51 -0800 (PST)
> >
> >Hi,
> >here is a code snippet of my jsp, i get null
> pointer
> >error, do i have to have a session, ??
> >
> ><%@ page language="java" session="false"
> buffer="16kb"
> >contentType="text/html"%>
> >
> ><bean:message key="logout.login"/>
> >
> >
> >this is the error i get
> >java.lang.NullPointerException
> >	at
>
>org.apache.struts.taglib.html.HtmlTag.getCurrentLocale(HtmlTag.java:248)
> >	at
>
>org.apache.struts.taglib.html.HtmlTag.doStartTag(HtmlTag.java:138)
> >	at
>
>org.apache.jsp.logout_jsp._jspx_meth_html_html_0(logout_jsp.java:90)
> >
> >Ashish
> >
> >__________________________________________________
> >Do you Yahoo!?
> >Yahoo! Platinum - Watch CBS' NCAA March Madness,
> live on your desktop!
> >http://platinum.yahoo.com
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> >
> 
> 
>
_________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months
> FREE*  
> http://join.msn.com/?page=features/virus
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message