File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes JavaScript is not working when using friendly URLs Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "JavaScript is not working when using friendly URLs" Watch "JavaScript is not working when using friendly URLs" New topic
Author

JavaScript is not working when using friendly URLs

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3334

Hi.
I faced the following problem in Tapestry :
In order to use freindly URLs, I added the following entries to web.xml :

And created the following hivemind.xml file :

My web application using JavaScript code generated by Tapestry (using Body).
When I used -ugly URLs- of Tapestry, JavaScript portion was working correctly, but when I had enabled the friendly URLs, JavaScript code is no more working.
So what is the problem ?
 
 
subject: JavaScript is not working when using friendly URLs
 
Threads others viewed
Configuring Tomcat 5 on Win2K and Linux
Apache2 / Tomcat 6 / GWT 2.0 - Could use some help
Entries in Web.xml file
web.xml causes 404 error
web.xml issue
MyEclipse, The Clear Choice