Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
how to prevent downloading js file from my strust application using direct url
bala manian
Ranch Hand
Posts: 40
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi frds....
i stored all my js files in js folder.my js folder loction is tomcat3.1->webapps-->myproject->js (folder)
if user enter below url
http://localhost:8080/myproject/js/view.js
it starting downloading..
how to prevent these downloading..are we want given any folder permission in server.xml?
please help..it urgent...waiting for your replies
David Newton
Author
Posts: 12617
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
But the browser needs to be able to download it directly: JavaScript runs on the client. So the JavaScript has to *get* to the client.
I don't get it. A whale wearing overalls? How does that even work? It's like a tiny ad wearing overalls.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
problem while running Junit test in hibernet
Deploying Servlet in Tomcat 5.0
classpath and javac from command line
How to reference images in Velocity templates
URL routing
More...