Hrishikesh Maha

Greenhorn
+ Follow
since Dec 16, 2001
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 Hrishikesh Maha

Can anyone please explain why the output of the following code snippet is coming out to be 2 ?
class A
{
int a = F1();
int F1()
{
return 1;
}
}
public class B extends A
{
int b = a;
int F1()
{
return 2;
}
public static void main(String [] args)
{
B bClass = new B();
System.out.println("OUTPUT: " +
bClass.b);
}
}
Hi Mike,
Thanks....this seems to work.
Regards,
Hrish
22 years ago
Hi,

I want to develop a sound editor in Java.
It will be an applet.

Can anyone please suggest me what all support is available for sound in JDK1.1.x and JDK1.2 versions.
If you can also suggest me resources for Java Sound that will be helpful.
Thanks and regards,
Hrish
22 years ago
Hi Axel,
I want to forwarded to the page with the bookmark so that when the page loads it directly goes to the book mark.
What you have suggested no doubt works without the bookmark character but my application requires it to forward with a bookmark
Regards,
Hrish
22 years ago
Dave,
In the javascript function Iam just submitting the form.

I tried to put debug statements in the the servlet. But the code executes till the line where I forward the request to the URL which has bookmark (#).
After that Iam seeing a blank page.
But if I remove the # character from the URL then the request gets forwarded properly to the page.
Regards,
Hrish
22 years ago
Hi,
Iam using MVC architecture for an web application.
From an JSP file(test.jsp) I want to redirect to a bookmark in another JSP(test1.jsp) file.
Iam using the following code:
<a href="javascript://" click="javascript:return submitForm('redirect','/test/test1.jsp#12')">12</A>
The javascript submits the form to the controller servlet.
The controller servlet forwards the request to the page.
The problem in my case is the controller servlet does not forward the request to the JSP file and I see only a blank page.
I think the problem is coming due to the bookmark ("#") character.
Is there any way to solve the problem.
Thanks in advance,
Regards,
Hrish
22 years ago
Hi,
Iam using JavaPlug-in: Version 1.3.1_01.
I want to sign applet for Internet Explorer 4.0 onwards. In the applet Iam trying to save to the disk and printing from the applet. I tried to sign the applet by first creating a cab file, then using the cabarc,makecert and signcode commands, but it doesn't seem to be working for IE with the plugin installed. The certificate doesn't even show up .
Can anyone help me out.
Thanks in advance,
Regards,
Hrishikesh
22 years ago
Hi,
Iam trying to get the version of the java plugin installed in a Applet.
Can anyone suggest any way to get it.
Thanks
22 years ago
Hi,
Iam trying to get the property
"java.specification.version" using the System.getProperty method, but Iam getting the output as null.
Can anyone help me out.
Thanks
22 years ago