Just in case anyone has the same problems with this I'll put the solution down here.
I was getting an error for JBoss trying to compile my jsp pages from wars when deploiyng and running through eclipse (3.0.2).
-in the server naviogator view, there is start/shutdown/terminate/configuration
-in configuration select your server and the JDK tab. I added my jdk to eclipse as a jre (meaning using the jdk root path i.e. JAVA_HOME, not the jdk's jre root)
-in the JDK tab select the jdk jre, apply and away you go.
i checked jsp compilation support and it creates Empty folders how to comile jsp file .
any soluation need urgent...