cannot load /assets/5.0.18/tapestry/tapestry.js
-----------------------------------------------
Key: TAP5-717
URL: https://issues.apache.org/jira/browse/TAP5-717
Project: Tapestry 5
Issue Type: Question
Affects Versions: 5.0.18
Reporter: zebracmz
I use tomcat to deploy my project locally without any problems, in Windows
System.
But when I deploy it to the server which is unix, the js files Tapestry5 added
can not be loaded:
<script src="assets/5.0.18/scriptaculous/prototype.js"
type="text/javascript"></script>
<script src="assets/5.0.18/scriptaculous/scriptaculous.js"
type="text/javascript"></script>
<script src="assets/5.0.18/scriptaculous/effects.js"
type="text/javascript"></script>
<script src="assets/5.0.18/tapestry/tapestry.js"
type="text/javascript"></script>
<script type="text/javascript">
<!--
Tapestry.onDOMLoaded(function() {
$('email').activate();
});
// -->
</script>
these 4 files were not loaded and the browser(IE7 and firefox) tell me the
script error: "Tapestry not defined". Further more, when I use JavaScript
Debugger, double click the linked tapestry.js, it shows:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
2 <html><head>
3 <title>404 Not Found</title>
4 </head><body>
5 <h1>Not Found</h1>
6 <p>The requested URL /assets/5.0.18/tapestry/tapestry.js was not found
on this server.</p>
7 <hr>
8 <address>Apache/2.0.59 (Unix) DAV/2 mod_jk/1.2.26 Server at
www.shenghuo818.com Port 80</address>
9 </body></html>
the same thing happens to scriptaculous.js, prototype.js and effects.js.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.