Make sure your DocumentRoot is NOT pointing to the webapps folder of Tomcat. Set it to any other place you like, but not there ;-)
DocRoot is point to apache2/htdocs


From: Antonio Fiol Bonnín <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: 404 Error in examples - found part
Date: Thu, 12 Feb 2004 07:35:25 +0100

Didier McGillis wrote:

Yes Tomcat wouldnt start properly due to port 8005 was already in use and the new Tomcat couldnt bind to it. Now I have gotten to a point where I'm unsure of how I fixed this yesterday.

Stand alone version of Tomcat is fine, JSP code works fine. Go through Apache and it renders the HTML properly but doesnt seem to understanding whats happening on the page.

http://ns.serverwerkz.com/examples/jsp/num/numguess.jsp

Congratulations! You got it. And after just tries.
Care to try again? Welcome to the Number Guess game.

I'm thinking of a number between 1 and 100.

What's your guess?
Good guess, but nope. Try . You have made guesses.

I'm thinking of a number between 1 and 100.

What's your guess?

again this only happens if I access through apache.


As I see you have everything in the same box...

Make sure your DocumentRoot is NOT pointing to the webapps folder of Tomcat. Set it to any other place you like, but not there ;-)

It seems that Apache is not asking Tomcat but is serving the content itself.


Yours,



Antonio Fiol << smime.p7s >>

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca



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



Reply via email to