|Re: Setting up a new dynamic web project [message #226812]
||Fri, 16 January 2009 11:42
Originally posted by: nickboldt+eclipse+newsgroup.gmail.com|
Copying to eclipse.webtools.
Mila Mitra wrote:
> I am a newbie to Eclipse.
> I have been handed two projects as directory structures, a web project
> with jsp, html, and js files. Also a separate project which has many
> Java packages and servlets.
> I am able to import the Java web structure to an Eclipse Java project,
> and the webfiles to a dynamic web project/WebContent area.
> However, the JSP files in the dynamic web project use the Java classes
> (page imports).
> My question is how to make this work?
> 1. Keep these as separate projects (1 dynamic web project and one Java
> project). In that case how do the import statements work from another
> 2. Put the Java packages also in the Java:src area of the dynamic web
> project? Where do I place the Servlets?
> This is how it currently looks:
> - TestJava (java project)
> - wsdev (dynamic web project)
> main.jsp has <%@ page import="com.app.techassist.TechAssistApp" %>
> How can I make main.jsp see the Java package? Also, how would I build
> this whole thing?
> I would appreciate any help.
> Thanks, Mila
Nick Boldt :: http://wiki.eclipse.org/User:Nickb