Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

welcome files are not showing up

 
Mahtab Alam
Ranch Hand
Posts: 391
1
Java MySQL Database PHP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried sample code to find out how welcome-files actually works depending upon order of declaration in DD(in theory I know how it works).

This is my DD of application WelcomeFiles .



index.html is directly inside WelcomeFiles directory .

So if I type in the url locatlhost:8080/WelcomeFiles it should have displayed index.html but it displays 404.
I think problem is something else even if I am typing locatlhost:8080/WelcomeFiles/index.html exact url match to resource its not showing.


 
Dieter Quickfend
Bartender
Posts: 543
4
Java Netbeans IDE Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"localhost", not "locatlhost"
 
Mahtab Alam
Ranch Hand
Posts: 391
1
Java MySQL Database PHP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well the problem was not with localhost , I made a mistake while posting question.
But it was very related to the point you made "Spelling mistake"

Actually problem was , my application root was WelcomFiles not WelcomeFiles.


Shukran "Dieter" for pointing to right direction.
An embarrassing mistake , but mistake is mistake small or big.
 
Dieter Quickfend
Bartender
Posts: 543
4
Java Netbeans IDE Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Happens to everyone, inch'allah
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic