New Creator

Facing issue while getting parameter from url

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

<%= request.getParameter("glossar") %>


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


"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