Close
jGuru Forums
Posted By: H_P Posted On: Monday, July 7, 2003 10:24 AM
I have a helper class in which I have couple of static methods which return a vector. Both methods work fine when the helper class is run as a java application. In factone method I am able to access from the JSP but the other one is giving me "javax.servlet.ServletException".
here is the code <% int id=1234; Vector ctg= new Vector(); ConfiguratorFactory ct= new ConfiguratorFactory(); ctg =(Vector) ct.getDistinctCategory(1234); System.out.println("Group is "+ ctg); %> Thank you in advance.
Re: Problem accessing the static method of a helper class in JSP.
Posted By: Joe_Millionaire Posted On: Monday, July 7, 2003 11:46 AM