• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

JSP page HTTP 404 not found under Redhat 7.2

kmthien

Senior member
Hi,

I have installed jakarta-tomcat-4.1.18.tar.gz in /usr/local/tomcat4.1.18. I m using Redhat Linux 7.2 and I m able to
access Tomcat website at http://127.0.0.1:8080. I have put a new directory (registeruser) under
/usr/local/tomcat4.1.18/webapps/ . I restarted tomcat by calling /usr/local/tomcat4.1.18/bin/shutdown.sh and
the /usr/local/tomcat4.1.18/bin/startup.sh. An error message HTTP 404 not found display on the browser when
I entered http://127.0.0.1:8080/registeruser/index.jsp in Netscape and Mozilla.

I m able to view the c:\tomcat4.1.18\webapps\registeruser\index.jsp page properly in Win2K (which I have
installed tomcat 4.1.18 also !) by entering http://127.0.0.1:8080/registeruser/index.jsp in IE6. It's working fine
under Win2K. I have tried to restart Redhat but the result still the same.

Pls help....
 
Don't you need to deploy the registeruser webapp? At the very least, writing a short deployment descriptor is required.

If you just want a directory under the virtual root, but without a separate webapp, then you have to put registeruser/ underneath the default or "root" webapp directory. I don't use Tomcat so I don't know where that is, but it's probably off the webapps/ directory.

This is assuming "exploded" webapp directories. Web applications can also be deployed in self-contained JARs.

RTFM. You seem to be asking this same question every other week.

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/index.html
 
Hi,

Sorry for asking this question again bcoz I still can't solve this problem ! Actually I m trying out strut by getting the example from struts. Pls help !

 
Back
Top