Results 1 to 2 of 2

Thread: Jsf

  1. #1
    Srikala is offline Member
    Join Date
    Aug 2008
    Posts
    10
    Rep Power
    0

    Default Jsf

    Hi,
    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.

  2. #2
    Join Date
    Sep 2008
    Posts
    9
    Rep Power
    0

    Default

    Hi Srikala,
    Define your stylesheet with the stylesheet method as shown below:
    .msg_color {
    color: #0000FF;
    font-family: Times New Roman;
    font-style: italic;
    }

    In the jsp where you are calling the "Success" message, please specify the stylesheet path using
    <link href....
    and use the specify the stylesheet method in styleClass as shown below: styleClass="styleClass"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •