Mukund Pande

Greenhorn
+ Follow
since May 21, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mukund Pande

Hi Friends,
Biggest question I have in mind is, SCBCD 3.0 appears to be only about mugging up the annotations and deployment descriptor elements. Is there any other way to remember annotations or by hearting these annotations the only option?

Regards,
Mukund
www.certmanager.net/sun/

login - Prometric Candidate ID
<%@ page language="java" %>
<%@ page import="EmpBean" %>
<jsp:useBean id="user" class="EmpBean" scope="session">
<jsp:setProperty name="user" property="*"/>
</jsp:useBean>
<html>
<body>
<form method=post action=/abacus/servlet/SampleServlet>
<input type="text" name="empcode"><br>
<input type="text" name="empname"><br>
<input type="submit" value="submit">
</form>
</body>
</html>
I have the above jsp page which is submitted to the SampleServlet. How to pass the bean object "user" which is set in the Jsp to the servlet?
20 years ago
JSP
Thanks a lot for the overwhelming response.
Now I am comfortable about this concept.
Thanks
class A {
void m1(A a) {System.out.print("A");}
}
class B extends A {
void m1(B b) {System.out.print("B");}
}
class C extends B {
void m1(C c) {System.out.print("C");}
}
class D {
public static void main(String[] args) {
A a1 = new A();
B b1 = new B();
C c1 = new C();
A c2 = new C();
c2.m1(a1);
c2.m1(b1);
c2.m1(c1);
}
}
I feel the answer should be ABC, but actually it prints AAA