File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes <security-constraint> in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "<security-constraint> in web.xml" Watch "<security-constraint> in web.xml" New topic
Author

<security-constraint> in web.xml

Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315
Hello,

I have given the following configuration in web.xml



Now, if I want to access a jsp using the url /jsp/common/login.jsp, it gives me an authentication box which is a correct behaviour. Please correct me, if I am wrong.

If I want to access the jsp what credentails should be used in the authentication box for accessing the jsp.

Thanks,
Neeraj.
Chinna Eranna
Ranch Hand

Joined: Dec 08, 2009
Posts: 174

http://www.jguru.com/faq/view.jsp?EID=239670


- Chinna
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: <security-constraint> in web.xml
 
Similar Threads
Question on multiple security-constraint elements
Unable to get authentication and authorization working.
Blocking jsp
Login Session Time out
auth constraint