Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

dgasull

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

How to get a parameter from the RequestContext in Spring

// How to get a parameter from the org.springframework.webflow.execution.RequestContext in Spring framework

// Java:
String myParameter = context.getExternalContext().getRequestParameterMap().get("myParameterPath");


// JSP:
<form:select path="myParameterPath" id="myParameterId">
    ...
</form:select>


// HTML rendered as:
<select name="myParameterPath" id="myParameterId">
...
</select>
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS