| Help Hosting Java Servlet [message #648924] |
Sat, 15 January 2011 13:20  |
Eclipse User |
|
|
|
I am learning about java servlets for my job. I found this website for a tutorial:
http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
I've followed its instructions and installed Eclipse for 64bit, Tomcat v7.0 and Java ee sdk 5.8 for 64 bit. I'm running Win7 64bit.
Now I have tomcat running in Eclipse, and I was able to follow along to import the testPackage Package that the site uses to test Tomcat. However, the next step is doing this "Hello world" java script, and I've downloaded the java file and opened it in Eclipse, but I can't seem to figure out how to host it to the server. The code creates a package called Hall but I don't see it under the Project Explorer. This has got to be a total newbie question but my experience in programming has always been a straight up compiler, rather than trying to host anything on a virtual server like Tomcat. What's going on? Thank you.
Additionally, does anyone recommend any other tutorials to get me started? Thanks.
[Updated on: Sat, 15 January 2011 13:21] by Moderator
|
|
|
| Re: Help Hosting Java Servlet [message #648944 is a reply to message #648924] |
Sun, 16 January 2011 01:08  |
Eclipse User |
|
|
|
On 2011.01.15 11:21, ikari@mad.scientist.com wrote:
> I am learning about java servlets for my job. I found this website for
> a tutorial:
>
> http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
>
> I've followed its instructions and installed Eclipse for 64bit, Tomcat
> v7.0 and Java ee sdk 5.8 for 64 bit. I'm running Win7 64bit.
>
> Now I have tomcat running in Eclipse, and I was able to follow along to
> import the testPackage Package that the site uses to test Tomcat.
> However, the next step is doing this "Hello world" java script, and I've
> downloaded the java file and opened it in Eclipse, but I can't seem to
> figure out how to host it to the server. The code creates a package
> called Hall but I don't see it under the Project Explorer. This has got
> to be a total newbie question but my experience in programming has
> always been a straight up compiler, rather than trying to host anything
> on a virtual server like Tomcat. What's going on? Thank you.
>
> Additionally, does anyone recommend any other tutorials to get me
> started? Thanks.
My tutorial is very detailed and step-by-step, if you like.
http://www.windofkeltia.com/j2ee/wtp-tutorial.html
|
|
|
Powered by
FUDForum. Page generated in 0.09918 seconds