If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > JAVA > Tags of struts

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-03-06, 09:12
igordonin igordonin is offline
Registered User
 
Join Date: Jul 2006
Posts: 56
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.
Reply With Quote
  #2 (permalink)  
Old 10-12-06, 01:16
pranjalsingh pranjalsingh is offline
Registered User
 
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 ".
Reply With Quote
  #3 (permalink)  
Old 10-13-06, 09:05
igordonin igordonin is offline
Registered User
 
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On