[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.webtools] Re: Building and Running - update
|
Hi, I have the same problem. I'd like to build and run "helloworld" web
applications. Does know anybody any place where I can download such project
from and can be build and run well?
Thanks Gabor Matyi
Calvin Deiterich wrote:
> How I managed to get the project to work:
>
> Create new project:
> Web --> Dynamic Web Project
> Next
> Name --> SchoolSchedule
> Target runtime --> Apache Tomcat 5.5
> (Then finish off remainder of screens using defaults)
>
> Switch to J2EE perspective (Not sure why but I clicked OK)
>
> Files:
>
> Put the .java files in the src folder
> Put the Schedule.jsp in the WebContents folder
> The .class files will automatically be placed in the build folder
> Put the jstl.jar and standard.jar int WEB-INF --> lib folder
>
> All .java files must implement Serializable and have a serialVersionUID
>
> The web.xml file is automatically built and has stuff in it for XDoclet
> and I have no idea what that does yet.
>
> Issues still to resolve:
> When I run the code using Run AS --> Run on servier or export a .war file
> and publish it to my webapps folder I still have to add the /Schedule.jsp
> after the http://localhost:8080/SchoolSchedule/