File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes HttpStatus 400 problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "HttpStatus 400 problem" Watch "HttpStatus 400 problem" New topic

HttpStatus 400 problem

arekonda ramesh babu
Ranch Hand

Joined: Apr 11, 2006
Posts: 35

i have in my system Jboss4.0,MyEclipse5.1.

To run simple sturts application.

i created new project "mynew".

and created one class in "src" folder.

Also i created one jsp file named "simple.jsp"

when i launch browser after starting the server iam getting this.

HTTP Status 400 - Invalid path /login was requested


type Status report

message Invalid path /login was requested

description The request sent by the client was syntactically incorrect (Invalid path /login was requested).


Apache Tomcat/5.5.20

please help me to correct my misatke.

Thanks and regards


Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
what URL are you typing into the browser window?

Depending on how you've set up your test environment, it should be something like:

[ January 30, 2007: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164
it means they fails to map action "/login". attach your jsp and struts config code.

Milan.<br />I can because I think I can...
I agree. Here's the link:
subject: HttpStatus 400 problem
It's not a secret anymore!