Following error is coming in eclipse when using the default preview server .
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required.
when i ran javac from command prompt its running fine and my JAVA_HOME is set correctly.As eclipse uses jetty as default server and i have googled that in web.xml we need to configure the servlet tag for jsp to compile ,and my issue now is that there is another webdefault.xml in etc folder but i am not able to loacte it and may be my web.xml is not loading and only webdefault.xml is loading ,and still i am getting the same error.kindly have a look.
Agreed, if javac runs okay from the command line, you have the JDK installed. Now it sounds like the issue is the Eclipse configuration. I use Netbeans and Tomcat so I'm not going to be much help there.
I suggest you try our Eclipse forum where the experts on that IDE hang out. Sorry I can't be more help.