Fixes

Made the hostpage a jsp because .html pages bypass filters, so can cause hard to track down bugs.  Users who know enough can change the page to .html to serve it statically, wheras users who run into the filter bypass problem are less likely to be able to solve it.

License indent now looks wrong in the code but looks correct in the app.
varName is the variable name.  nameToken is the name token and is still
used.  varName is nameToken without the leading slash.

On Wed, Nov 5, 2014 at 9:33 PM, Maxime Meriouma-Caron <
notifications@github.com> wrote:

> In
> gwtp.plugin.core/src/main/java/com/arcbees/gwtp/plugin/core/presenter/CreatePresenterPage.java:
>
> > @@ -190,6 +190,7 @@ protected String getNameSuffix() {
> >
> >      private void addMethodsToNameTokens(ICompilationUnit unit, String nameToken,
> >              IProgressMonitor monitor) throws JavaModelException, MalformedTreeException, BadLocationException {
> > +        String varName = nameToken.startsWith("/") ? nameToken.substring(1): nameToken;
>
> What does varName stands for? It seems like it's nameToken without the
> leading slash. Can you keep nameToken in the variable name? varName seems
> a bit generic
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ArcBees/gwtp-eclipse-plugin/pull/105/files#r19898768>.
>