Re: What can you do with S2?

2008-06-14 Thread Al Sutton
Is it a REST thing or a Jetty thing? My view would be that as Jetty is adding the jsessionid Jetty should also recognize it, strip it off, and not pass it to the underlying webapp because it's part of the webapp magic of session to request mapping. Al. Musachy Barroso wrote: I just hit the

Re: Looking for some more troubleshooting resources

2008-06-14 Thread Al Sutton
Can you post the HTML for your page. Ta, Al. Karr, David wrote: I'm starting to do some simple experiments with Struts2 (those who know me would wonder what took me so long :) ). I have one blocking problem, but I would more appreciate hints on how to diagnose particular kinds of problems, as

problem with configuration wiht annotations

2008-06-14 Thread Marco Mistroni
hi all, i have a struts application that i am trying to 'rewrite' using annotiations.. I am doing it little by little, so i still have a struts-config.xml file i have annotated the following two actions like this@ @Results({ @Result(name="success", value="/WEB-INF/freemarker/login.ftl", typ

Re: What can you do with S2?

2008-06-14 Thread Musachy Barroso
I haven't looked into it yet, but I don't like how it uses a colon (";jsessionid=xwy"), which might be valid, not sure. For the moment I am using glassfish, which starts really quick: https://maven-glassfish-plugin.dev.java.net/ musachy On 6/14/08, Al Sutton <[EMAIL PROTECTED]> wrote: > Is it a

Re: What can you do with S2?

2008-06-14 Thread Frank W. Zammetti
Musachy Barroso wrote: I haven't looked into it yet, but I don't like how it uses a colon (";jsessionid=xwy"), which might be valid, not sure. For the moment I am using glassfish, which starts really quick: https://maven-glassfish-plugin.dev.java.net/ musachy I don't think use of a semicolon

Re: DatePicker Button not generated

2008-06-14 Thread Dave Newton
Do you have Dojo debugging turned on in your tag? Are there any error messages shown? Is your S2 filter mapped so that S2 can serve its copy of Dojo? Dave --- On Sat, 6/14/08, StrutsUser <[EMAIL PROTECTED]> wrote: > From: StrutsUser <[EMAIL PROTECTED]> > Subject: DatePicker Button not generat

Re: What can you do with S2?

2008-06-14 Thread Dave Newton
Not sure about WAS, but don't (at least) Tomcat and Resin do that (a) before it knows if cookies are enabled, and (b) if cookies aren't enabled? I agree, though, I don't think it's that unusual. --- On Sat, 6/14/08, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > From: Frank W. Zammetti <[EMAIL

Re: Response already committed when using ActionTag

2008-06-14 Thread Jeromy Evans
[EMAIL PROTECTED] wrote: Hi Jeromy, thanks for the respose. The response is already committed in the action class (before the Result is executed). In the execute() method, the result of 'response.isCommitted()' is true. So I think the response is committed even before getting to the Result. A

Re: Response already committed when using ActionTag

2008-06-14 Thread Dave Newton
My impression was that ActionComponent executed the action via an action proxy (although I'm looking at trunk). But the tag is in a JSP page that will have already been writing, at which point I don't think you'd be able to modify the headers (I've never used response.reset, I don't know if th

[S2] using for a sequence of integers

2008-06-14 Thread Pierre Thibaudeau
Is there a simple syntax with or for displaying a sequence of integers from 0 to N-1 ? (The value of N is not known at compile time.) At the moment, the only way I can think of doing this is not very appealing: Within the action, create an ArrayList and populate it with the sequence of integers.

Re: [S2] using for a sequence of integers

2008-06-14 Thread Dave Newton
I usually just use which has clean support for for/next type iteration. doesn't currently implement similar usage, AFAIK. Dave --- On Sat, 6/14/08, Pierre Thibaudeau <[EMAIL PROTECTED]> wrote: > From: Pierre Thibaudeau <[EMAIL PROTECTED]> > Subject: [S2] using for a sequence of integers > To

Re: [S2] using for a sequence of integers

2008-06-14 Thread Pierre Thibaudeau
Good point. Thank you! 2008/6/14 Dave Newton <[EMAIL PROTECTED]>: > I usually just use which has clean support for for/next type > iteration. doesn't currently implement similar usage, AFAIK. >

How can i user Swing as "V" in the Struts MVC

2008-06-14 Thread ¯`·.k ! k !.·´¯
Hi .. i m going to build a struts based application but i dont want to use JSP's  instead of JSP's i want to use Swing GUI .. how can i communicate Swing GUI with struts app and how i will get the response back .. e.g. search results waiting for reply

Re: What can you do with S2?

2008-06-14 Thread Wendy Smoak
On Sat, Jun 14, 2008 at 3:48 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > Not sure about WAS, but don't (at least) Tomcat and Resin do that (a) before > it knows if cookies are enabled, and (b) if cookies aren't enabled? It's part of the Servlet spec. Tracking by cookies is required. If the cl