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 sm

Re: Unauthorized users get 403

2005-07-02 Thread Hardik Tank
you can configure web.xml file with following entry, 403 /errorPage403.jsp 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 parameter in login.jsp page Rgds, Hardik --- David Newma

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 ag

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: MyServlet com.company.app.MyServlet MyServlet /myServlet /myServlet Also, I'm not as sure, put I think just mapping the servlet to / will do the trick as well. Both are easy enough to test though, giv

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, index.jsp now, create index.jsp file which will simply forward the request to your servlet! Rgds, Hardik --- s s <[EMAIL PROTECTED]> wrote: > i want to invoke a servlet using url like > http

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 h

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 cli