Including the mapping entity into web.xml.
- By Attila Szegedi
- December 1, 2001
Component Java
The road to reusable Servlet components
by Attila Szegedi
Listing 5. Including the mapping entity into web.xml.
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems Inc.//DTD
Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/
web-app_2.2.dtd"
[
<!ENTITY org.foo.myapp.jsp
PUBLIC "org.foo.myapp.jsp"
"org.foo.myapp.jsp.ent">
]
>
<web-app>
&org.foo.myapp.jsp;
... <!Other declarations here>
</web-app>
About the Author
Attila Szegedi is the lead developer at Scriptum, a company located in Szeged, Hungary, specializing in information retrieval and data cleansing technologies. Attila may be contacted at [email protected].