invient chart

Hello,

I have learnt from other posts that the mainServlet file has to be modified according to the Demo code. N then servlet file had to be indicated in web.xml
However, in my web.xml, I already had a servlet class indicated in order to use my Rest service.

Question: How can I solve this?

Following is what I am doing:

#1:

ServletAdapter
com.sun.jersey.spi.container.servlet.ServletContainer
1

<servlet-mapping>
    <servlet-name>ServletAdapter</servlet-name>
    <url-pattern>/services/*</url-pattern>
</servlet-mapping>

Problem is that Invient Widgetset won’t be loaded.

#2: and if I had to indicate the servletfile here, then how I am supposed to let my Rest Service works? My Rest service is used to for secure login with auth-constrain.

VaadinApplication
suricate.vaadin.MyApplicationServlet

application
suricate.vaadin.MyApplication


widgetset
com.example.myapp.widgetset.MyAppWidgetSet

I hope someone could help me out of this. Thanks very much in advance.

Hi,

Make sure you map /VAADIN/* to the VaadinApplication servlet, otherwise it will fail to load the widgetset.

HTH,
/Jonatan