Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting 400 bad request error  RSS feed

 
Mani Sing
Greenhorn
Posts: 7
Linux Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
I designed a simple Struts program for invoking any URL given by browser. But when i input URL and click submit it always shows 400 error on the browser . I have also given setProperty methods for setting proxies as well. Please help me regarding this problem.
 
Mani Sing
Greenhorn
Posts: 7
Linux Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Guys Please help me regarding that i'm waiting for your replies.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

If I were to tell you "I wrote this program to show 3D topographical map data, but all the mountains are in the wrong places, please help," do you suppose anyone would be able to help? I doubt it, because no one would know anything about my program. If you have no idea how something works, it's pretty hard to suggest why it might be broken. The more we know, the more we can help.

Now, suppose you take a step back. Can you explain using careful language and more details exactly what your program does? What do you mean exactly, for example, by "invoking any URL" from a Struts program? Have you written other Struts code? Do you have any other Struts code running in the server you're using for testing? (I'm just wondering if your application is even set up correctly.)

As far as why you're asking us for help, what have you done to far to try to debug the problem? Have you looked in your server logs for error messages? Have you run the application under a debugger? Are you using custom logging of any kind, and what does that show?

P.S. I note that your two posts came in at around 2AM Ranch Time, five minutes apart. At any given time -- especially at 2AM in the USA -- a good fraction of the Ranch's user base is asleep. You need to be a bit more patient in waiting for an answer!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!