- #1
DaveC426913
Gold Member
- 23,209
- 6,891
I need to get a server running locally so I can run my 'Hello World' Java Web app.
http://benmira.free.fr/en/j2ee/struts1.htm" I'm using. Unless I misunderstand, all I really need to do is copy all the code into flat files with the appropriate filenames - and then compile it with Ant.
But how do I run it? At some point I'll need to call http : //localhost:8080/hello/HelloWorld
To compile I'm going to need access to servlet.jar. A search of my drive shows nothing except associated with the Eclipse editor, yet I've got java rle and java sdk installed. I'm obviously missing some component.
http://benmira.free.fr/en/j2ee/struts1.htm" I'm using. Unless I misunderstand, all I really need to do is copy all the code into flat files with the appropriate filenames - and then compile it with Ant.
But how do I run it? At some point I'll need to call http : //localhost:8080/hello/HelloWorld
To compile I'm going to need access to servlet.jar. A search of my drive shows nothing except associated with the Eclipse editor, yet I've got java rle and java sdk installed. I'm obviously missing some component.
Last edited by a moderator: