java - WebSphere error 404 SRVE0295E -
i've got unusual problem application i'm deploying websphere can't seem access resources. can access main page fine, when index.jsp tries reference javascript file relies on, gets 404. specifically, "error 404: srve0295e: error reported: 404".
the javascript referenced <script type="text/javascript" src="/contextroot/somedir/scripts/myjavascript.js"></script>
the main entry page site located @ http://localhost:9080/contextroot/index.jsp , loads fine.
if seek navigate browser http://localhost:9080/contextroot/somedir/scripts/myjavascript.js error 404: srve0295e, though path file in websphere installed application $mycell/myapp.ear/mywarmodule.war/index.jsp , $mycell/myapp.ear/mywarmodule.war/somedir/scripts/myjavascript.js both valid, resource can access browser index.jsp.
does know cause error?
(running on websphere 7.0.0.29)
to serve static files images, html, or javascript application needs have file serving enabled. can editing ibm-web-ext.xml file in web-inf folder, , ensuring enable-file-serving set true.
java websphere websphere-7
No comments:
Post a Comment