Re: BASIC Authentication : Not working

2010-03-28 Thread Konstantin Kolinko
2010/3/28 Binu Kuttikkattu Idicula : > It is in corejspbean.war and after trying out > /StringBean.jsp, the access is restricted only to > the StringBean.jsp which was the real need. Thanks. > > A little curious about URL pattern if it is in webapps/corejspbean.. Does > the pattern change? Is there

Re: BASIC Authentication : Not working

2010-03-28 Thread Binu Kuttikkattu Idicula
It is in corejspbean.war and after trying out /StringBean.jsp, the access is restricted only to the StringBean.jsp which was the real need. Thanks. A little curious about URL pattern if it is in webapps/corejspbean.. Does the pattern change? Is there any rule/documentation mentioing this? On Sun,

Re: BASIC Authentication : Not working

2010-03-28 Thread Konstantin Kolinko
2010/3/28 Binu Kuttikkattu Idicula : > The exact URL which I access is > http://localhost:8080/corejspbean/StringBean.jsp . How do I define a > URLPattern for this? /StringBean.jsp I suppose that your application is "corejspbean.war" or is in webapps/corejspbean -

Re: BASIC Authentication : Not working

2010-03-28 Thread Binu Kuttikkattu Idicula
/* Hi Harry, When I replaced url to /* it is asking for a user name password. The exact URL which I access is http://localhost:8080/corejspbean/StringBean.jsp . How do I define a URLPattern for this? Thank you for your quick help. Binu K Idicula On Sun, Mar 28, 2010 at 5:56 PM, Harry Metske

Re: BASIC Authentication : Not working

2010-03-28 Thread Harry Metske
I would think your url-pattern is not valid : /*corejspbean*/StringBean.jsp I don't know the exact rules for the pattern, but could you try first with /* and see if that works, and then tweak the url-pattern further to your needs ? regards, Harry 2010/3/28 Binu Kuttikkattu Idicula > > Hi, > >

Re: BASIC Authentication : Not working

2010-03-28 Thread Binu Kuttikkattu Idicula
> Hi, >I was trying a very basic example of authentication using HTTP Basic > Authentication. However this seems not working in TOMCAT 6.0.20 for my > application. Here is the web.xml which tells about login > > > > > application > > > > > > > > > > JSP > > /*corejspbean*/StringBean.jsp >