String problem in jsp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sourabhmca
    New Member
    • Apr 2007
    • 12

    #1

    String problem in jsp

    hi friends,

    I am getting problem to display String,
    I am fatch string from date base let string value is"Good Morning" but it display time it is display only Good .

    I am using String gd= rs.getString(1) ;

    display time
    <%outr.print(gd );%>

    please help...
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by sourabhmca
    hi friends,

    I am getting problem to display String,
    I am fatch string from date base let string value is"Good Morning" but it display time it is display only Good .

    I am using String gd= rs.getString(1) ;

    display time
    <%outr.print(gd );%>

    please help...
    Shouldn't that be [CODE=java]
    <%=gd%>[/CODE]
    Last edited by r035198x; Oct 5 '07, 03:01 PM. Reason: corrected the code tags

    Comment

    Working...