• Post Reply Bookmark Topic Watch Topic
  • New Topic

i have HTTP Status 404 problem, but create new file work fine.  RSS feed

 
chenchih lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why my jsp page will occur

HTTP Status 404 - /SIGNIN/REGISTER.jsp
type Status report
message /SIGNIN/REGISTER.jsp
description The requested resource is not available.

If i create a new file and save with a different name it will work fine. How come.
Now register.jsp will occur  HTTP Status 404.
If i copy the source code of register.jsp and create a new file called 12345.jsp it will work fine with 12345.jsp

Do anyone know what's the reason with it.


 
Tim Moores
Saloon Keeper
Posts: 3834
80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
URLs are case sensitive. REGISTER.jsp is not the same as register.jsp.
 
chenchih lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i mean REGISTER.jsp.
My web file is REGISTER.jsp and i type http://localhost:9090/SIGNIN/REGISTER.jsp, it will occur HTTP Status 404
 
chenchih lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I try if you copy the file to a new folder it will not work .
Why is that?
for  example if i create a directory /aa/REGISTER.jsp ==>ok
then create another directory bb, and copy REGISTER.jsp to /bb, then http://localhost:9090/bb/REGISTER.jsp ==>will not work, it will occur  HTTP Status 404
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!