| Author |
Tomcat Admin login issue
|
Mike Jenkins
Ranch Hand
Joined: Jul 23, 2006
Posts: 57
|
|
For my Tomcat 4.1.27 Java container (on Windows server) I have to use the startup.bat and shutdown.bat to start and stop the Web Server. I tried using the http://myserver:8080/admin/login.jsp with the correct username and password that I got from conf/tomcat-users.xml. It gives me back a reply: Access to requested resource has been denied The form looks like this: I tried to find j_security_check and there doesnt seem to be any reference to it anywhere in the Tomat folder. Please advise how I can correct this issue so I can use the Tomcat Admin GUI. [ July 16, 2007: Message edited by: Mike Jenkins ]
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12907
|
|
"j_security_check" is a special value that Tomcat (and any other servlet container) recognises. Why are you putting this in a "response.encodeURL(...)" call? Just try it without that: <form method="post" action="j_security_check" name="loginForm">
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
 |
|
|
subject: Tomcat Admin login issue
|
|
|