i cant say it is complete jsp...

i have written the following code...


<%@ page import="java.io.*"%>

<%@ page import="java.util.*" %>

<% String s = "yTD3em";

String upper ="";

String lower = "";

String number = "";

char thisChar;



%> <% for (int i = 0; i < s.length(); i++) {

thisChar = s.charAt(i);


if (thisChar >= 65 && thisChar <= 90) {
%>

<embed src="mp3/uppercase.mp3" autostart="true" hidden="true" loop="false">


<% out.println(thisChar);
} else if (thisChar >= 97 && thisChar <= 122) {
%>
<embed src="mp3/lowercase.mp3" autostart="true" hidden="true" loop="false">


<% out.println(thisChar); } else if (thisChar >= 48 && thisChar <= 57)
{
%>
<embed src="mp3/number.mp3" autostart="true" hidden="true" loop="false">

<% out.println(thisChar);}

%>

<embed src="mp3/'+thisChar+'.mp3" autostart="true" hidden="true" loop="false">
<%

}

%>

all this is new to me... my need is audio captcha... in this code i m trying is.. taking an input string... yTD3em and want output in sound lowercase y uppercase T uppercase D number 3 lowercase e lowercase m.. but what i am getting here lowercase uppercase number and so on... the value of sound is there... it will be really thankful if someone can help me out...