> Hi All,
> How do I invoke the doPost routine of a servlet
> explicitly from within another servlet ?
Try building a URLConnection from the calling servlet
to that called one. ( And later then it depends on
how the called doPost routine has defined
its I/O parameter interface. )
> Also, I want the new servlet to be loaded into my
> browser, replacing the older one. I do not have any
> submit buttons for the same.
Java Script's "location.replace(newURL)" might
be of some help.
> Will response.sendRedirect("nameofservlet") work ?
A little difficult, I'm afraid.
Well, just for your reference.
Best regards!
----------------------------------------
Romantic Emotionalists Must Endure Ordeals.
Email1(200103): [EMAIL PROTECTED]
Email2(200011): [EMAIL PROTECTED]
Email3(199908): [EMAIL PROTECTED]
Email4(199906): [EMAIL PROTECTED]
Office: Tokyo, Japan http://www.gecapital.com
Home: Dalian, Liaoning, China (Hometown: Hunan)
----------------------------------------
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html