link css to html java server code example Example: ref css in jsp <link href="../css/loginstyle.css" rel="stylesheet" type="text/css">