• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with accesing html within jsp structure

 
yuvraj kotegar
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i have the following folder structure...

webapps -> shoppingcart(my projectfolder)->WEB-INF

i have Login.html in the same level as WEB-INF

but when i start my browser(internet explorer) and type

http://localhost:8080/shoppingcart/Login.html

its showing 404 error

i have started tomcat server also

what may be the problem?
 
yuvraj kotegar
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry accidently posted the topic here.. should have posted in JSP community..
 
Campbell Ritchie
Marshal
Posts: 52581
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch

We have a JSP forum, so I shall move this thread there; please anybody reading note this question may also have been posted on another website.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the JSP FAQ entry named ResourceUrlProblems for information on how to properly construct URLs to static resources.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!