• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Path index.jsp

 
Ranch Hand
Posts: 1402
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a project called "sonneStatsWeb1":

<welcome-file>/sonneStatsWeb1/WebContent/web/index.jsp</welcome-file>

I get the error 404

Any idea?

Regards
Isaac
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That path does not look right. I'm assuming by the "WebContent" part that you used an IDE to generate this? ( ) If so, the path should likely¹ just be the part after WebContent.



¹ Though not sure because I don't use an IDE to generate code.
 
Ranch Hand
Posts: 355
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Isaac,
You can call index.jsp from your browser so as to know the correct url. Welcome files are usually placed at the root of applications in the same directory as the WEB-INF directory.That way you just need to declare the welcome file without the path:

Then if your call the url http://.../sonneStatsWeb
your welcome file will be displayed.
 
reply
    Bookmark Topic Watch Topic
  • New Topic