Without testing this, I am thinking that what the error is really saying is that you already have a variable called person defined in the jsp.
This creates a person variable TestStdActSrv person = new TestStdActSrv();
this line kind of wants to create a second one <jsp:useBean id="person" class="com.TestStdActSrv" scope="request" />
if you change your jsp to
it should all work
I haven't tested this so I hope I am not making a fool of myself
Joined: Sep 14, 2005
tnx Mat, yes u r right, but i jut figured the reall reason, looking in the translated tomcat code, which is actually very logical. In test1 person is created once in dervlets doGet() method and once in jsp's _jspservice method. But in test2 both person r tryed to be instantieted in jsp's _jspservice method, which is preaty obvious thta wont work silly me