HttpServletResponse response)
throws IOException, ServletException {
ActionForward actionFrwd = null;
DynaActionForm dynaForm = (DynaActionForm) form;
GroupBD bd =
(GroupBD) BusinessDelegateFactory.getInstance().getDelegate(
"com.eteam.ems.auth.delegates.GroupBD");
// get dsName and dbType from the session - begin
HttpSession session = request.getSession();
SessionUserVO sessUser =
(SessionUserVO) session.getAttribute(
IConstants.SESSION_ATTR_USER_SESSION_INFO);
String dsName = sessUser.getDsName();
String dbType = sessUser.getDbType();
GroupVO groupVO = new GroupVO();
/* Forward to the View Page */
try {
groupVO = bd.findGroup(dsName, dbType, request.getParameter(IConstants.REQ_PARAM_ID));
BeanUtils.copyProperties(form, groupVO);
} catch (IllegalAccessException ex) {
log.error("Error GroupAction:viewGroup()");
} catch (InvocationTargetException ex) {
log.error("Error GroupAction:viewGroup()");