SoFunction
Updated on 2025-04-07

Create WAP application with JSP/ASP

Create WAP application with JSP/ASP


(BY:DarkMan)

It is very easy to create dynamic WML content using ASP or JSP. The only thing to note is to configure the server to have its script output type "text/", or directly set the output type in the script.

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

<?xml version="1.0"?>

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"

"/DTD/wml_1.">

<% ("text/"); %>

<wml>

<card >

<do type="accept">

<go href="#test"/>

</do>

<p>Export dynamic WML with JSP:<br/>

Select Accept to continue!<br/>

</p>

</card>



<card >

<do type="prev">

<prev/>

</do>

<%

("<p>");

("Hello, the test was successful!<br/>");

("</p>");

%>

</card>

</wml>