From: "Koon Yue Lam" <[EMAIL PROTECTED]>
> ok, it is really strange that I need to specify full path
> "/myApp/js/myJS.js"
> rather then just
> "js/myJS.js"

You shouldn't.  Or, at least... I don't.  It's better not to embed the name
of the webapp if you don't have to-- I run the same code under 3 different
context names, pointed at the development, test and live database
environments.  That wouldn't work if I had hardcoded the name of the webapp
in the JSP's.

If you post the JSP and the HTML it generated, along with the structure of
your webapp (where are the JSP's, where are the .js files?) someone can
probably help you figure it out.

Jacob wrote re: BEA supporting JSP's under WEB-INF:
> Sure, 6.1 didn't.  8.1 certainly does.  I've tried it and it works just
fine.
> Time to upgrade to a modern container.

Thanks for the clarification. :)  I've never used BEA, I just remember a
long time ago recommending this approach and being told it wasn't portable.

-- 
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to