add css code in jsp code example Example: how to include a css file in jsp <link href="../css/loginstyle.css" rel="stylesheet" type="text/css">