JSTL c:if with a "Get" Form
843836Jun 24 2004 — edited Jun 25 2004I am a beginner.
I was looking into creating a very, very simple JSP that takes an input and redisplays that input to the same page.
Instead of having the page have null display until the input is provided, I was looking into using the c:if tag.
I am having trouble figuring out how to get the parameter out of the url when I submit the input.
<url>/test.jsp?<param>=<value>.
When I use the syntax
<c:if test='${param.<param> == "<value>"}'>
The test does not happen.
The more research I did it seems that the param object works with Posts and with Beans or when you set a value into the Attributes.
Is there a syntax to use when using a form with get as the method?
Thanks