cherry sawant

Greenhorn
+ Follow
since Mar 26, 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 cherry sawant

Hi,
I am getting an exception - java.net.SocketException: Software caused connection abort:
JVM_recv in socket input stream read
I get this error for the line as follows:
SmtpClient client = new SmtpClient(mailServer);
The constructor takes the ip of the smtp server.
import sun.net.smtp.SmtpClient;
I have never used the sun.net.smtp.SmtpClient before. Where can I find a documentation or Api for knowing it better as I am debugging the code written by someone else.
How do I get the error above?
Thank You..
19 years ago
Hi
I have a page(banner) on a third party site and I want to track how many users are using that page and successfully booking through that page. The page is hosted on my server not on third party site. The request to that page is via a servlet.
There are few options I have thought about but there are some advantages and disadavantages. I want to know which is better solution.
1. creating a table and updating it whenever user hits the servlet from the page.
2. ServletContext.
Thanks in advance.
20 years ago
Thanks For Ur GReat help
Anyways the implementation has been changed to Javascript instead of applet and it has been done.
This might be an help in future.
Regards,
cherry

Originally posted by Chris Chen:
use this:
getAppletContext().showDocument(URL url,String target);
The target argument is interpreted as follows:
"_self"
Show in the window and frame that contain the applet.
"_parent"
Show in the applet's parent frame. If the applet's frame has no parent frame, acts the same as "_self".
"_top"
Show in the top-level frame of the applet's window. If the applet's frame is the top-level frame, acts the same as "_self".
"_blank"
Show in a new, unnamed top-level window.
name
Show in the frame or window named name. If a target named name does not already exist, a new top-level window with the specified name is created, and the document is shown there.

20 years ago
Hi
I want to display 5 offers on a ticker where each offer to displayed for 5 secs. I want to implement it in applet. Same time offers should be displayed as a hyperlink on the ticker. That is if the user clicks on the offer it should take it to description page of that offer. This is bit urgent. Can anyone please suggest me how to go about it.
Thanks in Advance.
20 years ago
Thanks, I will definitely change my display name and my problem is solved by keeping a static html redirect page called through xsl file.
Thanks anyways

Originally posted by John Wetherbie:
You could put some JavaScript in the otherwise element that has:
location = "URL to go to";
in it as one approach.
BTW, please check out the JavaRanch naming policy and re-register.
John

Hi
This the first time I am posting any mesage.
<xsl:when test="cottage/postCode != ''">
<tr>
<td><img src="/0.gif" alt="" border="0" width="13" height="14" hspace="5"/></td>
<td><a href="http://www.multimap.com/map/browse.cgi?pc={cottage/postCode}&scale=1000000" target="_blank">Find this property on a map</a></td>
</tr>
</xsl:when>
<xsl therwise>....
Now I want to redirect it to some other page instead of the url given in the href. And that page will take me to the url specified. How do I go about it.The url specified is external. I want to do this becuase I want to count the number of hits on page from my site to this multimap.com site which I can do only if it is internal through webtrends.
Thanks in advance