Hear us Roar
Article:
 |
|
Deploying Web Applications to Tomcat
|
| Subject: |
|
Port 8080 vs Non specified |
| Date: |
|
2001-09-01 09:40:14 |
| From: |
|
timodell
|
|
|
|
This example works if I specify Port 8080 like so:
Open URL: http://localhost:8080/onjava/login.jsp
enter ID and Password and submit
observe: http://localhost:8080/onjava/servlet/com.onjava.login
However it I do like this with no port specified:
http://localhost/onjava/login.jsp
enter ID and Password and submit
observe: http://localhost/onjava/servlet/com.onjava.login
I get at 405 error.
The error in the jasper.log is:
2001-09-01 08:59:42 - JspEngine --> /login.jsp
2001-09-01 08:59:42 - ServletPath: /login.jsp
2001-09-01 08:59:42 - PathInfo: null
2001-09-01 08:59:42 - RealPath: C:\jakarta-tomcat-3.2.3\webapps\onjava\login.jsp
2001-09-01 08:59:42 - RequestURI: /onjava/login.jsp
2001-09-01 08:59:42 - QueryString: null
2001-09-01 08:59:42 - Request Params:
2001-09-01 08:59:42 - Classpath according to the Servlet Engine is: C:\jakarta-tomcat-3.2.3\webapps\onjava\WEB-INF\classes
Why is this?
|
|
| |