[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.webtools] Re: Building and Running - update

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/