Solved

CSS Question, Existing Java Project

Posted on 2012-03-26
6
251 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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…
This video teaches viewers about errors in exception handling.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

803 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