Hello,
I am having some problems running the program below (it does not run the way it
should).
*The output I get is***
before a a is null after a
*The desired output is
before a init after a
I'm not sure why ${a} is
%
java.lang.String a = init;
request.setAttribute(a,a);
%
c:out value=${a} /
or
c:set var=a value=init /
c:out value=${a} /
Mark
On 20 Sep 2004, at 20:16, Anna Kerekes wrote:
Hello,
I am having some problems running the program below (it does not run
the way it should).
*The
?
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Mon 20/09/2004 2:56 PM
To: Struts Users Mailing List
Subject: Re: set not working
%
java.lang.String a = init;
request.setAttribute(a,a);
%
c:out value=${a} /
or
c:set var=a value=init /
c:out value=${a} /
Mark
On 20 Sep
:
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
Any ideas?
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Mon 20/09/2004 2:56 PM
To: Struts Users Mailing List
Subject: Re: set not working
%
java.lang.String a = init;
request.setAttribute
]
Sent: Mon 20/09/2004 4:35 PM
To: Struts Users Mailing List
Subject: Re: set not working
Interesting..
what about
c:set var=a value=${'init'} /
?
On 20 Sep 2004, at 21:01, Anna Kerekes wrote:
The first way works..thankyou
However, the second way does not :( I get the following error
5 matches
Mail list logo