Re: [S2] Testing if session variable is present

2008-07-29 Thread Ylva D
Hi Milan, If you're using Struts 1 you should be able to use the logic:present tag like this: Hope this helps! /Ylva Milan Milanovic wrote: > > Hi, > > I need to test in jsp if some session variable is present, and based on > that to > show some struts view code or not. How can I do t

Possible to iterate through a java.util.Set using Struts 1?

2008-07-29 Thread Ylva D
Hi everyone! I've just started learning Struts (1) and this is my current problem: I have a java.util.Set which is saved in the current session and I'm trying to use Struts for checking if it's not empty and in that case iterating through it (from a JSP). This is the beginning of that code:

Re: Possible to iterate through a java.util.Set using Struts 1?

2008-07-29 Thread Ylva D
ere I didn't use Struts and in that project I didn't have to transform my Sets.) /Ylva Jim Kiley wrote: > > Any reason you can't transform the Set into a List at the back end, and > then > iterate over the List? > > jk > > On Tue, Jul 29, 2008 at 2:16 P

Re: Possible to iterate through a java.util.Set using Struts 1?

2008-07-29 Thread Ylva D
is is new development, I don't understand why you would deliberately > choose Struts 1 over Struts 2. Unless your goal is to prove that Struts > has > too many drawbacks to use. > > jk > > On Tue, Jul 29, 2008 at 2:50 PM, Ylva D <[EMAIL PROTECTED]> wrote: >