Re: Use struts module with relative url path when forwarding request from webserver

2006-04-09 Thread Adam Hardy
I can't visualise what the final URL looks like in the browser in your situation with the webserver in-between. Try using the tag. Scott Zhu on 07/04/06 19:35, wrote: Thanks. The problem is that we can't use absolute path (leading "/") because we are forwarding the request from webserver to

Re: Use struts module with relative url path when forwarding request from webserver

2006-04-07 Thread Scott Zhu
Thanks. The problem is that we can't use absolute path (leading "/") because we are forwarding the request from webserver to app server. So even we move them into common, we still have to use relative path to point to them. On 4/6/06, Adam Hardy <[EMAIL PROTECTED]> wrote: > > Scott, > > try placi

Re: Use struts module with relative url path when forwarding request from webserver

2006-04-06 Thread Adam Hardy
Scott, try placing the shared javascript in a 'common' module and refer to it using a leading slash src="/common/js/base" Adam Scott Zhu on 06/04/06 18:25, wrote: I have encountered a problem related struts module and would like to see if you have any suggestions. A new requirement for ou

Use struts module with relative url path when forwarding request from webserver

2006-04-06 Thread Scott Zhu
I have encountered a problem related struts module and would like to see if you have any suggestions. A new requirement for our webapp is to use a webserver to forward requests to the real app server. So someone may request a url like: http://ws/abc/APPand we configure it to forward to http://as: