- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ05-24-2022
03:16 AM
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.
Labels
- Labels:
-
a
0 Replies

