This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!

sam patel

Ranch Hand
+ Follow
since Jun 13, 2002
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 sam patel

Hi All,
IS there any way i can disable proxy setting when my applet is run on remote network machine.
If so, how? Is there any examples i can look at.
Thanks in advance.
14 years ago
Hi All,
I have developed an applet-servlet application in Jbuilder9. When I run my applet from JBuilder it runs fine.
So, this is what i did...
I copied my package class file to
D:\JBuilder9\thirdparty\jakarta-tomcat-4.1.24-LE-jdk14\webapps\examples\WEB-INF\classes

and my LoginScreen.html file in
D:\JBuilder9\thirdparty\jakarta-tomcat-4.1.24-LE-jdk14\webapps\ROOT
LoginScreen.html
----------------
<html>
<head>
<title>
</title>
</head>
<body>
<applet
codebase = "."
archive = "ScanStation.jar"
code = "scanstation.LoginScreen.class"
name = "ScanStation"
width = "350"
height = "200"
hspace = "0"
vspace = "0"
align = "middle"
>
</applet>
</body>
</html>
When i run this from Internet Explorer as....
http://10.120.123.15:8080/LoginScreen.html
it displays the Login screen that i created....But when i hit my button to submit it's not displaying anything....
In my Java Console....I am getting the following error.
Java(TM) Plug-in: Version 1.3.1_05
Using JRE version 1.3.1_05 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\sam
User has overriden browser's proxy settings.
Proxy Configuration: Manual Configuration
Proxy: XXX.XXXXXX.com:80
Proxy Overrides:
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
http://10.120.123.15:8080/examples/servlet/scanstation.ServletClass?Login=SAM&Login=SAM
Connecting...
Getting input stream
java.io.IOException: Connection failure with 407
Exception occurred during event dispatching:
java.lang.NullPointerException
at scanstation.LoginScreen.displayLogInInformation(LoginScreen.java:220)
at scanstation.LoginScreen.jButton1_actionPerformed(LoginScreen.java:151)
at scanstation.LoginScreen$1.actionPerformed(LoginScreen.java:88)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Any help will be greatly appreciated.....
14 years ago
Hi,
I have blob field in SQLServer and i would like to write that blob to a file.
Any help or suggestions will be greatly appreciated.
Thanks
14 years ago
Hi,
Does anybody know how to create a CSS for HTML Select.
Any ideas will be greatly appreciated.
Thanks in advance.
You can download documents and samples for JBuilder from Borland home page.
I figured it out!
EnclosingClass ec = new EnclosingClass();
EnclosingClass.InnerClass ei = ec.new InnerClass();
15 years ago
Hi,
How can i call a setName() method of the Inner class in below code.
Any help will be greatly appreciated.
Thanks.
public class EnclosingClass{
public class InnerClass{
private String name;
public String getName(){
return name;
}

public void setName(String name){
this.name = name;
}
}
}
15 years ago
Hi,
THis is what i want to do.
I have
===============================================
1. Provider Name: Abrar, Naim, MD
Specialty(ies): Internal Medicine
Address: 1149 Old Country Road, Bldg C Suite 1, Riverhead, NY 11901
Phone Number(s): (631) 369-3333
� Provider Detail
� Enrollment IDs
Map

2. Provider Name: Alter, Seymour, MD
Specialty(ies): Internal Medicine
Address: 222 East Main Street, Smithtown, NY 11787
Phone Number(s): (631) 265-1177
� Provider Detail
� Enrollment IDs
Map

3. Group Name: AMB Medical Services, PC
Address: 1 Kings Hwy., Hauppauge, NY 11788
Phone Number(s): (631) 348-4900
Providers:
Liang, Weining, MD
Specialty(ies): Internal Medicine
� Provider Detail
� Enrollment IDs
Map
==================================
about 200 names information in my file and i want to read each line and write only Group Name, Address, Phone Number in another file.
Can someone please show me how this can be done...
Any help will be greatly apprecited..
Thanks.
15 years ago

Originally posted by Priyanka Chopda:
Hi,
I have this javascript fuunction and wehn I try to call it on onclick event it say object doesn't support this property?? Can anyone help me out here
thanks in advance
-PC
-----------------------------------
function today(form){
var d = new Date();
var todaydate= d.getFullYear()+"-"+(d.getMonth() + 1)+"-"+d.getDate();
document.form.modificationDate.value=todaydate;
}
-------------------------------------


Hi Priyanka,
I just created a simple example and it worked.
I think the problem is @ document.form.modificationDate.value=todaydate;
Did you create FORM tags in your html code and/or did you give a form name.
If you did not create a form name just call any name and replace it with the form
Hope this helps.
[ September 26, 2003: Message edited by: sam patel ]
Hi,
Can someone please tell me what kind of IT jobs are offered in India these days?
15 years ago
Hi,
I have WAS5.0 installed in my computer and wanted to run the sample petstore application.
Can someone please tell me how this can be done.
I have the server running...
I am trying to look for documentation on how to run my application that i created in WSAD 5...
Help...
Thanks.
15 years ago
Hi,
I have this tiff plugin. There is a pop up menu when you Right Click on the Image. I need to disable that right click mene on the browser. Right now i have javascript that disables the mouse right click outside the plugin window....
Any help will be greatly appreciated...
Thanks..
Hi Eric,
Thanks you for your BIG help. It worked...
Again THanks.
Hi,
I want to refresh my window, when i max and min my window size...
Can someone please tell me if this is possible...
If so can you please show me a simple example.
Greatly appreciated...Thanks in advance.