Re: Action with session and jsp without session doesn't work

2008-02-23 Thread doktora v
n the page context otherwise. And I guess that answers the question. On Sat, Feb 23, 2008 at 4:33 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- doktora v <[EMAIL PROTECTED]> wrote: > > [...] my jsp contains a <%@ page session="false" %> directive, > > [...

Action with session and jsp without session doesn't work

2008-02-23 Thread doktora v
I've just discovered that if in struts-config.xml my action specifies request="session" (or does not specify a request in which case the default is session), and my jsp contains a <%@ page session="false" %> directive, the JSP does not see any of the form beans. There is no warning and no messages,

Zero-config and annotations

2007-03-28 Thread doktora
Zero-config will be quite some fun if we had some more annotations. Are there any plans on adding Interceptor and onther annotations? All we have now is org.apache.struts2.config.Result. -- doktora -- View this message in context: http://www.nabble.com/Zero-config-and-annotations-tf3481752

Re: Struts2 and Struts1 comingling w/ Tiles

2007-03-28 Thread doktora
compatibility, migrating from S1->S2 will be a nightmare, if Tiles are involved. I also suspect that calling S2 actions from S1 would have to be hard-wired with , as opposed to using html:link. Is that so? doktora Ray Clough wrote: > > It definitely IS possible to comingle a S1 app

Re: struts.xml - change default location

2007-03-28 Thread doktora
ut the struts.xml under the classes > folder. The "boostrap" struts.xml can then load whatever other > struts.xml's you would like using the include element. > > HTH, Ted > <http://www.husted.com/ted/blog/> > > > On 3/27/07, doktora <[

Re: struts.xml - change default location

2007-03-27 Thread doktora
Why is it that putting this in the FilterDispatcher section in web.xml breaks Sturts2: config /WEB-INF/struts.xml It looks to me as if this makes S2 confused about the whereabouts of its other struts-default.xml, etc. files. doktora Ted Husted-4 wrote: > > Put

Struts2 and Struts1 comingling w/ Tiles

2007-03-27 Thread doktora
I just wanted to inform anyone out there that may be thinking of migrating to Struts2 in a gradual way -- by having both S1 and S2 in the same war -- do not try this at home, if you are using Tiles. It is a futile excercise which cost me 24 man-hours. The best approach would be to do a complete