 403 | In this step we will add the JSP that generates the guestbook HTML output: Open the [New JSP File ... ) and selecting New > JSP... Enter guest as the jsp file name - use exactly that case sensitive class name. The Folder should be WEB-INF (to prevent accessing the JSP directly not through Spring). Click |
 403 | In this step we will add the JSP that generates the guestbook HTML output: Open the [New JSP File ... ), selecting New > Other... > Web > JSP File and clicking Next. The parent folder should be WEB-INF (to prevent direct access to the JSP bypassing Spring). Enter guest as the jsp file name - use exactly |
 398 | In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File ... > Other... > Web > JSP File and clicking Next. Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish to create the new JSP file. Now replace the content of the new |
 398 | In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New > JSP... Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish |
 398 | In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New > JSP... Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish |
 398 | In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File ... > Other... > Web > JSP File and clicking Next. Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish to create the new JSP file. Now replace the content of the new |
 71 | )
guestDao.persist(new Guest(name));
// Prepare the result view (guest.jsp):
return new ModelAndView("guest.jsp", "guestDao", guestDao);
}
}
The GuestController class is defined as ... guest has registered (using a JSP form that will be added in the next tutorial step) - a new Guest |
 71 | )
guestDao.persist(new Guest(name));
// Prepare the result view (guest.jsp):
return new ModelAndView("guest.jsp", "guestDao", guestDao);
}
}
The GuestController class ... : If a new guest has registered (using a JSP form that will be added in the next tutorial step) - a new |
 53 | );
request.getRequestDispatcher("/guest.jsp")
.forward(request ... (representing a database connection) is constructed. If a new guest has registered (using a JSP form ... "guest" attribute. Then the processing is forwarded to the JSP page (which is presented in |
 53 | .getRequestDispatcher("/guest.jsp")
.forward(request, response);
} finally ... ) is constructed. If a new guest has registered (using a JSP form that is shown in the next tutorial step ... is forwarded to the JSP page (which is presented in the next tutorial step). The JSP uses the "guest |