Solved

CSS Question, Existing Java Project

Posted on 2012-03-26
6
249 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now