Hi all,

Ive just download jakarta-tomcat version 3.2.1 Ive installed and
configured it
proper (to the best of my knowledge) to work with apache 1.3. Ive tested
the
examples from the webpage (they all work).

Now Im _trying_ to get a jsp file to generate a dynamic wml file for us.

------------------------------------------------------------------------------------------------

<%@ page.contentType="text/vnd.wap.wml" %>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
    <card title="jsp">
        <p>
            It worked
        </p>
    </card>
</wml>
------------------------------------------------------------------------------------------------

When I try to access this file from a nokia 7110 phone I get the
following error from tomcat

 2001-01-25 07:01:51 - Ctx( /examples ): JasperException: R( /examples +
/jsp/index.jsp + null)
/usr/local/jakarta-tomcat-3.2.1/webapps/examples/jsp/index.jsp(2,0) Page
directive: Invalid attribute, .contentType

what gets written to jasper.log
------------------------------

2001-01-25 07:01:51 - JspEngine --> /jsp/index.jsp
2001-01-25 07:01:51 -        ServletPath: /jsp/index.jsp
2001-01-25 07:01:51 -           PathInfo: null
2001-01-25 07:01:51 -           RealPath:
/usr/local/jakarta-tomcat-3.2.1/webapps/examples/jsp/index.jsp
2001-01-25 07:01:51 -         RequestURI: /examples/jsp/index.jsp
2001-01-25 07:01:51 -        QueryString: msisdn=35386......
2001-01-25 07:01:51 -     Request Params:
2001-01-25 07:01:51 -            msisdn = 35386.....
2001-01-25 07:01:51 - Classpath according to the Servlet Engine is:
/usr/local/jakarta-tomcat-3.2.1/webapps/examples/WEB-INF/classes

The apache access_log
-----------------------

193.120.144.60 - - [25/Jan/2001:07:01:51 +0000] "GET
/examples/jsp/index.jsp?msisdn=35386......  HTTP/1.1" 500 2219


It seems it dont like the
        <%@ page.contentType ......

directive located at the first line of the example.



Am I missing any specific config setting to get tomcat to generate wml.


Any help appreciated,

regards

Gearóid



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to