browser icon
You are using an insecure version of your web browser. Please update your browser!
Using an outdated browser makes your computer unsafe. For a safer, faster, more enjoyable user experience, please update your browser today or try a newer browser.

Add external deployable files to Java EE projects on netbeans

Posted by on May 31, 2007

Ever wondered how you’d deploy external CSS/JavaScript with servlets or JSPs?
This article will guide you on how to add a CSS/JavaScript (.css, .js) or any file in your project so that it gets inside your .WAR file too!

Here’s how to:

1) Start your netbeans: I am using 5.5
2) Goto Tools>Template Manager
3) Select or Expand “Other”
4) Click “Add…” and select the file which you want to include.
5) After selecting the file will appear in your “Others” list
6) In your project navigator, add a new file of this type.
7) Give a name to this file and feel excited!

People who read this article also read these...

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Get Adobe Flash playerPlugin by wpburn.com wordpress themes