Re: How to keep users from accessing to *.jsp strightforword?

2007-07-14 Thread Rene Gielen
Yes. I use this for years now , works perfect M.Liang Liu schrieb: > Sounds good. > My friend said that spring mvc prefer this style. > > How can I deal with the *result* mapping then ? > > thanks. > > Rene Gielen wrote: >> You can place your jsps in the WEB-INF directory. They will be >> acces

Re: How to keep users from accessing to *.jsp strightforword?

2007-07-14 Thread M.Liang Liu
Sounds good. My friend said that spring mvc prefer this style. How can I deal with the *result* mapping then ? thanks. Rene Gielen wrote: > > You can place your jsps in the WEB-INF directory. They will be > accessible for the Struts request dispatcher then, but not by direct > user call. > >

Re: How to keep users from accessing to *.jsp strightforword?

2007-07-14 Thread Rene Gielen
You can place your jsps in the WEB-INF directory. They will be accessible for the Struts request dispatcher then, but not by direct user call. M.Liang Liu schrieb: > I just would like to block users to get to the login.jsp through the > url:http://somedomain.com/login.jsp. > Instead,users can logi

Re: How to keep users from accessing to *.jsp strightforword?

2007-07-13 Thread M.Liang Liu
to Neil, Thanks for ur help,I noticed that with the help of ,I can redirect the *.jsp to the index.html. By the way,when I tryed to redirect to a url like /login.action,it does NOT work. However,this can meet my need all the way. Any comment? thx. On 7/14/07, Neil Aggarwal <[EMAIL PROTECTED]> wr

RE: How to keep users from accessing to *.jsp strightforword?

2007-07-13 Thread Neil Aggarwal
M.Liang: Add this to your web.xml: no_access *.jsp Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com FREE! Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. -Original Message- From: M.Liang L