I create a swing application - it works and compiles
I then create a .jsp file and copy the code between the tags. I use Tomcat
(the latest) as a JSP Server and the **** thing refuses to compile. Some
of the errors Tomcat returns are:

Should I use the swing class in a Bean rather - PLEASE HELP!!!!!

Unable to compile class for JSPC:\tomcat\work\localhost_8080%2Fexamples\_0002fjsp_0002fshaun_0002fswing_0002ejspswing_ jsp_0.java:58:
Missing term.
out.write("\r\n\r\n\r\n\r\n\r\n\r\n Swing Demo in JSP \r\n");
^
C:\tomcat\work\localhost_8080%2Fexamples\_0002fjsp_0002fshaun_0002fswing_0002ejspswing_jsp _0.java:58:
';' expected.
out.write("\r\n\r\n\r\n\r\n\r\n\r\n Swing Demo in JSP \r\n");