Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

webapps can't auto deploy directory

 
Parka Teoh
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I create a new sub directory in webapps/, doesn't the directory get deployed automatically?

This is what I have...
I'm suppose to get my index.htm when I type "http://localhost/root2/index.htm", but I don't.

I don't know what's amiss.

 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Parka,

You may want to post more details -
What App server you are using, 'auto deploy' varies a lot among different application servers.
What output do you get on the console when you start up the server? It may show an exception being thrown while loading the webapp.
The actual directory structure on your file-system. The image you posted appears to be out of Dreamweaver, if I am not mistaken.
 
Parka Teoh
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I solved my own problem after much fustration.

Apparently, if there is wrong link in the FORM ACTION, it will render the whole page unloadable (can't be found).

I edited my index.htm's FORM ACTION and it works now. Didn't realise that before. My previous FORM ACTION wasn't able to find the processing servlet because of some linking address error...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic