You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by FIRDAUS FRAZ <fi...@outworx.com> on 2006/03/02 16:02:52 UTC

String concatination-pls reply urgently

Hi,

I was trying to concatenate "-"(underscore) and a 'reference' in my velocity template. I was unable to do so. Pls let me know if it is possible to get the output as "UD_JAVED" if i have to get the word 'JAVED' from java code:

i tried "UD_$name". But this does not work. 

template            output
UD_$name       UD_$name
UD_($name      UD_(JAVED


Regards

Firdaus Fraz
Software Engineer,
Outworx Soln. Pvt. Ltd.
-- 
This message has been scanned for viruses and
dangerous content and is believed to be clean.