aspose file tools*
The moose likes Other Application Frameworks and the fly likes Stripes 1.5 with eclipse 3.5 +tomcat 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Stripes 1.5 with eclipse 3.5 +tomcat 6" Watch "Stripes 1.5 with eclipse 3.5 +tomcat 6" New topic
Author

Stripes 1.5 with eclipse 3.5 +tomcat 6

Rashid Ahmed
Greenhorn

Joined: Jul 25, 2009
Posts: 2
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
Marshal

Joined: Mar 22, 2005
Posts: 42929
    
  68
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

Joined: Jul 25, 2009
Posts: 2
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
Marshal

Joined: Mar 22, 2005
Posts: 42929
    
  68
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stripes 1.5 with eclipse 3.5 +tomcat 6