How to set an EntryPoint as a <welcome-file>

62 views
Skip to first unread message

pop.ionut84

unread,
May 18, 2010, 9:12:43 AM5/18/10
to gwt-multipage
Hi Claudius,

You did a great job with the gwt-multipage package.
I've made a simple application with 2 Entry Points and it's
working fine in when I'm running it from eclipse with Jetty. The issue
is after I'm deploying the application to Tomcat. If I'm trying the
link:
http://localhost:8080/ImageViewer nothing is happening, only a
blank page. The ImageViewer.html is loaded (I've checked with Firebug)
but it does not display anything.
If I use : "http://localhost:8080/ImageViewer/ImageViewer.html"
it's working fine.

Can you give me some tips on this issue?

Thank you!

Ionut

--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe gwt-multipage beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an gwt-mu...@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an gwt-multipag...@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/gwt-multipage?hl=de, um weitere Optionen zu erhalten.

Claudius Hauptmann

unread,
May 18, 2010, 3:10:52 PM5/18/10
to gwt-multipage
Hi Ionut,

thank you! If you wan't your EntryPoint to be used with both urls you
sent, the reges has to reflect this. A simple idea would be to add
both urls separated by | , I think. The default url in your web.xml
does not affect gwt-multipage. The second url behind the | should be
an empty string. Does this help? You could post your regex / your
annotation.

cheers,
Claudius


On May 18, 3:12 pm, "pop.ionut84" <popionu...@gmail.com> wrote:
> Hi Claudius,
>
>     You did a great job with the gwt-multipage package.
>      I've made a simple application with 2 Entry Points and it's
> working fine in when I'm running it from eclipse with Jetty. The issue
> is after I'm deploying the application to Tomcat. If I'm trying the
> link:
>    http://localhost:8080/ImageViewernothing is happening, only a
> blank page. The ImageViewer.html is loaded (I've checked with Firebug)
> but it does not display anything.
>      If I use : "http://localhost:8080/ImageViewer/ImageViewer.html"
> it's working fine.
>
>     Can you give me some tips on this issue?
>
> Thank you!
>
> Ionut
>
> --
> Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe gwt-multipage beigetreten sind.
> Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an gwt-mu...@googlegroups.com.
> Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an gwt-multipag...@googlegroups.com.
> Besuchen Sie die Gruppe unterhttp://groups.google.com/group/gwt-multipage?hl=de, um weitere Optionen zu erhalten.

pop.ionut84

unread,
May 20, 2010, 9:03:42 AM5/20/10
to gwt-multipage
Hi Claudius,

It's working ok by adding the "|" separator and the second string
empty.

@MultipageEntryPoint(urlPattern = "ImageViewer.html?(\\\\?
gwt.codesvr=127.0.0.1:9997)?|")

Thanks once again for your help :) !

Regards,
Ionut.

On May 18, 10:10 pm, Claudius Hauptmann
<claudiushauptmann....@googlemail.com> wrote:
> Hi Ionut,
>
> thank you! If you wan't your EntryPoint to be used with both urls you
> sent, the reges has to reflect this. A simple idea would be to add
> both urls separated by | , I think. The default url in your web.xml
> does not affect gwt-multipage. The second url behind the | should be
> an empty string. Does this help? You could post your regex / your
> annotation.
>
> cheers,
> Claudius
>
> On May 18, 3:12 pm, "pop.ionut84" <popionu...@gmail.com> wrote:
>
>
>
> > Hi Claudius,
>
> >     You did a great job with the gwt-multipage package.
> >      I've made a simple application with 2 Entry Points and it's
> > working fine in when I'm running it from eclipse with Jetty. The issue
> > is after I'm deploying the application to Tomcat. If I'm trying the
> > link:
> >    http://localhost:8080/ImageViewernothingis happening, only a
Reply all
Reply to author
Forward
0 new messages