Hi
I dont think you will be able to dymanically create teh jsp page like that. What I would do is have javascript variables instead of jsp ones. Read in the content of the text file (using the classloader so it will also work if deployed as a war) and populate the javascript variables at teh top of your page,
So your jsp would look like this
<html>
<script>
var variable1 = <%=variable you want the value of%>;
</script>
Then here you would output the html contained in your text file
And your html would have something like
<html>
<h1>Person name <javascript
ocument.write(variable1)></h1>
Hope that helps you a bit, sorry if this reply seems a bit hurried.
Damien