hai,
i want to develop wap site. so i am using nokia mobile toolkit 4.0 for tht.i am using wml to develop the site.i want to store data in database.thers datas are passed from the wml page.
so i used jsp to store data in database.to see the output i used wml in jsp.but while running the program only wml code in the jsp page is excuted and all the codes in jsp are prited on the emulator screen as it is.means whatever is there in between <% and %> are directly printy on the screen.i tried with the following code

//
<%@ page import="java.io.*,java.util.*" %>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">



<%@ page contentType="text/vnd.wap.wml;charset=ISO-8859-1"%>
<wml>
<card>
<do type="accept">
<go href="http://localhost/mainMenu.wml"/>
</do>
<%out.println("hai");%>
<p>
Your request has been sent to the library Administrator.
</p>
</card>
</wml>



then i got the output on the emulator screen as

//
<%@ page import="java.io.*,java.util.*" %>
<%@ page contentType="text/vnd.wap.wml;charset=ISO-8859-1"%>
<%out.println("hai");%>
Your request has been sent to the library Administrator.

//

Any setting is needed to combine jsp&wml.is there any method to store data in database in wml other than php.pls help me to do this