@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
try {
if (NamespaceManager.get().equals(Setting.getGeneralNamespace())) {
ApplicationModel model = new ApplicationModel();
model.prepareApplicationByUser(UserServiceFactory
.getUserService().getCurrentUser().getEmail());
req.setAttribute("result", model.getListResult());
req.getRequestDispatcher("/admin/pages/applications.jsp")
.forward(req, resp);
} else {
int port = req.getServerPort();
NamespaceManager.set(Setting.getGeneralNamespace());