Solved

CSS Question, Existing Java Project

Posted on 2012-03-26
6
253 Views
Last Modified: 2012-04-09
Hello I have an existing project I am working with in Java.

I am trying to create a reset.css, global.css, and ie-only.css to go with the existing project.

I am having trouble figuring out where the CSS would normally be placed in this project explorer. Can you help me figure out where to put the CSS files?

Thanks,
M
0
Comment
Question by:Midani22
  • 4
  • 2
6 Comments
 
LVL 5

Expert Comment

by:Becky
ID: 37769259
There's no a whole lot of information to go off of in your question.  I'm going to assume you're creating a "typical" web archive application (packaged as a WAR or exploded WAR).  If so, the root of that folder is the root of your website.  Most people have sub folders where they put their CSS files in....usually called css.  Some folks put it all in the root folder.  It's not so much where you put the files, but that you reference them in your HTML or JSP files.   If that doesn't give you enough to go on, tell us what your directory structure looks like now and provide me with some of the HTML code that references .css files from one of the web pages that already exists.
0
 

Author Comment

by:Midani22
ID: 37771436
I want to put it all in the root but if you look at the attached graphic, it is hard to tell where the root is. Is this the root of the src directory?

I will answer your other questions later today, thanks,
0
 
LVL 5

Expert Comment

by:Becky
ID: 37774921
Forgive me but I don't see any attachments.  If you have one that shows the layout of your folder structure, and if you could paste the header part of one of the HTML or JSP pages in the app, I can help you.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Midani22
ID: 37779382
sorry I had a sick child today and I did not remember to login.

I will send the graphic as soon as possible. Sorry about that.
0
 

Accepted Solution

by:
Midani22 earned 0 total points
ID: 37808275
I found out that it goes in the WebContent Folder.
0
 

Author Closing Comment

by:Midani22
ID: 37822764
Posted to the JavaRanch.com and the answer was given there.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question