Results 1 to 3 of 3

Thread: Tags of struts

  1. #1
    Join Date
    Jul 2006
    Posts
    56

    Unanswered: Tags of struts

    How can I concatenate one or more strings in a HTML:TEXT

    Code:
    <html:text property="nome"
    and i need to do this:

    Code:
    <html:text property="nome["+"<%=i%>+"]"
    I have a for instruction enclosing this tag (for i=0 (...) )


    any help would be appreciated.

  2. #2
    Join Date
    Oct 2006
    Posts
    5

    Struts answer

    hi,
    u can try with the following code:--
    <html:text property="nome["+<%=i%>+"]"
    in ur code u have given an extra ".

  3. #3
    Join Date
    Jul 2006
    Posts
    56
    oh, yeah... I actually did notice that by myself. I wonder thou... there is not a lot of people on this Java forum huh? Took really long to get an answer...

    Thanks anyway, buddy.
    C ya.

Posting Permissions

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