RE: conditional statement in struts2

2007-11-13 Thread SudarshanP
> 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

Re: conditional statement in struts2

2007-10-24 Thread jignesh(india)
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

RE: conditional statement in struts2

2007-10-24 Thread Deepak Kumar
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

Re: conditional statement in struts2

2007-10-24 Thread carmi_cd
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?

Re: conditional statement in struts2

2007-10-23 Thread jignesh(india)
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