Hi, Ok, let me try to help you anyway.
Inside the web-inf directory, you usualy store classes and classloader related stuff, like .jar or .properties files. Storing "*.js" files inside this direcory could possibly mean two things: 1) Your are not really accessing .js files directly. Instead, you are accessing a servlet that maps these url patterns to its instance. In these cases, you *must* know the full servlet class name, including of course its package name, in order to correctly map it in your web.xml application file. 2) Someone has stored these kind of files in that directory by mistake. In these case, just move all the files you need somewhere outside. When you say "TC technology", you mean the mobile thing? Have they provided you a .jar file to accomplish AJAX, or you are trying to create your own AJAX engine that uses its resources? Yours, Marcus -----Mensagem original----- De: Chris Pat [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 10 de setembro de 2007 19:39 Para: Tomcat Users List Assunto: Re: RES: tc & xmlhttprequest Hi Marcus Sorry. I have an ajax page. It works. I need to add other technologies to it, the easiest way is with TC. I want to "graft" on ajax to TC technology, and got the error about directly accessing security violations. But the javascript code is not executing, so I was hoping someone had some tips on how to configure to access the script files. Thank you for the references, I will look into to those, now I just need to get this done, grin. "Milanez, Marcus" <[EMAIL PROTECTED]> wrote: Hi, These questions sound really strange to me. Are you using an AJAX framework like DWR ? If not, I guess you should give it a try: http://getahead.org/dwr . You can easily find installing and deployment instructions there. Yours, Marcus -----Mensagem original----- De: Chris Pat [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 10 de setembro de 2007 19:23 Para: Tomcat Assunto: tc & xmlhttprequest Hello Any tips on serving a ajax page with tomcat? I am now calling the page with a jsp:forward outside of the web-inf. Do I also have to fully unc path to the *.js files, like src=localhost:8080/context/intPages/myScripts.js ? --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]