EJB programming & troubleshooting: How to debug JSP compilation error in WebSphere ?

  1. If jsp has syntax error, WebSphere JSP compiler throws "Compilation Error" without any clue. Unlike Java Web Server, it does not tell you which line has failed compilation. How to get the failing line in JSP ?
  2. The harder way , put either try - catch blocks or println statements, or use even more harder method ,jsp exception classes.
  3. look in stderr logfile of the appserver