Tomcat expects applications to be inside of the webapps directory. The base path for your app would be:
$TOMCAT_HOME/webapps/myapp/


For simplicity, let's call this $APP_HOME

Within that directory, you'd reference pages as relative to your context (like /somePage.jsp) in your struts-config file. If you start adding directories, you've got to add them where you specify the path to the real page. For example, if you have a directory named jsp under $APP_HOME, and this directory contains all your JSPs, then you would refer to their location by the path /jsp/somePage.jsp.

You should really examine the struts-example.war webapp ... I believe I mad that suggestion earlier. Also, there are several good links on the Resources page of the Struts site. It may be beneficial to check out the ones that deal with servlet technologies. After all, Struts has to adhere to the specification just like applications that don't use Struts. Things like paths to files are the same no matter if you are or aren't using Struts ...

HTH,

Eddie

----- Original Message ----- From: "S.B." <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, December 13, 2004 9:32 AM
Subject: RE: Cannot find ActionMappings or ActionFormBeans collection



I am having similar problems, check my email today sent. DO you know
what's causing my problem?

-----Original Message-----
From: uma.k [mailto:[EMAIL PROTECTED]
Sent: Monday, December 13, 2004 6:39 AM
To: 'Struts Users Mailing List'
Subject: RE: Cannot find ActionMappings or ActionFormBeans collection


I am putting my jsp's under tomcat\jg1\articles\*.jsp

Uma

-----Original Message-----
From: S.B. [mailto:[EMAIL PROTECTED]
Sent: Monday, December 13, 2004 7:51 PM
To: 'Struts Users Mailing List'
Subject: RE: Cannot find ActionMappings or ActionFormBeans collection


Where are you putting jsp file? In which folder? Is it under pages directory?


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0451-0, 12/13/2004 Tested on: 12/13/2004 7:29:03 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to