Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring MVC behaviour for Struts

 
Manuel Jordan
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Manuel Jordan
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look under the heading "Controller configuration" in this link.
 
Manuel Jordan
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Merrill

thanks for the reply and link,

i will read the documentation

thanks for your time again
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic