On 2/5/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
> You need to rename your web archive to have a name of
> "struts-shale-usecases.war". This example has hard-coded javascript that
> assumes the
> context root is "struts-shale-usecases".
More than that, it assumes port 8080 on localhost. It seems to work
fine with a relative URL:
src/web/ajax/zipCode.jsp
function zipChanged(zip) {
- sendRequest("http://localhost:8080/struts-shale-usecases/" +
- "dynamic/remoting$business/cityAndStateForZip.faces"
+
+ sendRequest("dynamic/remoting$business/cityAndStateForZip.faces"
+
"?zip=" + escape(zip),
processZipCodeSelection);
}
Will that break anything else?
Thanks,
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]