The code below used bean to send parameter form one servlet to another.

Java Code:
MyBean myBean = new MyBean();
myBean.setParserProperty("SimpleParser");
request.setAttribute("parser", myBean);