hi..
I have a one class which is returning me a location number in
jsp file like this
,here currentLocno is declared as a int type.
& one map contains location ids as key of type
String against the objects of the Location class .
hashMap is like
{1600=com.track.model.Location@1af8502,
2203=com.track.model.Location@455aa8,
5305=com.track.model.Location@143073a,
5101=com.track.model.Location@18facfb,
3112=com.track.model.Location@1a59490}
now in my jsp file if I hard code the location-code like locHash["1600"].locName then I am able to get the location no.
and if I do like
then it does't print anything
so I just want to know how to convert
${jsheet.currentLocno} (primitive type) to Object type (String)
using Expression language so that I can get the location no.
thanks