Re: Where is default logon.jsp for Tomcat Admin webapp?

2005-07-17 Thread Mark Thomas

CATALINA_BASE\server\webapps\admin\login.jsp

ohaya wrote:

Hi,

When connecting to the Tomcat Admin webapp, a forms-based login page
appears.  The web.xml for admin has a login-config section that
indicates that the login page is /login.jsp.

However, I've looked all over my hard drive, and especially in the
admin directory, and I can't find any such file.  


If I change the login-config section to /jimlogin.jsp, Tomcat seems to
look for jimlogin.jsp in the admin directory, but does anyone know
where the default login.jsp is located?

Thanks,
Jim

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Where is default logon.jsp for Tomcat Admin webapp?

2005-07-17 Thread ohaya
Mark,

As I indicated in my original msg, on my installation of Tomcat
(5.0.27), there is no login.jsp file in that location, or anywhere else
on my hard drive.  And yet, if I leave the login-config section of
web.xml to the default, which is login.jsp, everything STILL seems to
work.  I've checked for hidden files, etc., but login.jsp just isn't
there.  That is why I'm asking my question...  

Jim


Mark Thomas wrote:
 
 CATALINA_BASE\server\webapps\admin\login.jsp
 
 ohaya wrote:
  Hi,
 
  When connecting to the Tomcat Admin webapp, a forms-based login page
  appears.  The web.xml for admin has a login-config section that
  indicates that the login page is /login.jsp.
 
  However, I've looked all over my hard drive, and especially in the
  admin directory, and I can't find any such file.
 
  If I change the login-config section to /jimlogin.jsp, Tomcat seems to
  look for jimlogin.jsp in the admin directory, but does anyone know
  where the default login.jsp is located?
 
  Thanks,
  Jim
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Where is default logon.jsp for Tomcat Admin webapp?

2005-07-17 Thread Caldarale, Charles R
 From: ohaya [mailto:[EMAIL PROTECTED] 
 Subject: Re: Where is default logon.jsp for Tomcat Admin webapp?
 
 As I indicated in my original msg, on my installation of Tomcat
 (5.0.27), there is no login.jsp file in that location, or 
 anywhere else on my hard drive.

For the admin app, jsps are pre-compiled.  The class of interest is
inside catalina-admin.jar, called login_jsp.class.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Where is default logon.jsp for Tomcat Admin webapp?

2005-07-17 Thread ohaya


Caldarale, Charles R wrote:
 
  From: ohaya [mailto:[EMAIL PROTECTED]
  Subject: Re: Where is default logon.jsp for Tomcat Admin webapp?
 
  As I indicated in my original msg, on my installation of Tomcat
  (5.0.27), there is no login.jsp file in that location, or
  anywhere else on my hard drive.
 
 For the admin app, jsps are pre-compiled.  The class of interest is
 inside catalina-admin.jar, called login_jsp.class.


Charles,

AHHH!  Mystery solved :)!

Ok, that explains things...

I've been able to enable my own replacement login page for admin (just
for testing) by changing the name in login-config to say jimlogin.jsp
and making my own jimlogin.jsp, and that works.

If I don't want to use a different name for the login page (i.e., I
still want to use login.jsp as the login page for admin, but use my
own page, can I just put my own login.jsp in the admin directory and
will my login.jsp then override the pre-compiled CLASS file?

Thanks again!

Jim

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]