beautypg.com

Creating the iemployeedao.java file, After modification, the web.xml file appears as – HP Integrity NonStop J-Series User Manual

Page 285

background image

After modification, the web.xml file appears as:

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">


context

org.springframework.web.servlet.DispatcherServlet

1


javax.faces.CONFIG_FILES
/WEB-INF/faces-config.xml


javax.faces.STATE_SAVING_METHOD
client



extensionsFilter

org.apache.myfaces.component.html.util.ExtensionsFilter


uploadMaxFileSize
100m



uploadThresholdSize
100k


extensionsFilter
*.jsf


extensionsFilter
/faces/*


Faces Servlet
javax.faces.webapp.FacesServlet
1


Faces Servlet
*.jsf


index.jsp

Creating the IEmployeeDao.java File

Create a Java interface named IEmployeeDao.java to implement the EmployeeDao.java
class. The IEmployeeDao.java is placed with its implementation class in the
com.hp.empinfo.service

package.

To create the IEmployeeDao.java file, complete the following steps:

Integrating MyFaces into Spring 285

This manual is related to the following products: