struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cedric Dumoulin" <>
Subject Re: problem with <struts:option> tag
Date Wed, 25 Oct 2000 10:44:49 GMT

  I use JDK 1.3 and have the same problem. 
  I also use Tomcat as web server. 
  In fact, when Tomcat process an attribute like  value="", it considere
that you don't assign any value, and so it doesn't assign value to the
  The option tag implementation does processing on the value, but as it
is null, it throws a NullPointerException.

  Maybe the option tag implementation may need to check if 'value' is
set, or may initialize it with an empty string ?

> Pramod wrote:
> Hi all,
> I have a problem with <struts:option> tag running on jdk1.2.2.
> If I give
>     <struts:option value=""> MyOption </struts:option>
> I get a null pointer ecxception when calling that JSP. ie., the
> value="" is not permitted. But in jdk1.3 it works fine. The struts
> documentation recommends jdk 1.2.2 or later versions to work.
> Is such a problem really there ?    Or - Is it a problem with my
> configuration or installation ?
> Thanks in advance
> Pramod

View raw message