java - Expression language to treat "-" sign as string literal instead of minus operator? -


i have empid 500 , custid 200. want el return me result "500-200". tried below expression returns me 300 (i.e substracting 200 500).

how make "as" sting literal instead of subtract operator

"${sessionscope.empid-sessionscope.custid}") 

simply out of el expression :

${sessionscope.empid}-${sessionscope.custid} 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c++ - libcurl curl_easy_setopt "Unknown error" -

protocol buffers - zeromq with protobuf segmentation fault while parsing in c++ -