Feel free to ask Web Tools questions on the Web Tools newsgroup, see http://www.eclipse.org/newsgroups/. Other comments below.
Cheers, Larry > hallo, > > thanks for the antworts. > > after first Antwort. i have installed the WTP plugin and it > seems good to work with servlets. but i have some problems with jsps : > > i make a new project --> dynamic web project > > then i can add a new servlet to this project and i can test > it under eclipse (in this case what i must to do is only edit > the web.xml file). > this is really good but my question ist. > the folder architecture is not the same as the architecture > under tomcat. but if i make a war file from my eclipse > project than it works under tomcat. can this directory > differences make a problem?? No. Assembly of the project into a webapp image occurs when you do certain things with the project, like export it as a WAR file or publish it to a server. > > the second question is : > how can i add a jsp to this project??? Just create the JSP file in the WebContent folder or a subfolder of that folder. You can use File -> New -> Other -> Web -> JSP to get the built-in JSP templates that are available. > > if i add a servlet, it will be placed under src folder but if > i try to add a jsp then i must to place it under Webcontent. > make it a problem ??? and must i edit the web.xml file for > jsp file too??? This is not required if you access the JSP by its name. It is possible to create a declaration and mapping that will allow you to access the JSP using a URL of your own design. At least for the portion beyond the context name of the URL. > > and another question. this is not a tomcat question but maybe > can anybody give me an answer. > > i want to use jsp servlet and ejb. for example with a html > form i will take the login information from an user and then > make a connection with the DB and check whether this info > true is or not. > in this scenario what is for what responsible??? > should ejb with the DB communicate? if yes how can i realize it? > > only the logic :) not the code :) > > thanks a lot > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org To > unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]