File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Calling Servlet from SQL Server Stored Procedure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Calling Servlet from SQL Server Stored Procedure" Watch "Calling Servlet from SQL Server Stored Procedure" New topic
Author

Calling Servlet from SQL Server Stored Procedure

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 757
Hi

I have written one stored procedure for making XML HTTP Request.

Below is my procedure



and when i call my servlet the code of the servlet is not getting executed. i am not able to understand the reason.

initially i thought its not actually making any request. so i passed the wrong url, in that case it returned me a response with 404 error code.

but with the correct URL it is going me OK response but code of the servlet is not getting executed.

below is my servlet code in which i am creating file and writing into it

TestServlet.java



Jigar Naik


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling Servlet from SQL Server Stored Procedure