users@glassfish.java.net

Re: Please share you web.xml

From: Hong Zhang <hong.hz.zhang_at_oracle.com>
Date: Fri, 11 Mar 2011 06:12:50 -0800 (PST)

This error message tells you your web.xml does not conform to the
corresponding dtd (glassfish does the deployment descriptor validation
as the spec required).

Looking at your web.xml, I noticed the first servlet element does not
conform to the dtd, based on the dtd:

<!ELEMENT servlet (icon?, servlet-name, display-name?, description?,
(servlet-class|jsp-file), init-param*, load-on-startup?,
security-role-ref*)>

the <load-on-startup> element needs to appear after the <init-param>
element, but in your servlet "WebtogoWorkSpaceRedirect", the
<load-on-startup> element appears before the <init-param> element.
Please fix the ordering and try again.

You may get similar error messages for other elements, just fix them
similarly so your web.xml conform to the dtd.

- Hong

On 3/10/2011 10:42 PM, forums_at_java.net wrote:
> Thanks very much for your reply!
>
> Here is my web.xml.
>
> ------------------------
>
> <code>
>
> <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC
> "-//Sun
> Microsystems, Inc.//DTD Web Application 2.2//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"> <web-app>
> <display-name>webtogo-web</display-name> <description>webtogo
> application</description> <servlet>
> <servlet-name>WebtogoWorkSpaceRedirect</servlet-name>
> <display-name>WebtogoWorkSpaceRedirect</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.WebtogoWorkSpaceRedirect</servlet-class>
> <load-on-startup>1</load-on-startup> <init-param>
> <param-name>webtogo.ora</param-name>
> <param-value>%ORACLE_HOME%\mobile\server\bin\webtogo.ora</param-value>
>
> </init-param> </servlet> <servlet-mapping>
> <servlet-name>WebtogoWorkSpaceRedirect</servlet-name>
> <url-pattern>/start</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>WebtogoServerLogon</servlet-name>
> <display-name>WebtogoServerLogon</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.WebtogoServerLogon</servlet-class>
> </servlet> <servlet-mapping>
> <servlet-name>WebtogoServerLogon</servlet-name>
> <url-pattern>/userinfo/logon</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>WebtogoLogonPage</servlet-name>
> <display-name>WebtogoLogonPage</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.WebtogoLogonPage</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>WebtogoLogonPage</servlet-name>
> <url-pattern>/logonpage</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>FileSyncLogoff</servlet-name>
> <display-name>FileSyncLogoff</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.FileSyncLogoff</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>FileSyncLogoff</servlet-name>
> <url-pattern>/FileSyncLogoff</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>OpenCursorState</servlet-name>
> <display-name>OpenCursorState</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.OpenCursorState</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>OpenCursorState</servlet-name>
> <url-pattern>/cursorstate</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>MobileManagerLogon</servlet-name>
> <display-name>MobileManagerLogon</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.MobileManagerLogon</servlet-class>
> </servlet> <servlet-mapping>
> <servlet-name>MobileManagerLogon</servlet-name>
> <url-pattern>/mobilemanagerlogon</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>LogonLeft</servlet-name>
> <display-name>LogonLeft</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.LogonLeft</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>LogonLeft</servlet-name>
> <url-pattern>/logonleft</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>LogonMenu</servlet-name>
> <display-name>LogonLeftMenu</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.LogonMenu</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>LogonMenu</servlet-name>
> <url-pattern>/logonmenu</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>JupWorkspace</servlet-name>
> <display-name>JupWorkspace</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.JupWorkspace</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>JupWorkspace</servlet-name>
> <url-pattern>/WLTop</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>JupSwitcher</servlet-name>
> <display-name>JupSwitcher</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.JupSwitcher</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>JupSwitcher</servlet-name>
> <url-pattern>/WLTop/switch</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>WorkspaceLoader</servlet-name>
> <display-name>WorkspaceLoader</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.WorkspaceLoader</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>WorkspaceLoader</servlet-name>
> <url-pattern>/WLTop/loader</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>WorkspaceMenu</servlet-name>
> <display-name>WorkspaceMenu</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.WorkspaceMenu</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>WorkspaceMenu</servlet-name>
> <url-pattern>/WLTop/menubar</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>TabPage</servlet-name>
> <display-name>TabPage</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.TabPage</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>TabPage</servlet-name>
> <url-pattern>/WLTop/tab</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>ChangeUserPassword</servlet-name>
> <display-name>ChangeUserPassword</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.ChangeUserPassword</servlet-class>
> </servlet> <servlet-mapping>
> <servlet-name>ChangeUserPassword</servlet-name>
> <url-pattern>/WLTop/changeuserpassword</url-pattern>
> </servlet-mapping>
> <servlet> <servlet-name>ChangePassword</servlet-name>
> <display-name>ChangePassword</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.ChangePassword</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>ChangePassword</servlet-name>
> <url-pattern>/userinfo/changepwd</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>UserPasswordPage</servlet-name>
> <display-name>UserPasswordPage</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.UserPasswordPage</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>UserPasswordPage</servlet-name>
> <url-pattern>/WLTop/pwpage</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>PromptChangePassword</servlet-name>
> <display-name>PromptChangePassword</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.PromptChangePassword</servlet-class>
> </servlet> <servlet-mapping>
> <servlet-name>PromptChangePassword</servlet-name>
> <url-pattern>/WLTop/promptchangepassword</url-pattern>
> </servlet-mapping>
> <servlet> <servlet-name>GetImage</servlet-name>
> <display-name>GetImage</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.GetImage</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>GetImage</servlet-name>
> <url-pattern>/WLTop/get</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>LoadImage</servlet-name>
> <display-name>LoadImage</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.LoadImage</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>LoadImage</servlet-name>
> <url-pattern>/WLTop/loadimg</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>ImageList</servlet-name>
> <display-name>ImageList</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.ImageList</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>ImageList</servlet-name>
> <url-pattern>/WLTop/listimg</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>Upload</servlet-name>
> <display-name>Upload</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.Upload</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>Upload</servlet-name>
> <url-pattern>/WLTop/upload</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>ListJobLoader</servlet-name>
> <display-name>ListJobLoader</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.tools.ListJobLoader</servlet-class>
> </servlet> <servlet-mapping>
> <servlet-name>ListJobLoader</servlet-name>
> <url-pattern>/WLTop/jobloader</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>NewBookMarkPage</servlet-name>
> <display-name>NewBookMarkPage</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.NewBookMarkPage</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>NewBookMarkPage</servlet-name>
> <url-pattern>/WLTop/nbpage</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>EditBookMark</servlet-name>
> <display-name>EditBookMark</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.EditBookMark</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>EditBookMark</servlet-name>
> <url-pattern>/WLTop/edbkmk</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>WorkSpaceServer</servlet-name>
> <display-name>WorkSpaceServer</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.workspace.WorkSpaceServer</servlet-class>
>
> </servlet> <servlet-mapping>
> <servlet-name>WorkSpaceServer</servlet-name>
> <url-pattern>/WLTop/server</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>UserConfiguration</servlet-name>
> <display-name>UserConfiguration</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.UserConfiguration</servlet-class>
> </servlet> <servlet-mapping>
> <servlet-name>UserConfiguration</servlet-name>
> <url-pattern>/WLTop/userapps</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>UserPreferences</servlet-name>
> <display-name>UserPreferences</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.UserPreferences</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>UserPreferences</servlet-name>
> <url-pattern>/WLTop/userpref</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>ImageDisplay</servlet-name>
> <display-name>ImageDisplay</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.util.ImageDisplay</servlet-class>
> </servlet> <servlet-mapping>
> <servlet-name>ImageDisplay</servlet-name>
> <url-pattern>/public/icon</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>WebtogoJupLogoff</servlet-name>
> <display-name>WebtogoJupLogoff</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.WebtogoJupLogoff</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>WebtogoJupLogoff</servlet-name>
> <url-pattern>/logoff</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>About</servlet-name>
> <display-name>About</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.about</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>About</servlet-name>
> <url-pattern>/about</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>AppServer</servlet-name>
> <display-name>AppServer</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.JupAppServer</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>AppServer</servlet-name>
> <url-pattern>/appserver</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>sequenceinfo</servlet-name>
> <display-name>sequenceinfo</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.SequenceInfoServlet</servlet-class>
> </servlet> <servlet-mapping>
> <servlet-name>sequenceinfo</servlet-name>
> <url-pattern>/SequenceInfo</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>ConsolidatorServlet</servlet-name>
> <display-name>ConsolidatorServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.sync.ConsolidatorServlet</servlet-class>
> <load-on-startup>2</load-on-startup> </servlet> <servlet-mapping>
> <servlet-name>ConsolidatorServlet</servlet-name>
> <url-pattern>/public/Consolidator</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>RegisterClient</servlet-name>
> <display-name>RegisterClient</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.RegisterClientSite</servlet-class>
> </servlet> <servlet-mapping>
> <servlet-name>RegisterClient</servlet-name>
> <url-pattern>/regsite</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>publish</servlet-name>
> <display-name>publish</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.util.JupXMLPlant</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>publish</servlet-name>
> <url-pattern>/publish/*</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>publishfiles</servlet-name>
> <display-name>publishfiles</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.PublishFiles</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>publishfiles</servlet-name>
> <url-pattern>/publishfiles</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>publishOC4J</servlet-name>
> <display-name>publishOC4J</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.PublishOC4J</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>publishOC4J</servlet-name>
> <url-pattern>/publishOC4J</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>setupdispatcher</servlet-name>
> <display-name>setupdispatcher</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.SetupDispatcher</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>setupdispatcher</servlet-name>
> <url-pattern>/setup/*</url-pattern> </servlet-mapping>
> <servlet-mapping> <servlet-name>setupdispatcher</servlet-name>
> <url-pattern>/setup/palm/*</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>setupexefiles</servlet-name>
> <display-name>setupexefiles</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.WebtogoSetup</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>setupexefiles</servlet-name>
> <url-pattern>/setup/setup.exe</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>clientupdateexefiles</servlet-name>
> <display-name>clientupdateexefiles</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.WebtogoClientUpdate</servlet-class>
> </servlet> <servlet-mapping>
> <servlet-name>clientupdateexefiles</servlet-name>
> <url-pattern>/clientupdate/*</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>startup</servlet-name>
> <display-name>startup</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.AdminPage</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>startup</servlet-name>
> <url-pattern>/startup/page</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>startuplogon</servlet-name>
> <display-name>startuplogon</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.AdminLogonPage</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>startuplogon</servlet-name>
> <url-pattern>/startup/logonmain</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>adminlogon</servlet-name>
> <display-name>adminlogon</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.AdminLogon</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>adminlogon</servlet-name>
> <url-pattern>/startup/admin</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>SaveAdminProfile</servlet-name>
> <display-name>SaveAdminProfile</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.SaveAdminProfile</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>SaveAdminProfile</servlet-name>
> <url-pattern>/startup/saveprofile</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>JupPing</servlet-name>
> <display-name>JupPing</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.JupPing</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>JupPing</servlet-name>
> <url-pattern>/doping</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>MessageServlet</servlet-name>
> <display-name>MessageServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.MessageServlet</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>MessageServlet</servlet-name>
> <url-pattern>/devmgr/message</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>NonceServlet</servlet-name>
> <display-name>NonceServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.NonceServlet</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>NonceServlet</servlet-name>
> <url-pattern>/devmgr/nonce</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>QueueServlet</servlet-name>
> <display-name>QueueServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.QueueServlet</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>QueueServlet</servlet-name>
> <url-pattern>/devmgr/queue</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>AuthServlet</servlet-name>
> <display-name>AuthServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.AuthServlet</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>AuthServlet</servlet-name>
> <url-pattern>/devmgr/auth</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>BootstrapServlet</servlet-name>
> <display-name>BootstrapServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.BootstrapServlet</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>BootstrapServlet</servlet-name>
> <url-pattern>/devmgr/bootstrap</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>SetupServlet</servlet-name>
> <display-name>SetupServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.SetupServlet</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>SetupServlet</servlet-name>
> <url-pattern>/devmgr/setup</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>UserLogServlet</servlet-name>
> <display-name>UserLogServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.UserLogServlet</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>UserLogServlet</servlet-name>
> <url-pattern>/devmgr/userlog</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>UploadServlet</servlet-name>
> <display-name>UploadServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.UploadServlet</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>UploadServlet</servlet-name>
> <url-pattern>/devmgr/upload</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>UpdateCAB</servlet-name>
> <display-name>UpdateCAB</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.UpdateCAB</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>UpdateCAB</servlet-name>
> <url-pattern>/devmgr/cab</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>RapiServlet</servlet-name>
> <display-name>RapiServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.net.RapiServlet</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>RapiServlet</servlet-name>
> <url-pattern>/devmgr/rapi</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>UpdateServlet</servlet-name>
> <display-name>UpdateServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.UpdateServlet</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>UpdateServlet</servlet-name>
> <url-pattern>/devmgr/update</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>PingServlet</servlet-name>
> <display-name>PingServlet</display-name> <description>Ping
> Servlet</description>
> <servlet-class>oracle.lite.dm.PingServlet</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>PingServlet</servlet-name>
> <url-pattern>/devmgr/ping</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>InstallServlet</servlet-name>
> <display-name>InstallServlet</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.dm.InstallServlet</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>InstallServlet</servlet-name>
> <url-pattern>/devmgr/install</url-pattern> </servlet-mapping>
> <servlet>
> <servlet-name>Blackberry</servlet-name>
> <display-name>Blackberry</display-name> <description>Blackberry .cod
> Servlet</description>
> <servlet-class>oracle.lite.dm.BlackBerry</servlet-class> </servlet>
> <servlet-mapping> <servlet-name>Blackberry</servlet-name>
> <url-pattern>*.cod</url-pattern> </servlet-mapping> <servlet>
> <servlet-name>AutomaticStatus</servlet-name>
> <display-name>AutomaticStatus</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.AutomaticSync</servlet-class>
> </servlet>
> <servlet-mapping> <servlet-name>AutomaticStatus</servlet-name>
> <url-pattern>/WLTop/automaticstatus</url-pattern> </servlet-mapping>
> <servlet> <servlet-name>AutomaticSyncHistory</servlet-name>
> <display-name>AutomaticSyncHistory</display-name> <description>no
> description</description>
> <servlet-class>oracle.lite.web.AutomaticSyncHistory</servlet-class>
> </servlet> <servlet-mapping>
> <servlet-name>AutomaticSyncHistory</servlet-name>
> <url-pattern>/WLTop/automaticsynchist</url-pattern>
> </servlet-mapping>
> <filter> <filter-name>CheckSessionFilter</filter-name>
> <filter-class>oracle.lite.web.CheckSessionFilter</filter-class>
> </filter>
> <filter-mapping> <filter-name>CheckSessionFilter</filter-name>
> <url-pattern>/WLTop/*</url-pattern> </filter-mapping>
> <error-page>
> <exception-type>oracle.lite.web.util.ServerDown</exception-type>
> <location>/serverdown.html</location> </error-page> <error-page>
> <exception-type>oracle.lite.web.util.LogonError</exception-type>
> <location>/wronguserpassword.html</location> </error-page>
> <session-config> <session-timeout>480</session-timeout>
> </session-config> <mime-mapping> <extension>html</extension>
> <mime-type>text/html</mime-type> </mime-mapping> <mime-mapping>
> <extension>txt</extension> <mime-type>text/plain</mime-type>
> </mime-mapping> <welcome-file-list>
> <welcome-file>/home.html</welcome-file> </welcome-file-list> </web-app>
> </code>
>
> ----------------------------------------------------------------------
>
>
> --
>
> [Message sent by forum member 'opalyang']
>
> View Post: http://forums.java.net/node/780205
>
>