ObjectDB ObjectDB

Internal Website Search

1-10 of 34 resultsRefresh
68

Step 5: Add a JSP Page

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
68

Step 5: Add a JSP Page

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
68

Step 5: Add a JSP Page

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
68

Step 5: Add a JSP Page

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
68

Step 5: Add a JSP Page

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
68

Step 5: Add a JSP Page

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
13

Step 4: Add a Controller Class

) 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
13

Step 4: Add a Controller Class

) 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
9

Step 4: Add a Servlet Class

); 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
9

Step 4: Add a Servlet Class

", guestDao.getAllGuests()); request.getRequestDispatcher("/guest.jsp").forward(request ... : If a new guest has registered (using a JSP form that will be added in the next tutorial step) - a new ... is forwarded to the JSP page (which is presented in the next tutorial step). The JSP uses the "guest

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support