Please take off your email list. Technologent
----- Original Message ----- From: "Jeff Schnitzer" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Thursday, January 31, 2002 8:01 AM Subject: RE: automatic invocation of servlet as the root-service > Create a default.jsp with either: > > <jsp:forward page="your/servlet/path"/> > > or > > <% response.sendRedirect("your/servlet/path"); %> > > depending on which fits your preference best. I find that the redirect > is a bit better for debugging because jsp:forward munges any errors. > > I never managed to configure Orion to use a servlet as the context root. > Nothing in the Servlet specification seems to require this be possible, > either. > > Jeff Schnitzer > [EMAIL PROTECTED] > > > -----Original Message----- > > From: Robert Virkus [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 31, 2002 12:27 PM > > To: Orion-Interest > > Cc: Orion-Interest > > Subject: Re: automatic invocation of servlet as the root-service > > > > Hello Igor & everyone out there, > > > > thanks for your help, > > I set the servlet-webdir to "" in the orion-web.xml and set the > > welcome file in the WEB-INF/web.xml to my desired servlet > > (<welcome-file-list> > > <welcome-file>com.scaraboo.servlet.Loadbalancer</welcome-file> > > </welcome-file-list>) > > but if I surf to the root (eg. http://127.0.0.1), I just get a "403 > > Forbidden > > Directory browsing not allowed"-Message. If I browse > > http://127.0.0.1/com.scaraboo.servlet.Loadbalancer instead, my servlet > > is invoked as expected... > > > > As you know I'd like to have my serlvet invoked each time I enter the > > root of the server (like in http://127.0.0.1). > > > > any further ideas? > > > > thanks a lot! > > - Robert > > > > > > > > > > Friday, February 01, 2002, 12:09:41 AM, you wrote: > > > > > > IC> Hello, Robert . > > > > IC> I sent to you the same message throw orion-interest e-mail(just > reply > > on your message), but I am not sure you received it or not. > > IC> Try next: > > > > IC> Go to \orion\application-deployments\YourApplication... directory > > created > > IC> > > YourSubApplication... > > IC> folder with > > IC> orion-web.xml > > where we > > IC> can init > > > > IC> <servlet-webdir="/NameWebDir/"> > > IC> Default is "/servlet/" > > IC> You also can use: <servlet-webdir=""> > > > > IC> I hope it's help. > > > > IC> Igor. > > > > IC>> Hello everybody! > > IC>> > > IC>> I hope someone can give me a hint for my problem: > > IC>> I want to try to use a servlet as the root of my web-application, > so > > I > > IC>> want the servlet/com.company.mystuff.MyServlet - servlet called, > > when > > IC>> I do not specify any file in my http-request. > > IC>> > > IC>> So I want to map my servlet to the root of the web-application; > if I > > IC>> call "www.mycompany.com" I want to get to my servlet, rather than > > IC>> receiving default.jsp or index.html (or a directory-browsing not > > IC>> allowed - message). > > IC>> > > IC>> Thanks in advance for your help!!! > > > > -- > > Robert Virkus > > scaraboo GmbH > > mobile Entertainment > > Georg-Wulf-Str.4-6 > > 28199 Bremen > > Germany > > phone +49 - (0)421 - 59 67 549 > > fax +49 - (0)421 - 59 67 567 > > mobile +49 - (0)171 - 35 31 635 > > [EMAIL PROTECTED] > > www.scaraboo.de > > wap.scaraboo.de > > > > ---------------------------- > > Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene > > Information nicht rechtsverbindlich. Eine rechtsverbindliche > Bestaetigung > > reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. > > Beachten > > Sie bitte, dass jede Form der unautorisierten Nutzung, > Veroeffentlichung, > > Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht > > gestattet > > ist. Diese Nachricht ist ausschliesslich fuer den bezeichneten > Adressaten > > oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene > Adressat > > dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit > dem > > Absender der E-Mail in Verbindung zu setzen. > > ---------------------------- > > For legal and security reasons the information provided in this e-mail > is > > not legally binding. Upon request we would be pleased to provide you > with > > a > > legally binding confirmation in written form. Any form of unauthorised > > use, > > publication, reproduction, copying or disclosure of the content of > this > > e-mail is not permitted. This message is exclusively for the person > > addressed or their representative. If you are not the intended > recipient > > of > > this message and its contents, please notify the sender immediately. > > > > >