In my project there are 3 jsp pages and one jsf page ,first jsp page forwarding the request to jsf page then this jsf gives the greeting page means if it is success it goes to success page otherwise it goes to failed page.The problem is in success jsp i wrote only "success" now i need this success in blue colour in italic style,then tell me the code how to get it.I hava one CSS file also.Give me the solution.
Thanks in advance.
Define your stylesheet with the stylesheet method as shown below:
font-family: Times New Roman;
In the jsp where you are calling the "Success" message, please specify the stylesheet path using
and use the specify the stylesheet method in styleClass as shown below: styleClass="styleClass"