Re: problems when using logic tag with jsp scriptlet

2007-05-05 Thread Jian Zhan
Hi Laurie, Thanks for info and help. The problem looks rare. We load the example coming with Struts (struts-mailreader), it works, which use struts. That means application server is OK. The struts's , , and works fine except action servlet. We think there is only a little issue somewhere block

Re: problems when using logic tag with jsp scriptlet

2007-05-05 Thread Laurie Harper
Sounds like a problem with your application server. Runtime Expressions are handled by it, not by Struts, so I don't think this is a Struts issue. L. zuzg wrote: I'm sorry, the seconde code has some typing error, is should be: some other codes... zuzg wrote: I am using struts 1.2.8 in m

Re: problems when using logic tag with jsp scriptlet

2007-05-05 Thread zuzg
ssed the J2EE > standards 1.4 certification(it's name is Kingdee Apusic). > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this messag

problems when using logic tag with jsp scriptlet

2007-05-05 Thread zhu zhiguo
I am using struts 1.2.8 in my jsp file, I wrote such codes: some other codes... when running on tomcat5.0, it is ok, but when I depoy it on another middleware AS,I got an error:invalide tag lib using, I can only change value to a const like this: some other codes... it works. I want to know

Re: Conditional Statements (if/else) Using logic tag

2006-05-15 Thread Dave Newton
J Gotsch wrote: > I guess my problem is larger than using an if/else statement. This much is certainly true ;) > I figured how to do that, but I'm iterating over a List in the JSP, and want > to be able to exit the loop whenever certain item exist. I don't suppose > there's a way to do that, i

Re: Conditional Statements (if/else) Using logic tag

2006-05-15 Thread Jorge Martín Cuervo
Filter the List before sent to jsp, can you do it? or you must do it in jsp? you can implement your own custom tag extending iterate. Other solution is to define a variable in jsp with c:set when you found and item, and only print when variable isn't set or false. Take a look to jstl common tag

Re: Conditional Statements (if/else) Using logic tag

2006-05-14 Thread J Gotsch
I guess my problem is larger than using an if/else statement. I figured how to do that, but I'm iterating over a List in the JSP, and want to be able to exit the loop whenever certain item exist. I don't suppose there's a way to do that, is there? My requirement in a nutshell: the List cou

Re: Conditional Statements (if/else) Using logic tag

2006-05-13 Thread Philihp Busby
Jerome is referring to tags in the JSTL Core tag library. mmm code-bloat. On 5/14/06, J Gotsch <[EMAIL PROTECTED]> wrote: Which package does this belong to? I can't find it anywhere. Jerome Gagner <[EMAIL PROTECTED]> wrote: use On 5/13/06, J Gotsch wrote: > Hello All, > > How do I

Re: Conditional Statements (if/else) Using logic tag

2006-05-13 Thread J Gotsch
Which package does this belong to? I can't find it anywhere. Jerome Gagner <[EMAIL PROTECTED]> wrote: use On 5/13/06, J Gotsch wrote: > Hello All, > > How do I perform an If/else with ? > > In the below logic:iterate tag, If my collection contains both ROLE1 AND > ROLE2, Then both statem

Re: Conditional Statements (if/else) Using logic tag

2006-05-13 Thread Jerome Gagner
use On 5/13/06, J Gotsch <[EMAIL PROTECTED]> wrote: Hello All, How do I perform an If/else with ? In the below logic:iterate tag, If my collection contains both ROLE1 AND ROLE2, Then both statements will be displayed. And that's now what I want. I want to implement something like thi

Conditional Statements (if/else) Using logic tag

2006-05-13 Thread J Gotsch
Hello All, How do I perform an If/else with ? In the below logic:iterate tag, If my collection contains both ROLE1 AND ROLE2, Then both statements will be displayed. And that's now what I want. I want to implement something like this: if(securityRoleName.equals("ROLE1"))

using logic tag

2006-03-10 Thread temp temp
I am using struts 1.1 I using logic equal tag to check whether a page context attribute value. here is my code So only one logic equal will be true but not both .But when I call this jsp in the browser I get