Siddhartha Azad

Greenhorn
+ Follow
since Jan 03, 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 Siddhartha Azad

Here's what I did to run tcpmon:

Using tcpmon:


This is how I started it:


c:\j2sdk1.4.2_06\bin\java.exe -classpath c:\axis.jar org.apache.axis.utils.tcpmon


The listener port is any port tcpmon can listen at.
The target port is where tcpmon forwards requests, in case of JBoss running
on 8080, it will be 8080 and the target machine will be 127.0.0.1.

For web services clients taking the wsdl from localhost:8080, we can make them
take the wsdl from the file system and change the address in the wsdl:

...<soap:address location="http://NY731-4W-324a:10000/sidcomtest-ejb/SidStringPort"/></port></service></definitions>


This will make the client send requests to port 10000 (or whatever port tcpmon
is listening to)


Note that tcpmon for throwing an NPE with jdk 1.5.0_02.
Hope this helps...
Sid.
18 years ago
Hi, Is it possible to have hyperlinks inside HTML table cells, instead of plain text? If yes, how?
Thanks, Sid.
I need to download a file from a remote system using javascript. How can this be done? Can I somehow invoke FTP from inside javascript?
Thx, Sid.
Yep, onload would do it. But really sweet idea Jeffrey!! Thats kinda what I was looking for since I had to avoid javascript.
Thx, Sid.
19 years ago
Hi, I am having a strange problem I need to derive a class from SAXException. When I do so, or even when I do a
"throw new SAXException()", the compiler says:

.java:30: cannot resolve symbol
[javac] symbol : constructor SAXException ()
[javac] location: class org.xml.sax.SAXException
[javac] throw new SAXException();

I don't understand since I am having no problem using XMLReader and SAXParser classes and SAX is even parsing my XML. Then why can't I find the SAXException class. (Running jdk1.4.2 using TOMCAT).
Never Mind. I need to derive my exception frm SAXException.
19 years ago
Hi,
I faced this problem when trying to throw some custom exceptions from a class that derives from DefaultHandler (for SAX). I override the method startElement() of the interface ContentHandler. The prototype of this method in the interface says "....throws SAXException". But I want to throw some other exceptions from this method.
Is there a way around this?
Tx, Sid.
19 years ago
Hi, I need to invoke a servlet from an HTML page withoug having the user to press anything. I could use the redirect tag but I don't wanna do that since thats an additional step the user can view.
Is there a way to invoke the servlet automatically?
Thx, Sid.
19 years ago
JSPs can b developed in textpad/notepad. I prefer textpad cuz it gives u the color coding and stuff for JSPs. Then when u run'em in Vis Age using the Integrated Debugger, when loaded by Websphere, they you can do a stepwise debug thru them. I don't see why u need to use Vis Age to 'develop' JSPs. Debuggin is a diff issue!
Hope this helps, Sid.
21 years ago