Can someone let me know how to invoke a servlet from inside ASP. I have a servlet that takes in a parameter and connects to the database and gets the data. Now I need to call this servlet from an asp page. How can I do it? Thanks.
sure -- just rewrite the ASP page as a JSP page (helpful ain't I?) I don't know much about ASP... but can you create something like a URLConnection and use it to make a request to the Servlet -- and have it return the HTML output of the Servlet?? There's no direct way you can call a Servlet from an ASP page that I know of.
AFAIK, ASP does have this - Response.redirect "URL_HERE?a=1&b=2" construct, and your servlet can handle querystring params in the doGet method. HTH, - Manish