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

Stripes 1.5 with eclipse 3.5 +tomcat 6

 
Rashid Ahmed
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,
i am having a problem getting the "Quick Start Guide" application from stripes to work
http://www.stripesframework.org/display/stripes/Quick+Start+Guide

i replaced the web.xml file with theirs...and also put StripesResources.properties in WEB-INF/classes as they said

i imported all the libs
but still when i start index.jsp (run as---> run on server) in the integrated tomcat (added in eclipse under servers)
i get


so where am i going wrong? is there a way to debug server or app to see what is missing exactly?
i appreciate any help on this
here is a screenshot of my project structure.

 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
index.jsp is inside of WEB-INF, so it can't be accessed directly. Note that the page talks about keeping the index.jsp page in a "quickstart" directory, and then accessing http://localhost:8080/stripes/quickstart/index.jsp
 
Rashid Ahmed
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:index.jsp is inside of WEB-INF, so it can't be accessed directly. Note that the page talks about keeping the index.jsp page in a "quickstart" directory, and then accessing http://localhost:8080/stripes/quickstart/index.jsp


thanks for the very quick response
this is the direct link to my jsp http://localhost:8080/StripesQuickStart/index.jsp
so it is not in WEB-INF
, so i need to manually create the quickstart folder in tomcat? and copy relevant files into it? including lib etc?
and there is no way i can test directly from eclipse? and if i do i need to make project name "quickstart"? or do any changes in configs

 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so i need to manually create the quickstart folder in tomcat? and copy relevant files into it? including lib etc? and there is no way i can test directly from eclipse?

I'm not familiar with the web app support built into Eclipse. I do know, however, that it works somewhat differently from how a real Tomcat container would work. So, to the extent that your project differs from what the tutorial talks about, yes, you'll have to make some changes.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic