Reputation: 1
I've a use case to access a java method from a JSP file placed on Tomcat server. I created a package "myCode" within webapps folder and placed both java source file "myJava" and jsp file "myJsp" inside it. But when I've tried importing the file using <%@ page import="myCode.myJava"%>, I'm getting "The import myCode cannot be resolved". Anything missed from my side? Appreciate your help on this. Thanks
Expecting to call the java method from JSP file
Upvotes: 0
Views: 40