jsp page - bouncing back strings

Hey guys,

I was just assigned the dubious task (dubious because I've never used JSP before) of creating a JSP page that will send whatever is sent at it (in the form of a string) back to who sent it.

I believe it is to be used as a test page, such that someone can send error messages to it and I will send those back to them.

What will happen is that my page should take what a user writes to it via a callback and then just send it back so that he can read it.

Can anyone tell me where I should start trying to figure out what to do here?:) Even just saying "you'll probably need to look at this function" will be appreciated!

thanks!

Dave

[697 byte] By [linsalad] at [2007-9-26 1:19:07]
# 1

ideally this error message can be sent as a paremeter in the HTTP request.

If this is the case you can easily write it to the screen using the out and request objects.

Example of the jsp responding to the request

<%

out.writeln("The error I received was: "+request.getParameter("errorMessage"));

%>

walaloo at 2007-6-29 0:51:05 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...