aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes welcome files are not showing up Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "welcome files are not showing up" Watch "welcome files are not showing up" New topic
Author

welcome files are not showing up

Mahtab Alam
Ranch Hand

Joined: Mar 28, 2012
Posts: 256

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.



Oracle Java Programmer , Oracle SQL Expert , Oracle Java Web Component Developer
Dieter Quickfend
Bartender

Joined: Aug 06, 2010
Posts: 543
    
    4

"localhost", not "locatlhost"


Oracle Certified Professional: Java SE 6 Programmer && Oracle Certified Expert: (JEE 6 Web Component Developer && JEE 6 EJB Developer)
Mahtab Alam
Ranch Hand

Joined: Mar 28, 2012
Posts: 256

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

Joined: Aug 06, 2010
Posts: 543
    
    4

Happens to everyone, inch'allah
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: welcome files are not showing up