Re: Certificate Authentication for individual apps

2005-07-02 Thread Mahesh S Kudva
Dear All My developer give me a .war file which I place it as jboss/server/default/deploy/test.war Thus I have around 5 .war placed in the server. All the apps are presently accessed using https://myorg.com:8080/test1/, https://myorg.com:8080/test2/ ... and so on. Next I want to implement

servlet mapping and url

2005-07-02 Thread s s
i want to invoke a servlet using url like http://localhost:8080 only i have done it using http://localhost:8080/index.html where index.html is a servlet. Is it possible to load this servlet as a default just like a default web page. The point is i want a servlet to recieve a request when url

Re: servlet mapping and url

2005-07-02 Thread Hardik Tank
you can configure your web.xml file and make index.jsp file as an welcome file using, welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list now, create index.jsp file which will simply forward the request to your servlet! Rgds, Hardik --- s s [EMAIL PROTECTED]

Re: servlet mapping and url

2005-07-02 Thread Frank W. Zammetti
Hi, I don't think there is any restriction to mapping a servlet to a welcome page: servlet servlet-nameMyServlet/servlet-name servlet-classcom.company.app.MyServlet/servlet-class /servlet servlet-mapping servlet-nameMyServlet/servlet-name url-pattern/myServlet/url-pattern /servlet-mapping

Unauthorized users get 403

2005-07-02 Thread David Newman
I have setup an application in tomcat 5.5.9 with FORM based authentication. Everything works, however, I've noticed that if a user successfully authenticates, but is not authorized by being in the specified role, they get the 403 not authorized page. I would prefer they just get the login page

Re: Unauthorized users get 403

2005-07-02 Thread Hardik Tank
you can configure web.xml file with following entry, error-page error-code403/error-code location/errorPage403.jsp/location /error-page you can show proper error message in errorPage403.jsp page or if u want to show login page then put 'login.jsp?error=403' as location and handle the passed

Embedded example

2005-07-02 Thread Steffen Heil
Hi Can someone tell me where to find an example with tomcat 5.5 embedded? It seems there is nothing... Or even better: Is there a way to use the http(s) connector without tomcat? I want to direct ALL requests to ONE pure servlet and there do not need most parts of tomcat. Regards, Steffen