Thanks XiaoFeng, I figured that, it is all in the ThemeServlet, or
ResourceServlet for our own component, where it uses the class loader to
look for resouces in the theme/component jars. The 404 error were thrown
from the servlet./
/<my-app>/theme/META-INF/network/ondemand/widget/ImageOption.js
/
-Yu/
/Xiaofeng Lin wrote:
>Assuming you've setup "/theme/*" path correctly in web.xml, you should
>probably look INSIDE those jars as in <your-app>/WEB-INF/lib/*.jar.
>One example is that, a context path like the following,
>
>/<your-app>/theme/META-INF/dojo/dojo.js
>
>will look for the resource (in the above example a javascipt file) in,
>
><your-app>/WEB-INF/lib/some-file.jar and then the jar file should
>contain a,
>"META-INF/dojo/dojo.js" file.
>
>--
>Xiaofeng
>
>
>
>____________________________________________________________________________________
>Don't get soaked. Take a quick peak at the forecast
>with the Yahoo! Search weather shortcut.
>http://tools.search.yahoo.com/shortcuts/#loc_weather
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>
>
>