Vulloff hatread wrote:I am reading head first jsp 2nd edition. I am using tomcat 5.5 and java 1.6.
The requested resource (/Beer-v1/form.html) is not available
on a related note, how do i shut down and start tomcat 5.5?
I am using tomcat 5.5.27 instead of tomcat 6.
How do I preserve whitespace in theses posts?
Bear Bibeault wrote:If Beer-v1 contains a WEB-INF folder, then it is not correct to put it in the ROOT folder, and the webapps folder is correct.
Bauke Scholtz wrote:By the way, do you actually read the book? I don't have the book right now, but I can't believe that it is explained that bad way.
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
a. created a directory called Beer-v1 which contains
Bear Bibeault wrote:
a. created a directory called Beer-v1 which contains
Sigh. This should be created in the webapps folder. Not ROOT. Not anywhere else. It's really not that hard.
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
Why not? have you deleted them? Why?Vulloff hatread wrote:Tomcat 5.5.27 does not have start/shutdown scripts in the bin directory.
I went to the tomcat manager, saw the /Beer-v1 application was already off and clicked start. After clicking start I see "FAIL - Application at context path /Beer-v1 could not be started". I still clicked on the links you asked me to:
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
Krzychu Montana wrote:If you're using Firefox the name of your directory cant contain a dash.
Again, post once.Krzychu Montana wrote: just spreading the solution
I suggest refraining from posting when angry.Also you gotta admit that looking for such a stupid bug for half a day can make you angry.
Your conclusion that IE was used is unfounded.using the IE by die-hard unix users seems suspicious to me
Sarith Khlot wrote:Guys, I read from the top to the bottom, and tried everything as you said, BUT IT STILL NOT WORK! what to do next?
:d
[30] the first line of web.xml;
the first line of the web.xml file should be:
<?xml version="1.0" encoding="ISO-8859-1"?>
[30] Step 3 - within the xml code for the DD;
the third and fourth lines of xml read:
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
web-app_2_4.xsd"
This should be combined into one line, and a forward slash
should be inserted between the "j2ee" and the "web-app_2_4.xsd":
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
Catch Ernie! Catch the egg! And catch this tiny ad too:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|