<pre> Hi All, Can any one help me , my problem is i have a jsp that is calling a simple bean method for displaying a message . When im trying to call the beans methods it conntinusly giving me error unable to resolve the Beans' name my jsp content is:
jsp code is :- <code> (i have remove the code symbol and as its not appearing ) page language="java" import="com.Arvind*" jsp:useBean id="mybean" scope="session" class="com.Arvind" out.println("Hello"+mybean.callMe());
</code>
beans is :-
<java> package com; public class Arvind { private String st ="This Is Me??"; public String callMe(){ System.out.println("Hello World!"); return st;
}
public static void main(String[] args) { System.out.println("Hello World!"); } } </java> i have tried it a lot but all time it fails resolve the class name itself ??