Creating WAP application with jsp/asp


Creating WAP application with jsp/asp


Using ASP or JSP to create dynamic WML content is very easy. The only thing to note is to configure the server so that its script output type is “text/vnd.wap.wml”, or directly set the output type in the script.

The following is an example of using JSP to output dynamic WML content:

<?xml version=”1.0″?>



<% response.setContentType(“text/vnd.wap.wml”); %>


<card id=”start”>

<do type=”accept”>

<go href=”index.jsp#test”/>


<p>Output dynamic WML with jsp:<br/>

Select accept to continue< br/>



<card id=”test”>

<do type=”prev”>





out. Println (“Hello, test succeeded! <br/>”);





Recommended Today

Without vim-airline/lightline.vim, how to make a beautiful vim status bar by hand

I shallspace-vimThe status bar is extracted separately into a plugin:…, you can install the trial directly. First look at the final effect: Know yourself and the enemy, and you will not be imperiled in a hundred battles. Let's first analyze what are the benefits of using airline and lightline? Pretty, cool, no doubt about it. […]