Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: jsp javascript

  1. #1
    Member
    Join Date
    Nov 2011
    Posts
    37
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default jsp javascript

    Hi,
    In my jsp file how can I restrict the end user to direct access or download my js/css files?

    Core java
    Last edited by mr.miku; January 11th, 2012 at 06:21 PM.


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,262
    Thanks
    176
    Thanked 821 Times in 764 Posts
    Blog Entries
    5

    Default Re: jsp javascript

    Quote Originally Posted by mr.miku View Post
    Hi,
    In my jsp file how can I restrict the end user to direct access or download my js/css files?
    You can't. Why would you even want to do this - these files cannot be used unless they are downloaded to the client by the browser.

Similar Threads

  1. java to javascript
    By andrewdee in forum Other Programming Languages
    Replies: 4
    Last Post: October 19th, 2011, 08:28 AM
  2. Problem with my JavaScript or JSP?
    By sam2730 in forum Other Programming Languages
    Replies: 1
    Last Post: September 8th, 2011, 01:46 AM
  3. javascript:void(0
    By serenafare1 in forum Member Introductions
    Replies: 1
    Last Post: April 12th, 2011, 08:44 PM
  4. JavaScript pic puzzle
    By fr334a11 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 25th, 2011, 08:29 AM
  5. How can i put session in Javascript?
    By rajani in forum JavaServer Pages: JSP & JSTL
    Replies: 2
    Last Post: July 8th, 2009, 12:46 PM