Re: fetching a static variable's value from within a JSP page

2012-06-25 Thread Sam Cyrus
es in the same action class? Best regards /// Sam --- On Wed, 6/20/12, Dave Newton wrote: > From: Dave Newton > Subject: Re: fetching a static variable's value from within a JSP page > To: "Struts Users Mailing List" > Date: Wednesday, June 20, 2012, 12:43 PM > Firs

RE: fetching a static variable's value from within a JSP page

2012-06-20 Thread Marcus Bond
x27;s value from within a JSP page Hi, I am trying to follow the tutorial Hello World for Struts2. In the part "Using Struts 2 Tags" it uses s:property to fetch the value for the helloCount variable inside a paragraph tag but doing as the example shows, doesn't get any value and t

Re: fetching a static variable's value from within a JSP page

2012-06-20 Thread Dave Newton
First, paragraph tags have *zero* to do with it, regardless of any behavior you're seeing. On Wed, Jun 20, 2012 at 12:24 PM, Sam Cyrus wrote: >It is possible to fetch the static helloCount outside paragraph > tags: > I'm a little surprised that works without a getter in the action. Ins

fetching a static variable's value from within a JSP page

2012-06-20 Thread Sam Cyrus
Hi, I am trying to follow the tutorial Hello World for Struts2. In the part "Using Struts 2 Tags" it uses s:property to fetch the value for the helloCount variable inside a paragraph tag but doing as the example shows, doesn't get any value and the place is empty in HelloWorld.jsp. The lines be