• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring MVC behaviour for Struts

 
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Merrill

thanks for the reply and link,

i will read the documentation

thanks for your time again
 
reply
    Bookmark Topic Watch Topic
  • New Topic