[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: Creating first web application

You should take that the tutorial you're using is over 3 years old and the Web Tools Project (WTP) has evolved quite a bit in that time. The staleness of that tutorial is likely the cause of most of your confusion. I am copying this thread over to the WTP newsgroup in hopes that the people there can provide you some guidance.

Eric

Nagrik wrote:
Hello Group,

I am in the middle of creating my first web application using eclipse.

1. I am working on RHEL 4.6. And to avoid downloading different plugins I downloaded the latest eclipse J2EE version. I am building my application on this eclipse.

2. I have downloaded my tocat 6.0 and it is installed in ~/tomcat. Independently I have created web application and ran them on this tomcat.

3. I followed the steps in the following URL

http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html


I noticed some of the windows depicted in this tutorial do not match with my creation of application.


4. For example I could not mention the superclass of my Snoop Servlet. the Superclass "Textfield" was just not there.

5. Also the package "textfield" was also not there so I could not mention the package directory as "org.eclipse.wtp.tutorial."

6. I would like to mention my local package.  How could I do that?

7. Where should I mention the super class of my first servlet and how do I make aware eclipse of that location i.e. javax.servlet.http.HttpServlet

8. There is no direction how to compile the code in the tutorial. 9. My other application were residing in ~/tomcat/webapps/<applications>. However, this application is being created in an independent directory belonging to eclipse i.e. ~/workspace. How do I reconcile these two different directories.

I know the answers to these questions will be easy for a person who has written his first servlet. However I am stuck here. I need to show it to my boss asap. Any help would be greatly appreciated.
nagrik