Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpStatus 400 problem

 
arekonda ramesh babu
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai

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

Rameshbabu

 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what URL are you typing into the browser window?

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

http://localhost:8080/mynew/simple.jsp
[ January 30, 2007: Message edited by: Merrill Higginson ]
 
Milan Jagatiya
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it means they fails to map action "/login". attach your jsp and struts config code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic