File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Spring MVC behaviour for Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Spring MVC behaviour for Struts" Watch "Spring MVC behaviour for Struts" New topic
Author

Spring MVC behaviour for Struts

Manuel Jordan
Ranch Hand

Joined: Sep 29, 2006
Posts: 131
hello guys, i have a big respect for Struts but...
i need your help here

spring mvc have the feature that in the WEB-INF have the folder "jsp"
with all jsp files inside of there and of course and it is already resolved by


ok, please, how i can do this with struts???
an example or link tutorial will great!

all the most tutorials and books, have the jsp folder outside of the WEB-INF
folder

thanks a lot for advanced


kill your pride, share your knowledge with all
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
If you specify:

<controller forwardPattern="/WEB-INF/jsp/$M$P" />

in your struts-config.xml file, Struts will append /WEB-INF/jsp/ to any path you specify in a forward.


Merrill
Consultant, Sima Solutions
Manuel Jordan
Ranch Hand

Joined: Sep 29, 2006
Posts: 131
Hello Merrill

thanks for the reply

in this topic i am lost,you know where i can find a simple example??? or tutorial

/$M$P"

well, what's mean??

sorry for my ignorance in this point

thanks for advanced
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Look under the heading "Controller configuration" in this link.
Manuel Jordan
Ranch Hand

Joined: Sep 29, 2006
Posts: 131
Hello Merrill

thanks for the reply and link,

i will read the documentation

thanks for your time again
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring MVC behaviour for Struts