Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Struts - forward to tiles from Action

Reply
Thread Tools

Struts - forward to tiles from Action

 
 
Gray
Guest
Posts: n/a
 
      09-27-2005
Hi
Usually I forward to tiles from action with declaration <forward> in
struts-config.xml. Then I call: mapping.findForward("forwardName"). But
I would like to forward by tiles definition name directly from action
code. Code like this:

<CODE>
public ActionForward execute(...params...) throws IOException,
ServletException {

[...]
return new ActionForward("tiles.definition.name")
}
</CODE>

does not working. In tiles-defs.xml I have:

<definition name="tiles.definition.name" ...

How can I do this?

Thanks
Gray
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
struts tiles problem retrieving action called Thomas Lutz Java 3 02-29-2012 06:58 PM
Struts 2 getRequestDispatcher forward to *.action Q1tum Java 3 11-24-2009 04:38 PM
Help:Action forward to jsp directly in struts avrootshell Java 3 10-19-2006 09:32 PM
Struts Forward to an Action from an to Action and URLs rjweytens Java 6 06-25-2004 01:49 PM
Struts / tiles ignore tag in tiles:insert not working Rich M Java 0 03-05-2004 06:54 PM



Advertisments