Results 1 to 2 of 2
  1. #1
    alexisjk is offline Member
    Join Date
    Feb 2012
    Posts
    1
    Rep Power
    0

    Default Dynamic web project using separate Javascript

    Hi all!!

    I have a dynamic project (Project A),and i would like to have my Javascript Files in another project.

    I created a project just containing a folder with all .js files in it.(Project B)
    From my web project i added Project B as a dependency from build path.

    Now the question is ,i have my index.html of course in the web project ,so how can import the scripts?

    From Project A:
    <script type="text/javascript" src="(?????ProjectB?????)/scripts/Utils.js"

    Thanks in advance!!

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Moderator
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    9,929
    Rep Power
    16

    Default Re: Dynamic web project using separate Javascript

    Find a JavaScript forum. This isn't one.

    Java isn't JavaScript.

    db
    Why do they call it rush hour when nothing moves? - Robin Williams

Similar Threads

  1. run dynamic web project from doube-clicking an icon
    By SoftDeveloper in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 11-09-2011, 10:06 PM
  2. pb of deployment of a dynamic project
    By skizz in forum Eclipse
    Replies: 0
    Last Post: 08-22-2011, 04:02 PM
  3. Eclipse dynamic web project problem
    By Yuvarajsinh in forum Eclipse
    Replies: 0
    Last Post: 06-12-2011, 06:49 AM
  4. dynamic table preparation+html+javascript
    By sandy1000 in forum JavaServer Pages (JSP) and JSTL
    Replies: 6
    Last Post: 01-05-2011, 11:24 AM
  5. Problem--How to create dynamic tree structure in jsp using javascript
    By natu in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 08-11-2010, 08:11 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •