Title: RE: what is this number -2147483646
Hello,
 
This may be more of a JSP or Servlet question, but I am sure someone in this group would know the answer
 
I have an Web application /Myapp and I have a bunch of jsps in an admin directory. I am going to distribute this
in a generic war file.
 
So to access my admin index I would do something like http://host/Appname/admin/admin.jsp
 
The problem is I do not know what the end user is going to call the application(Appname). So How do I get the Document root.
 
I can do a path = <%= request.getRequestURI()  %> and do some substring stuff.
<%= application.getRealPath("") %> doesn't give me what I need.  I was hoping for an application.getPath("")
 
Thanks for any Suggestions..
 
Randy
-----Original Message-----
From: Raphael Lemaitre [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 10:57 AM
To: '[EMAIL PROTECTED]'
Subject: RE: what is this number -2147483646

-2147483646 is Integer.MIN_VALUE
With this value, this servlet is loaded first (the less load-on-startup value is, earlier the servlet is loaded)


Raphael Lemaitre

> HI
>   What is the meaning of the foll. code in web.xml file for startup
> servlets.
>
>  <load-on-startup>
>             -2147483646
>  </load-on-startup>
>
>
> can any one know ..
>
> Rgds
> venkatesh
>

Reply via email to