Oro smith schrieb:

On comparing the http headers,

The content type of the response header seems to be text/vnd.wap.wml for the login 
page.

However for all the pages after that the content type is text/html, even though it is 
a wml page.

is this right?

Smith.

well, I guess that's the problem. I don't know your sitemap so I can't tell you exactly how to correct the problem. make sure that the wml pages are serialized correctly (i.e. using a serializer setting the correct mime type).


example serializer snippet:

...
<map:serializer name="wml" mime-type="text/vnd.wap.wml"
logger="sitemap.serializer.wml"
src="org.apache.cocoon.serialization.XMLSerializer">
<doctype-public>-//WAPFORUM//DTD WML 1.1//EN</doctype-public>


<doctype-system>http://www.wapforum.org/DTD/wml_1.1.xml</doctype-system>
                <encoding>ISO-8859-1</encoding>
            </map:serializer>

...




Quoting  [EMAIL PROTECTED]:



Oro smith schrieb:

Quoting  [EMAIL PROTECTED]:



Hey Oro, maybe the problem is your WAP client doesn't like query

strings

in the URL? I know it sounds weird, but it could be.

You have a matcher for "test.wml" - try accessing it with some

(dummy)

parameters, e.g. "test.wml?foo=bar"

If that IS your problem then instead of URLs like:
mail/mail/mail.wml?cmd=cat-message-by-id&id=3
... you could change your sitemap to handle URLs like:
mail/mail/cmd/cat-message-by-id/3/mail.wml


There is a link which goes to mail/mail/mail(2).wml

It is the link that goes to the next page of the inbox. This page is

also not displayed. The url does not have a query string though.


try to change the url pattern so that it doesn't contain parentheses, e.g.: mail/mail/mail_2_.wml

some gateways don't like certain characters in URLs, e.g. commas.

and as already mentioned check/compare HTTP headers.


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




-------------------------------------------------
Still single? Click here to find the perfect match.
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141


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



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



Reply via email to