How to read the error messages from java console..

Hai

How to read the error messages from java console..

Bcoz i am compiling java file from jsp and try to print the compilation error in the browser itself.

The class file is created after sucessfull compilation. But if compilation error occurs it will printed in the tomcat console.

I want to display this error message in the browser?

Pls provide a solution..

Thanks

[410 byte] By [JoeBorlanda] at [2007-11-27 0:59:36]
# 1

On a live site, you wouldn't be using JSPs that don't compile!

The compilation errors that go into the Tomcat log and/or console are just to aid you during development.

There's no need to get them going to the browser. Once you've got the JSPs working you won't need to worry about the errors :-)

RichFearna at 2007-7-11 23:34:02 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...