Aradhana
New Creator

Facing issue while getting parameter from url

I want a parameter from url so i am using below code:

$CMS_SET(glossar_parameter)$
<%= request.getParameter("glossar") %>

$CMS_END_SET$

but when i check class for "glossar_parameter" this return the class "

Class:de.espirit.firstspirit.parser.impl.TemplateDocumentImpl

"and i want String type for that i use .toString(),it works fine. on logs I can see String class 

 the value of "glossar_parameter" what i am getting is "true" so when i try to get length of value which is "true" so in case length should be 4 but it is showing me 43.

May be there is an issue with casting from TemplateDocumentImpl to String.

Any one can suggest some other idea.

  • a
0 Kudos
0 Replies