From: <kea...@na...> - 2002-11-25 16:37:35
|
> -----Original Message----- > From: web...@li... > [mailto:web...@li...]On Behalf Of Eric B. > Ridge > Sent: Monday, November 25, 2002 10:18 AM > To: Steve Vu > Cc: web...@li... > Subject: Re: [WebMacro-user] WebMacro.properties question > > > On Monday, November 25, 2002, at 02:43 AM, Steve Vu wrote: > > Hi there, > > > > I am using Tomcat4.1 and have placed the WebMacro.properties file > > under my > > c:\Tomcat 4.1\webapps\moj directory (the webroot for the > application). > > The > > contents are as follows: > > > > TemplatePath="c:\Tomcat 4.1\webapps\moj" > > > > However, when I try load a page onto the browser, I get an > error about > > webmacro not being able to find the requested template. Am > I missing > > something here? Is the space in the directory name causing any > > problems? > > Forward or Backward slash issues? > > Are you subclassing WMServlet? Which template? What error message? > Where is it located? In a servlet 2.3 environment when subclassing > WMServlet, templates need to be in your webroot. Is this a known issue? If so we should document it somewhere. Anyway the Web app context root should be where WM looks by default, so you shouldn't need to configure a template path at all. Be sure to check the log for error messages, also make sure you don't have an old version of WM -- the original 1.0 release had a Tomcat bug. Keats > eric > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |