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: How to give refrence of java script file and css file in jasp page????

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to give refrence of java script file and css file in jasp page????

    Hi Every one,

    I have just started to work on Java EE and I am not able to put the refrence of css and javascript in jsp page.

    My senario is below:
    I have created script file inside myJavaScript Folder like Web Container-> myJavaScript ->Home.js.
    Similarlly for css:Web Container-> myCss ->Home.css.

    My Jsp page palced inside Like: Web Container-> Home ->Home.jsp.

    Coluld any one please let me know how to give the refrence of js and css file in my Home.jsp page.Kindly provide some code example related to this.


    Thanks in advance


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: How to give refrence of java script file and css file in jasp page????

    Thread moved. Show what you've tried.

Similar Threads

  1. how can we load css file without pressing refresh button in web page
    By rajabetha in forum Other Programming Languages
    Replies: 1
    Last Post: May 15th, 2013, 07:30 PM
  2. Error in excuting java .class file on a web page
    By Gowtham511 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 16th, 2013, 11:39 AM
  3. java component to generate the report file in post script format
    By siva.wins in forum Java Theory & Questions
    Replies: 4
    Last Post: November 23rd, 2012, 03:04 AM
  4. modification to core java file: javax.script.AbstractScriptEngine
    By amughost in forum Java Theory & Questions
    Replies: 0
    Last Post: June 13th, 2012, 11:37 AM
  5. using css file with tiles
    By the light in forum Web Frameworks
    Replies: 0
    Last Post: October 5th, 2011, 01:22 AM