Isomorphic,
I Need to do some pre-processing before invoking smartGwt application. Now I am invoking a servlet by mentioning the below in my web.xml file
From here how can i invoke smartGWT apllication(onModule()) Also I need to pass the output of pre procesing(Ex: String) through servlet.
How can achieve this?
Note: Is it having any filter concept in smartGWT?
Thanks,
Yathish
I Need to do some pre-processing before invoking smartGwt application. Now I am invoking a servlet by mentioning the below in my web.xml file
Code:
<servlet> <servlet-name>ContentResourceDataServlet</servlet-name> <servlet-class>com.sabre.apd.mi.smartgwt.server.servlet.UserServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>ContentResourceDataServlet</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping>
Code:
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // pre process code which returns a String String Name ="Yathish" ; }
How can achieve this?
Note: Is it having any filter concept in smartGWT?
Thanks,
Yathish
Comment