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 <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to