• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WebServerResources under servlet deploy - WOAppMode=Deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WebServerResources under servlet deploy - WOAppMode=Deployment


  • Subject: WebServerResources under servlet deploy - WOAppMode=Deployment
  • From: Jon Nolan <email@hidden>
  • Date: Tue, 19 May 2009 16:39:49 -0600
  • Organization: Loch Garman

I am really struggling to figure out how to access static resources under a servlet deployment. I want to serve them via tomcat for a variety of reasons. I set WOAppMode=Deployment and I get ERXStyleSheet and ERXJavaScript URLs which are giving me fits.

For the sake of context, application URL - http://dev.box.com/Admin/WebObjects/Admin.woa.

To keep it simple here is a single ERXStyleSheet I've included.

<wo:ERXStyleSheet framework="WDExtensions" filename="css/default-styles.css" />

The URL generated looks like this:

http://dev.box.com/WebObjects/Frameworks/WDExtensions.framework/WebServerResources/css/default-styles.css

So far so good in that the form is exactly the same as those static resources included by Ajax.framework among others.

The problem is that the files are not served. I get 404 errors. What am I missing? Why does the URL include /WebObjects which I believe will map to WOServletAdaptor. Definitely not what I want.

Sorry if this is a bit elementary. Tomcat deployment is new to me. I can't find anything helpful in any of the tomcat logs.

Thanks,
Jon

WOLips 3.4.5744
Wonder nightly build from a couple of weeks ago
WebObjects 5.4
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: WebServerResources under servlet deploy - WOAppMode=Deployment
      • From: David Avendasora <email@hidden>
  • Prev by Date: Re: Setting the DEFAULT_JVM_OPTIONS
  • Next by Date: Re: Modifying Properties for an EOF JDBC-connection
  • Previous by thread: Re: Setting the DEFAULT_JVM_OPTIONS
  • Next by thread: Re: WebServerResources under servlet deploy - WOAppMode=Deployment
  • Index(es):
    • Date
    • Thread