• 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

Stripes 1.5 with eclipse 3.5 +tomcat 6

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic