Skip to content

Automating JSP website using C# HttpWebRequest

Imri Barr

Asked Oct 30, 2011, 7:29 AM EDT1 answer
Share
LinkedInX
Hey,

I'm trying to automate some repetitive tasks using C# HttpWebRequest but I simply can't figure out the website I'm trying to automate.

The pages there have an extension of .do files and when I looked it up I found up that it means that the website uses the struts technology. Then, when I realized that, I tried to find the web.xml file so I could track the URLs from there but I couldn't find any web.xml file.

When I track the website with fiddler, I see the requests sent to a .do file which is the same file that handles all the requests but each request has a different content length, which means it's all being sent with a POST method but I can't figure out the parameters I need to send. How can I analyze the POST requests using fiddler or any other program?

Thanks in advanced.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 1 short reply
    • 0
      bump.
      0