users@woodstock.java.net

How to get request params easily?

From: Andrey Siver <andrey.siver_at_gmail.com>
Date: Wed, 18 Jun 2008 17:37:59 +0400

Dear list members,

I'm newby in Woodstock framework...

Is there any simple way how to set the request params of RequestBean1 object
from the request?

This way is too long and awful:

        Map params = getExternalContext().getRequestParameterMap();

        if (params.get("param1") != null)

getRequestBean1().setParam1(Double.parseDouble(params.get("param1").toString()));


Thanks in advance,
Regards,

 -Andrey