• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTTP 404 for JSP

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic