tags:

views:

195

answers:

0

Hi, I have a newbie question on Tomcat / Struts.

I'm trying to set up a dev version of a site (that's working on the Unix server) on my local machine (Mac).

It looks like it can't find anything that is outside of a root server:

  • A JSP page without references to other JSP pages loads, but without images/CSS (in the '/images/' folder)
  • A JSP page that has references to another JSP page doesn't load, saying it can't find bean anywhere in scope.

Here is a sample from struts-config.xml:

     <action path="/index"
   type="..SomeAction">
   <set-property property="secure" value="false"/>
   <forward name="forward" path="/jsp/index.jsp"/>

When I go to index.jsp, it says can't find it in scope. I have a feeling it's so simple, I just have to change the root somewhere.. Any help? Thank you!!!