This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 751
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


 
 
subject: Calling Servlet from SQL Server Stored Procedure
 
Similar Threads
problem with writing file , please help
Problem with a filter to alter a gif in the response
How do I run a java file inside JSP?
member variables in servlet
Null Pointer Exception