tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Problems with parsing html with servlet
Date Fri, 09 Jul 2010 08:27:48 GMT
I seem to recall that you have already been told this several times, but just to remind you
:

"/ukjava1900" is NOT equal to "/UkJava1900"

  like in

 > <FORM action=/ukjava1900
versus
 >     <url-pattern>/UkJava1900</url-pattern>

In addition, you have also been told already that proper HTML requires that tag attribute

values be quoted, like in

<FORM action="/ukjava1900">


John Byrne wrote:
> Hi
> 
> Please find listed below thesituation with tomcat installation.  I can
> deploy html pages via the manager service or
> http://localhost/comlinks/mypage
> 
> The requested resource (/ukjava1900) is not available.
> 
> I list below the changes I have made to sotware.  Thank you for your
> help in preious thread
> 
> Software used
> 
> jdk-6u21-windows-x64
> tomcat-6.0.26
> 
> 
> This is the start up log
> 
> 
> 
> 09-Jul-2010 07:50:34 org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal performanc
> e in production environments was not found on the java.library.path: C:\tomcat 6
> .0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\PROGRAM FILES
> \jdk1.6.0_21\BIN
> 09-Jul-2010 07:50:34 org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-80
> 09-Jul-2010 07:50:34 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 997 ms
> 09-Jul-2010 07:50:34 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 09-Jul-2010 07:50:34 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
> 09-Jul-2010 07:50:34 org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Deploying configuration descriptor host-manager.xml
> 09-Jul-2010 07:50:35 org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Deploying configuration descriptor manager.xml
> 09-Jul-2010 07:50:35 org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory comlinks
> 09-Jul-2010 07:50:36 org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory docs
> 09-Jul-2010 07:50:36 org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory examples
> 09-Jul-2010 07:50:36 org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory ROOT
> 09-Jul-2010 07:50:36 org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-80
> 09-Jul-2010 07:50:36 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 09-Jul-2010 07:50:36 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> 09-Jul-2010 07:50:36 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2007 ms
> 
> ************
> 
> 
> 
> conf\context.xml
> 
> <Context reloadable="true" privileged="true">
> 
> *********
> 
> webapps\comlinks\web-inf\web.xml
> 
> <web-app xmlns="http://java.sun.com/xml/ns/javaee"
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
>    version="2.5">
> 
>   <display-name>Welcome to Tomcat</display-name>
>   <description>
>      Welcome to Tomcat
>   </description>
> 
>   <servlet>
>     <servlet-name>UkJava1900</servlet-name>
>     <servlet-class>formprocessors.UkJava1900</servlet-class>
>   </servlet>
> 
> 
> 
>   <servlet-mapping>
>     <servlet-name>UkJava1900</servlet-name>
>     <url-pattern>/UkJava1900</url-pattern>
>   </servlet-mapping>
> 
> </web-app>
> 
> 
> ***********
> webapps/conf/web.xml
> 
> <servlet>
>         <servlet-name>default</servlet-name>
>         <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
>         <init-param>
>             <param-name>debug</param-name>
>             <param-value>0</param-value>
>         </init-param>
>         <init-param>
>             <param-name>listings</param-name>
>             <param-value>true</param-value>
>         </init-param>
>         <load-on-startup>1</load-on-startup>
>     </servlet>
> 
> *********************
> 
> This is the first line in servlet uk1900java.java
> 
> 
> package formprocessors;
> 
> *********
> 
> This is the form action
> 
> <FORM action=/ukjava1900
> 
> ***********
> 
> 
> Kind Regards
> 
> John
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message