Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 282697

Summary: Deliver welcome page on startup if URL does not contain servlet name
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: vasko
Version: 1.0   
Target Milestone: 1.3 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Rüdiger Herrmann CLA 2009-07-07 11:23:25 EDT
If a RAP application is deployed as a WAR in a servlet container, the natural way to run the application would be to enter http://host:port/webAppName in the browsers location bar.
But instead of the application, an empty page or a directory listing is delivered.
Only servlet is also entered (http://host:port/webAppName/servletName) in the location bar, the application can be started.
It should be possible to deliver a welcome page in case the servletName is not specified.
Comment 1 Vasko Tchoumatchenko CLA 2009-07-20 06:46:54 EDT
A new RAP FAQ entry is created to provide some suggestions: 

http://wiki.eclipse.org/RAP/FAQ#How_to_add_a_Welcome_page_to_a_RAP_application.3F
Comment 2 Rüdiger Herrmann CLA 2009-08-19 11:11:45 EDT
The 'RAP Examples' demo now contains an exemplary implementation that just redirects to the 'examples' servlet.
With these changes in CVS HEAD, I consider the issues as resolved.