Link Ref in css

What is the use of Link ref in css

I have main.css file it contains no of classes.

How could i include into all the jsp forms

I have Layout.jsp in that i have to specify link href =  something

could you specify how could i apply my main.css to all the jsp file

my main.css file is under css folder

please explain briefly

Manikandan ThiagarajanSenior consultantAsked:
Who is Participating?
DreamMasterConnect With a Mentor Commented:
That's as easy as:

<link href="css/main.css" rel="stylesheet" type="text/css" />

I don't know what to explain about it, so just ask what you need to know.

Is there any commun jsp being used by all jsp's ?
Manikandan ThiagarajanSenior consultantAuthor Commented:
yes,it contains tiles layout
gops1Connect With a Mentor Commented:
Then put this line into that jsp on top

<link href="css/main.css" rel="stylesheet" type="text/css" />
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.