6
6e
Hi, thanks for reading.
I have created a simple servlet (that compiles properly) and compiled
it into a war file. I deployed the war file in the webapps directory,
and it is extracted appropriatly into a directory listed as
webapps/myapp/myapp.class
however when I browse to "host:8080/myapp/" all I get is a directory
listing. I tried to add a web.xml file, however it does not show up in
the listing, even after stopping and starting the service.
I also tried putting it into a structure (found in tutorials)
..../Web-INF/classes/com/mycompany/myapp, but this did not make it run
either...
is there something that Im missing? any ideas?
Thanks
I have created a simple servlet (that compiles properly) and compiled
it into a war file. I deployed the war file in the webapps directory,
and it is extracted appropriatly into a directory listed as
webapps/myapp/myapp.class
however when I browse to "host:8080/myapp/" all I get is a directory
listing. I tried to add a web.xml file, however it does not show up in
the listing, even after stopping and starting the service.
I also tried putting it into a structure (found in tutorials)
..../Web-INF/classes/com/mycompany/myapp, but this did not make it run
either...
is there something that Im missing? any ideas?
Thanks