Erik, Thanks for response. I am using struts. I am attaching my struts.xpl file. I didn't make any change in that for .js files so may be problem is there?
Prateek -----Original Message----- From: Erik Bruchez [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 2:45 PM To: OXF Users Subject: Re: External js file Prateek, If you are using Struts, could you please send me your copy of your struts.xpl file? What version of OXF are you using? Among other things, struts.xpl makes sure common resources, such as images and JavaScript files, are simply served to the client. If you are not using Struts, this will depend on what is in your controller.xml. If you want your JavaScript files to be just served to the client, you should make sure you have a line link this at the beginning of controller.xml: <files path-info="*.js"/> -Erik Prateek Mittal wrote: > Erik, > It's an old issue which I had put on hold. I guess I am doing > everything correctly as u suggested. I am attaching page source from > browser and JavaScript file I am using. I use fallowing code to > include external js file > > <script type="text/javascript" src="javascripts/testing.js"></script> > > This is the servlet-mapping I am using for .js files in my web.xml > > <servlet-mapping> > <servlet-name>oxf</servlet-name> > <url-pattern>*.js</url-pattern> > </servlet-mapping> > > As you said OXF is trying to read the file but can't. May be my .js > file should be in some different format? Any suggestion? _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
struts.xpl
Description: Binary data
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
