Um.. I have started a project on Java which basically is a sort of Text files (like pdf and doc, and web documents) reader. This project is intended to help Visually impaired people so that they can read the computer and importantly the web. So I wanted to make this a Browser based application. I am using Java Speech API to perform this project. I am able to produce speech output creating simple desktop applications in Java, now I cannot figure out a way by which I can implement TTS (text to speech) , voice output in the web using this API. I have tried using applets but I couldnot figure out how.

I am expecting some advice on what tools should I use to perform Voice output in WEB. If there is any other options than Java,,, that is also welcome, because I really need to complete this project. Please Please help me out!!!