Jeraldine Sheeba

Greenhorn
+ Follow
since Sep 10, 2004
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 Jeraldine Sheeba

Hi,

I have a .jsp page where I have two forms.
I fetch data from the first form and display it in the second form by onSubmit from the first.
For a particular onclick event of the second form, I have to pass values only from the second form and get the second from refreshed.
i.e., The first form should hold all the values(ex . in the textbox ) remaining the same.
Can someone suggest me how to do it using Javascript ASAP?
Thanks,
sheeba
19 years ago
JSP
Hi,

I have a .jsp page where I have two forms.
I fetch data from the first form and display it in the second form by onSubmit from the first.
For a particular onclick event of the second form, I have to pass values only from the second form and get the second from refreshed.
i.e., The first form should hold all the values(ex . in the textbox ) remaining the same.
Can someone suggest me how to do it using Javascript ASAP?
Thanks,
sheeba
To be more clear I need to overide the jspInit of a JSP Page...

Can u show a sample page where I can write some functionality within jspInit?

<!-- Imported beans -->

<%
public void jspInit() {

Map actionsMap = new HashMap();
//class which has the hashmap returning function
ActionsHandler actionsHandler = new ActionsHandler();
actionsMap = actionsHandler.getActionMap();
}
%>
This shows compiler error.
How to do this?
19 years ago
JSP
Hi,

I have to get a HashMap from a java file into a JSP Page and the specification adds that it should be done once (i.e., that it is in init of a JSP,there is no servlet to do it.)Can we write override init() of a JSP page and how should I do it?

Please suggest me a method ASAP
Thanks,
sheeba
19 years ago
JSP
Hi sridevi,

You can go to the URLS below where u can find a ample amount of information reg RMI.

web page



web page



web page

Cheers,
sheeba
19 years ago
Hi sridevi,

You can go to the URLS below where u can find a ample amount of information reg RMI.

web page



web page



web page

Cheers,
sheeba
19 years ago
Thanx for ur warm welcome into Javaranch...
I am also thankful for ur crstal clear reply.
Thaks a lot

regards,
sheeba
19 years ago
Hi friends,

I have a doubt (May sound simple) regarding the behaviour of the 'String' class.I have 3 programs.

Let me list one by one.

Program :1

public class Test
{
public static void main(String s[ ])
{
String s1 =new String("Hi");
String s2=new String("Hi");
if(s1==s2)
System.out.println("Both are same");
else
System.out.println("Both are different");
}
}

Program : 2

public class Test
{
public static void main(String s[ ])
{
String s1 =new String();
String s2=new String();
s1 = "Hi";
s2 = "Hi";
if(s1==s2)
System.out.println("Both are same");
else
System.out.println("Both are different");
}
}

Program : 3


public class Test
{
public static void main(String s[ ])
{
String s1 = "Hi";
String s2 = "Hi";
if(s1==s2)
System.out.println("Both are same");
else
System.out.println("Both are different");
}
}

The first one prints "Both are different" , but the next 2 two prints "Both are same", I want the exact explanation of this , why is this happening?


Expecting ur replies.......

Regards,
sheeba
19 years ago