> Thanks
>
>
> -Original Message-
> From: carmi_cd [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 24, 2007 2:47 PM
> To: user@struts.apache.org
> Subject: Re: conditional statement in struts2
>
>
>
> would this code function correctly..th
As per my local set up here it is working ok.
I have taken local method in action class named getPdfValue()
public int getPdfValue() {
return 1;
}
and it is working ok.
Jignesh.
carmi_cd wrote:
>
> would this code function correctly..that if pdfValue==1 it will display an
> iframe containing
Please check http://www.roseindia.net/struts/struts2/struts-2-tags.shtml
Thanks
-Original Message-
From: carmi_cd [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 24, 2007 2:47 PM
To: user@struts.apache.org
Subject: Re: conditional statement in struts2
would this code function
would this code function correctly..that if pdfValue==1 it will display an
iframe containing a pdf generated from jasperreports else a strut div will
be displayed containing an html format report?
It's simple dude use s:if and s:else like mentioned below
if part
else part
hope it will help u.!
Regards,
Jignesh
carmi_cd wrote:
>
> hi i'm new in struts 2..my question is how can i get a value from a
> member variable of my action class and
> evaluate it in my if-else-if
5 matches
Mail list logo