Skip to content

Response.Write with JSP

Clearly, there’s a trend here. I’m trying to ramp up with some basic JSP knowledge and the quickest way I know how is by displaying error messages or attempting to debug my learning code.

In classic ASP or C#, the use of Response.Write is quite common, in JSP, you can write to the screen or the server log using the following example:




<% System.out.println("Error on line 1"); out.println("Error on line 1"); %>


Tags:

1 thought on “Response.Write with JSP”

Comments are closed.