jar - Solving Error when instantiating an object of a compiled class in JSP page -
please need java gurus in forum, have problem jar file importing jsp file when define object of imported class passbuilder.java (which class in passhide jar file imported)as "passbuider passer;" no error once instantiate class object "page cannot displayed error". please can solve this????below sample of code:
<%@ page import= "passhide.*"%> <% string userid = "owo123"; passbuilder passer;//no error passer = new passbuiler().getpass(userid);//throws page cannot displayed %>
yeah later found solution this, cause me running jar file compiled jdk 1.7 on jdk 1.6 environment. had recompile jdk 1.6, , holla error gone.
Comments
Post a Comment