• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

HttpStatus 400 problem

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it means they fails to map action "/login". attach your jsp and struts config code.
 
The City calls upon her steadfast protectors. Now for a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic