When using JTST to access a request parameter we typically use something like this:
If the parameter name contains a . then this becomes
Problem is that JSTL interprets this as being the abc property of the xyz bean which is not what we want.
In this case we instead need to use the more long winded JSTL syntax for specifying the property name of interest:
This now correctly returns the value of the request paramater with name ‘xyz.abc’.
Leave a Reply
You must be logged in to post a comment.