I am running a J2EE application on JBOSS container.
I have configured JAAS authentication and it is successfull.
But in the login.htm page if I place a tag to place a logo. It is not displaying.
The URL for the image
But after Logged in I can access the url and displaying the picture.
I realised it is not displaying any subfolder contents until I logged in. But I need to place a image in the login page
<form action="j_security_check" method=post>
Why this images/company_logo.jpg is not displaying even it is there in the MyApp.ear package.
Please help on this
I found the error and I had setup <security-constraint> for all pages as <url-pattern>/*</url-pattern>.
So I have corrected the problem.