Solved

CSS Question, Existing Java Project

Posted on 2012-03-26
6
252 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

809 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