RE: Where does the stdout of Actions go?

2011-05-23 Thread Pankaj Shrivastava
Well, I figured out how to use the Logger framework while the S.o.p was not working. Now I have both the logger messages and the sop working together. I also found other debugging technique of using debug=browser (and other options like xml) but that doesn't work. I think I should fork a separate t

RE: Iterating over a tree structure

2011-05-23 Thread Jason Pyeron
> -Original Message- > From: Chris Pratt [mailto:thechrispr...@gmail.com] > Sent: Monday, May 23, 2011 18:48 > To: Struts Users Mailing List > Subject: Re: Iterating over a tree structure > > Give http://lmgtfy.com/?q=JSP+tag+file+support a shot. > (*Chris*) Thanks, I am learning somet

Re: Iterating over a tree structure

2011-05-23 Thread Chris Pratt
Give http://lmgtfy.com/?q=JSP+tag+file+support a shot. (*Chris*) On Mon, May 23, 2011 at 3:41 PM, Jason Pyeron wrote: > > -Original Message- > > From: Chris Pratt > > Sent: Monday, May 23, 2011 18:18 > > To: Struts Users Mailing List > > Subject: Re: Iterating over a tree structure > >

RE: Iterating over a tree structure

2011-05-23 Thread Jason Pyeron
> -Original Message- > From: Chris Pratt > Sent: Monday, May 23, 2011 18:18 > To: Struts Users Mailing List > Subject: Re: Iterating over a tree structure > > Not exactly, a .tag file is a callable JSP snippet that can > be invoked recursively, which makes it useful in this > instance.

Re: Iterating over a tree structure

2011-05-23 Thread Chris Pratt
Not exactly, a .tag file is a callable JSP snippet that can be invoked recursively, which makes it useful in this instance. You didn't find that when you researched it? (*Chris*) On Mon, May 23, 2011 at 2:56 PM, Jason Pyeron wrote: > > -Original Message- > > From: Chris Pratt > > Sent

RE: Iterating over a tree structure

2011-05-23 Thread Dave Newton
On May 23, 2011 5:13 PM, "Jason Pyeron" wrote: > To clarify, I am not looking to render a tree widget […] Still just a tree, though. I've also always done this with a tag that gets passed a node and recurses as needed. Dave

RE: Iterating over a tree structure

2011-05-23 Thread Jason Pyeron
> -Original Message- > From: Chris Pratt > Sent: Monday, May 23, 2011 17:52 > To: Struts Users Mailing List > Subject: Re: Iterating over a tree structure > > You might want to look at the JSP .tag file support. I've > used it for similar requirements before. > (*Chris*) Are you sayi

Re: Iterating over a tree structure

2011-05-23 Thread Chris Pratt
You might want to look at the JSP .tag file support. I've used it for similar requirements before. (*Chris*) On Mon, May 23, 2011 at 2:12 PM, Jason Pyeron wrote: > > -Original Message- > > From: Jason Pyeron > > Sent: Monday, May 23, 2011 16:52 > > To: 'Struts Users Mailing List' > >

RE: Iterating over a tree structure

2011-05-23 Thread Jason Pyeron
> -Original Message- > From: Jason Pyeron > Sent: Monday, May 23, 2011 16:52 > To: 'Struts Users Mailing List' > Subject: Iterating over a tree structure > > I have been racking my brains out today on this one. > > What is the best way to perform a depth first traversal of a > tree data

Iterating over a tree structure

2011-05-23 Thread Jason Pyeron
I have been racking my brains out today on this one. What is the best way to perform a depth first traversal of a tree data structure (in the view). Ex: maps of maps of ... OR lists of lists of lists of ... -Jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -

Re: Where's the best way to test session timeout?

2011-05-23 Thread Eric Lentz
> 1) Can we test it with a struts integration test? > 2) How can we mock the time span (ie, we obviously don't want to wait 5 > minutes for the test to finish...). Are you testing what happens when a session is no longer a session? Invalidate the session in your test: http://struts.apache.org/2.2

RE: Where's the best way to test session timeout?

2011-05-23 Thread Biesbrock, Kevin
1 ? Beez - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Where's the best way to test session timeout?

2011-05-23 Thread Miguel
Dear all, Today's question is on the borderline between Struts and general "good testing practises". I have an application requirement "users must re-login after 5 minutes of inactivity". Now, the way to do this is to add to the web.xml: 5 However, how does one test it? More specifically: 1

Re: Where does the stdout of Actions go?

2011-05-23 Thread Greg Lindholm
>From catalina,sh # CATALINA_OUT(Optional) Full path to a file where stdout and stderr # will be redirected. # Default is $CATALINA_BASE/logs/catalina.out On Mon, May 23, 2011 at 1:23 PM, Dave Newton wrote: > Why would you use S.o.p anyway? Why not jus

Re: Where does the stdout of Actions go?

2011-05-23 Thread Dave Newton
Why would you use S.o.p anyway? Why not just use the logging framework that's already there? Dave On Mon, May 23, 2011 at 10:09 AM, Pankaj Shrivastava wrote: > The catalina.out was getting the Struts messages through the logger. It was > just not getting the SOP. I blew away all the log files, r

Upgrading Struts 1.1 to Struts 2 with tiles

2011-05-23 Thread Sachin Lale
Hi, I want to upgrade my application to Struts 2.2.3 from struts 1.1. I want to migrate this on shared resource basis i.e. running both Struts1 and struts2 in parallel each handling different action extension (*.action and *.do). Though i could successfully created the Struts2 action class and

RE: Where does the stdout of Actions go?

2011-05-23 Thread Pankaj Shrivastava
The catalina.out was getting the Struts messages through the logger. It was just not getting the SOP. I blew away all the log files, rolled back my code a few versions where I knew it was working. The messages started appearing. Again rolled forward and now they appear. Don't know what was wrong in

Re: DoJo Plugin for struts 2.0.11

2011-05-23 Thread Maurizio Cucchiara
Who gives you this message? Eclipse? Tomcat? Could you provide some more details? On 20 May 2011 07:46, cuteshweta24 wrote: > I have added the jar in the specified folder, > still i m getting the message > "/WEB-INF/lib/struts2-dojo-plugin-2.2.3" > > please suggest > > -- > View this message in

Re: Where does the stdout of Actions go?

2011-05-23 Thread Maurizio Cucchiara
It should appear in catalina.out, I don't think T7 team made a such big changes. Ensure that the user which launch tomcat have the right access to the catalina.out. Another thing that it worth a try is to start tomcat in debug mode. Anyway it's not a S2 question, you'll probably be luckier on apac