Results 1 to 1 of 1
  1. #1
    Join Date
    Feb 2010
    Location
    Chennai
    Posts
    9
    Rep Power
    0

    Lightbulb Struts Clarification

    Friends Please help me. what is the result/output for the following code in struts(example.jsp)


    <%
    String linkDesc = "abc\ndef";
    desc=linkDesc.toString();
    %>

    <bean:define id="descId" value="<%=desc%>"/>
    <bean:write name="descId"/>


    Please clarify me. Thanks in Advance.
    Last edited by vinothkumarrvk; 02-26-2010 at 03:33 PM.

Similar Threads

  1. decorator.jsp problem building Struts Menu in JSP when Struts action is used
    By dkirvan in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-29-2010, 05:33 AM
  2. need clarification in this statement.
    By Unsub in forum New To Java
    Replies: 5
    Last Post: 02-26-2010, 01:16 PM
  3. struts
    By prakashkadakol in forum New To Java
    Replies: 1
    Last Post: 01-19-2010, 07:36 PM
  4. HELP! need clarification
    By ptsofathrty in forum New To Java
    Replies: 1
    Last Post: 12-16-2008, 08:02 AM
  5. Private Classes Clarification
    By justlearning in forum New To Java
    Replies: 1
    Last Post: 05-06-2008, 10:51 PM

Posting Permissions

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