Can you give me some more idea please.
Actually using URLConnection also I can request a servlet from my stand
alone Java program.
But the thing is, to call a method in a servlet I have to get an instance of
that servlet.
My doubt is How do I get that instance to call that servlet's specific
method other than service/get/post methods.
Because If I send a request to a servlet by default you can call get or post
or service method(if it is generic servlet).
Please clarify.
And thanx for you response.Yours was the only response that I had got.:-(
Regards
Yogaraj 


-----Original Message-----
From: Sami J. Casab. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 11:45 PM
To: [EMAIL PROTECTED]
Subject: Re: How do I ?


you can use geturl method. With this method you can call a servlet, jsp or
an http document in general form your standalone application. I hope this
help you.

Sami.

-----Mensaje original-----
De: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]En nombre de It, Cockpit (CAP,
Contractor)
Enviado el: Mi�rcoles, 20 de Febrero de 2002 10:35 p.m.
Para: [EMAIL PROTECTED]
Asunto: How do I ?


Dear Friends,
I have an urgent requirement.
How do I call other than Service method of a servlet from my stand alone
Java programe?

Help me please!
Yogaraj


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this 
communication is strictly Prohibited. 
If you have received this message by error, please notify us 
immediately, return the original mail to the sender and delete the 
message from your system."

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to