NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

adding css in jsp

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
ranm



Joined: 10 Nov 2009
Posts: 1

PostPosted: Tue Nov 10, 2009 11:24 am    Post subject: adding css in jsp Reply with quote

Hi, I use netbeans 6.7 . How do i add a css file in jsp?
I saw somewhere to add them in resources folder . But in project view I dont have resources folder, only Server resouces.
Thanks in advance
Back to top
Kannan Ehambaram
Posted via mailing list.





PostPosted: Fri Nov 13, 2009 11:18 am    Post subject: Re: adding css in jsp Reply with quote

Hai,
Back to top
bhobiger



Joined: 29 Oct 2009
Posts: 52

PostPosted: Sat Nov 14, 2009 1:51 pm    Post subject: Re: adding css in jsp Reply with quote

ranm wrote:
Hi, I use netbeans 6.7 . How do i add a css file in jsp?
I saw somewhere to add them in resources folder . But in project view I dont have resources folder, only Server resouces.
Thanks in advance

You can put your css file directly under Web pages.
Back to top
jyeary



Joined: 21 Oct 2008
Posts: 633
Location: Simpsonville, SC

PostPosted: Sat Nov 14, 2009 9:14 pm    Post subject: Re: adding css in jsp Reply with quote

Try something like the sample below.

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

On Sat, Nov 14, 2009 at 8:51 AM, bhobiger <address-removed ([email]address-removed[/email])> wrote:
Quote:

ranm wrote:
Quote:
Hi, I use netbeans 6.7 . How do i add a css file in jsp?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo