how to view the servlet generated from jsp in eclipse ? i tried searching the tomcat directory where my webapps go , but it contained only class file. also searched on eclipse .workspace folder but in vain. everytime i have to do something with eclipse i have found that it either does not have the option or the option is buried deep down somewhere. netbeans have a nice option in the context menu to view the generated servlet. i wish eclipse had the same and wonder why they didnt put it . still people call eclipse the no. 1 ide. i have already started hating it but want to give it a try
Eclipse doesn't provide that option. Tomcat does. The last time I had occasion to use this feature, it was in tomcat work. I haven't looked at a compiled JSP in years though because I've been following the best practice of keeping the Java code out of the JSP.