one of the way the cotrol the cache is
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "No-cache");
response.setDateHeader("Expires", 0);
...
Type: Posts; User: sebtain; Keyword(s):
one of the way the cotrol the cache is
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "No-cache");
response.setDateHeader("Expires", 0);
...
<%
String acceptHeader = request.getHeader("accept");
if (acceptHeader.indexOf("application/vnd.wap.xhtml+xml") != -1)
response.setContentType("application/vnd.wap.xhtml+xml");
else if...
great ...go on ...All the best.
Thanks for your reply...mr peter
I think almost all mobile's support wml tags...what we need to do ..is...give appropriate..mine type or response type.... like..this
response.setContentType("application/vnd.wap.xhtml+xml");
...
yah...i too feel the same..clearing the cache and cookie..will help...
one more way to control..your caching...is programtically..u can do it
response.setHeader("Cache-Control", "no-cache");...
I to want to know this.....
please let me know us reagarding this...
Hi..
If Your using nokia..phone which is having gprs facility..
Then do like this..
---menu.....web...then go options(left button)..bookmark mangaer ...say select..add book mark..in which ur...
Hello..
Due to mean to ask..how to invoke the application from mobile..
Is xhtml MP...is standared to all the mobile phone..?
please let me know..this...
waiting for reply...
NOt all the mobile browser supports Xhtml...
what is the back end your using ...
if your using ..java..
please insert the code in jsp and you will get maximum information..
Enumeration headers=request.getHeaderNames();...
It is better idea to validate the fields at the server side...
you may feel more convient...in doing that...
yes , ofcource you can use xhtml+jsp
most of nokia phones supports it..and other mobile phones also support ..but you may find some limitation..
Try out..all the best..
if your using emulator ...
instead of calling application..through. localhost ...call ip address(ur application system) like 127.0.0.1 or some thing like this..
All the best.
Boss,
Jsp is viewable page ..as we generally write it in html pages..
insted of html you write in ...wml....with appropriate wml tag.
and save it as .jsp
it will become jsp page(which will be...
please check out ...mime type you have declared.
check out this link ..you can find a emulator..it's trial version ...period of 15- 30 days.
http://www.wap-proof.com.
All the best..