in my testing,i use the struts to builder my project.
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.^_^
Discussions
Web tier: servlets, JSP, Web frameworks: why my jsp in struts except initial.jsp can't display direct?
-
why my jsp in struts except initial.jsp can't display direct? (1 messages)
- Posted by: ke ding
- Posted on: September 20 2004 11:42 EDT
Threaded Messages (1)
- Is this such a bad thing? by Duncan Mills on September 27 2004 08:15 EDT
-
Is this such a bad thing?[ Go to top ]
- Posted by: Duncan Mills
- Posted on: September 27 2004 08:15 EDT
- in response to ke ding
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