0

i have a requirement to print units like m(square) in front end. So, for this i have to mention in properties file. But properties file is not accepting to write like that. Please help me.

sandy
  • 3
  • 1
  • 6
  • Please show what you've done, as well as the error you are getting. – kgautron Aug 03 '12 at 17:47
  • thanks for your response. No error is coming but intended output is not coming like m2.how to write powers in properties file – sandy Aug 03 '12 at 17:49
  • Ok, can you show how the property is declared, and how it is output? – kgautron Aug 03 '12 at 17:51
  • In my jspfile:In my Application Resources.properties file:dsprocess.unit=Volume(cm2).In properties file i am not able to write units(cm2) superscript or power. – sandy Aug 03 '12 at 17:57

1 Answers1

0

Add the sup html-tag in your properties file:

dsprocess.unit=Volume(cm<sup>2</sup>)
Bhesh Gurung
  • 50,430
  • 22
  • 93
  • 142