Web tier: servlets, JSP, Web frameworks: why my jsp in struts except initial.jsp can't display direct?
in my testing,i use the struts to builder my project.
- Posted by: ke ding
- Posted on: September 20 2004 11:42 EDT
now,this project has been nearly accomplish.
but,i find i can't go into any jsp except the initial.jsp direct.
i think ,maybe in this project,the user is permitted to go into this project in the only door.
but,now,i must log on one of other jsp.
i need to your help.thanks for giving me advices.^_^
Best practice within Struts is that you shoudl never access a JSP directly but always get there via a proxy Forward Action. However, that aside, it sounds like you've stored your .jsp files under /WEB-INF/ which in most containers will prevent direct running of the .JSP