foo.Employee p = new foo.Employee(); p.setName("Evan"); %> request.setAttribute("person",p);
HF answered that this works fine & prints out 'Evan'.
But I work it out.
FAILS at request time.person attribute is stored at request scope. <jsp:useBean> can't find an attribute object named "person" at page scope which is defaults scope. Will it be wrong or right? Suggestions are welcome!