Skip to main content



      Home
Home » Newcomers » Newcomers » Help Hosting Java Servlet(Hosting Servlets on a Virtual Server)
Help Hosting Java Servlet [message #648924] Sat, 15 January 2011 13:20 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Eclipse metadata seem to be corrupt
Next Topic:Unable to load help contents in exporting feature of my rcp
Goto Forum:
  


Current Time: Sat Nov 08 02:57:58 EST 2025

Powered by FUDForum. Page generated in 0.09918 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top