Adding a JSP file to a GWT project in Eclipse Helios( and Galileo )

I have a GWT project in Eclipse to which i try to add a jsp file. I run the application in development mode and when i try to access that jsp file i get the following error:

HTTP ERROR 404

Problem accessing /testing.jsp. Reason:

/testing.jsp 

Powered by Jetty://

I'm using Eclipse 3.6 (tried it on 3.5 too with the same results), GWT 2.1 and GAE 1.3.8

Answers


That's strange - it works out of the box on my machine:

  • GWT 2.1
  • GPE (Google Plugin for Eclipse) 1.4.0
  • Eclipse 3.6

I just do the following:

[The only case when it doesn't work for me is, if I use Java 1.5 code in the jsp file. But then I get a 500 error, not a 404.]

Can you try this exact scenario, and see, if it works?


A 404 error means it can't find the file. Your jsp file should go in the war directory, not in your source tree: project/war/testing.jsp


Need Your Help

Starting and stopping App Engine instances with Docker

google-app-engine docker

I've set up an App Engine project locally using Docker (on OSX), and have been running a server using the usual "gcloud preview app run app.yaml" command. From what I can tell, this keeps creating ...

Git - how to remove branch from checkout autocomplete

linux git terminal

I've deleted some local branches via git branch -d branchname, but they are still exist in autocomplete (when I put git checkout, then press tab key, I see all deleted branches in list).

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.