I have a tiles definition (tiles-defs.xml),
and a global forward (struts-config.xml),
When the forward is triggered with this,
the browser requests host//page.main. This gives a
Tomcat "resource unavailable screen". HTML links don't seem to work
either. When I try somet
Have you tried main.page instead of page.main?
I don't know if this is the reason, but I have main.page and not other
way around.
Shervin
Scott Van Wart wrote:
I have a tiles definition (tiles-defs.xml),
and a global forward (struts-config.xml),
When the forward is triggered
Have you tried main.page instead of page.main?
I don't know if this is the reason, but I have main.page and not other
way around.
Shervin
Scott Van Wart wrote:
I have a tiles definition (tiles-defs.xml),
and a global forward (struts-config.xml),
When the forward is triggered
Scott Van Wart ha scritto:
http://struts.apache.org/struts-action/struts-taglib/tlddoc/logic/forward.html
*Note*: forwarding to Tiles definitions is not supported from this tag.
You should forward to them from an Action subclass.
Main Page
http://struts.apache.org/struts-action/struts-
How about forwarding to an action path using ForwardAction redirect to your
tiles page?
I just shoot in the dark.
OK I went with the following workaround. I create a form bean to handle
the name of the "global" forward:
public class ForwardForm extends ActionForm {
private String name;
public ForwardForm() { }
public String getName() { return this.name; }
public void setName( String name ) { this.name
not sure if this is what you want but this one should work:
global forward is defined as, fot example:
the ".authorizationError" is defined as a Tile:
in your action class, you can do this:
return mapping.findForward("authorizationError");
7 matches
Mail list logo