aspose file tools*
The moose likes Tomcat and the fly likes HTTP 404 for JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "HTTP 404 for JSP" Watch "HTTP 404 for JSP" New topic
Author

HTTP 404 for JSP

Russell Bateman
Ranch Hand

Joined: Feb 26, 2008
Posts: 69
I have Tomcat 6.0 up and running from Eclipse 3.3.1, but can't seem to get the first page seen from Firefox as shown here:



I'm only trying to get Tomcat and Eclipse integrated, which I've succeeded in doing, I think: the Tomcat server I've created starts fine from Eclipse, but it just doesn't find my JSP page. Everything else looks fine (JRE 6, etc.). I'm using Eclipse 3.3.1 and the tutorial I'm following to learn how to do this uses 3.1, but still, it's all pretty close

Tutorial (one page, near bottom):

http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html

I've rattled around on this several days now without success digging all over the web as well as through my numerous books on servlet/JSP programming and 2 books on Eclipse. If I do the deployment by hand (i.e.: outside of Eclipse), it works, but the point for this neophyte is to graduate to full Eclipse usage like a real developer. Does anyone see my stupidity here? I appreciate any and all answers because at this point, I'm desperate.

Thanks

[ March 01, 2008: Message edited by: Russell Bateman ]

[ March 01, 2008: Message edited by: Russell Bateman ]
[ March 01, 2008: Message edited by: Russell Bateman ]
Russell Bateman
Ranch Hand

Joined: Feb 26, 2008
Posts: 69
So, I wonder if I've missed the boat somewhere. Maybe I'm not supposed to launch Firefox separately from Eclipse and expect to find this JSP. I mean, clearly, no deployment has occurred which I can see from inspecting /home/russ/tomcat/webapps where I installed it and to which I configured Eclipse.

Is there an internal browser to Eclipse that I'm unaware of and that's where I'm supposed to type in http://localhost:8080/tutorial/snoop? The deployment is down inside Eclipse itself (the .metadata directory maybe) and the configured Tomcat server will only pick it up from there? I mean I thought there was going to be a lot of hocus pocus if this all worked from an external browser, but I'm so new to Eclipse that it strikes me as performing magic tricks underneath everything I do.

Take pity on me: my IQ is probably about the same as my age in years on this learning exercise.
Russell Bateman
Ranch Hand

Joined: Feb 26, 2008
Posts: 69
And, in case anyone was wondering (doesn't look like it), I did use Add and Remove Projects to associate WTP-Tutorial-I with the (Tomcat) server.
Russell Bateman
Ranch Hand

Joined: Feb 26, 2008
Posts: 69
So, I now know what the problem is and I'll be posting a tutorial of my own once I finish it. The tutorial will cover the very problem I was having in addition to all that I was using the other tutorial to learn.
Russell Bateman
Ranch Hand

Joined: Feb 26, 2008
Posts: 69
I haven't finished the tutorial yet, but it's got a decided form and will be finished in the next week or two and I'll forget to come back and give the link here (not that anyone will read this thread, but out of dedication to completeness...):

http://www.windofkeltia.com/j2ee/wtp-tutorial.html

Hope this helps someone else.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP 404 for JSP