Skip to Content
0
Former Member
Jan 13, 2006 at 06:40 AM

How to include .css file into jsp file in portal application

200 Views

Hi,

I have included a .css file in a .jsp file using following tag :

<link rel="<%=componentRequest.getWebResourcePath()%>/css/ts.css">.

I have kept .css file under /dist/css folder.

Preview of jsp file is fine but when I upload the jsp file and .css file to server, Look and feel of the screen is changing. When I paste the style code in jsp file, look and feel is fine.

Can some body suggest me that why the look and feel is changing when I put the style code in css file and include it in jsp.

Thanks in advance.

Manish