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, it's
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,
[...]
This took me a while to debug so I'm posting in case anyone has
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 [EMAIL PROTECTED] wrote:
Why is it that putting this in the FilterDispatcher filter section
, 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 using Tiles1 and an S2
app
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
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
-default.xml, etc. files.
doktora
Ted Husted-4 wrote:
Put a stub struts.xml on the classpath that loads your working
configuration from another location. If the stub is under classes and
the one you want is under WEB-INF, try
struts
include file=..\struts.xml/
/struts
-HTH, Ted
7 matches
Mail list logo