Ron, The application has to load web server resources from inside the JAR files. You can use this [1] custom WOResourceRequestHandler to do this.
You must also register the custom request handler in your application constructor: if (isDirectConnectEnabled()) { registerRequestHandler(new JarResourceRequestHandler(), "_wr_"); if (ERXApplication.isWO54()) { registerRequestHandler(new JarResourceRequestHandler(), "wr"); } } [1]https://gist.github.com/hprange/1068523 Cheers, Henrique On 26/12/2013, at 21:01, Ron X <ron.x.by...@gmail.com> wrote: > sorry path was: > http://localhost:8080/WebObjects/myapp.woa/WebServerResources/images/x.jpg > > > WebRep > > Overall rating > > > > > > WebRep > > Overall rating > > > > > > > > 2013/12/27 Ron X <ron.x.by...@gmail.com> > Hello! > > I need to make WAR-file with out-off-the-box settings. > When I set in web.xml "deployment" I have an error with the paths: > > my app in Jetty: > > http://localhost:8080/myapp/WebObjects/myapp.woa/ > but no resources was loaded (images, css) > firebug shows: > no image found at > http://localhost:8080/WebObjects/myapp.woa/ > > how can i set true paths in the deployment mode? > i do not use any webserver - i need to make deployment into jetty with > war-file without any externals. > thanks! > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com > > This email sent to hpra...@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com