Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts installation

 
meena latha
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I am trying to install struts.I used this website
http://javaboutique.internet.com/tutorials/three/index-7.html
to create struts application.I have installed Eclipse 3.1 and added Tomat-plugin.When i typed http://localhost:8080/StrutsProject in my browser.
I am getting the below error



But my tomcat is working fine.
Then i created a very basic TomcatProject without any struts.
But again i got the same error window.
Not sure what should i check to solve this.
Any help regarding this will be appreciated.

Thanks in advance
Ramya
[ December 26, 2005: Message edited by: ramya jai ]
 
Dani Atrei
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

It might be that Tomcat doesn t know where to look. Did you put your project next to the other Tomcat examples? Tomcat will look into that directory and if you put your project there with jsp pages, at least something should show.

If you want your project to be somewhere else, you need to modify some files. Which i can't remember. server.xml? and add a context there. Like so:



This is in: /Apache Software Foundation/Tomcat 5.5/conf


Hope it helps,

Dan

[ December 27, 2005: Message edited by: Dani Atrei ]
[ December 27, 2005: Message edited by: Dani Atrei ]
 
meena latha
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks the problem got solved.My web.xml was missing one closing tag.
Thanks a lot
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic