I'm not sure I follow you. Are you saying that when you try to invoke the servlet, the struts action is invoked instead? Or is nothing invoked? And again, have you checked your logs for errors or any traces of what's happening? Maybe your servlet is not correctly configured so it's not started?
Nils-H On Wed, Feb 4, 2009 at 11:20 AM, alee amin <[email protected]> wrote: > This is the entry that i made in web.xml for the servlet > >> <servlet> >> > <description> >> > </description> >> > <display-name>rawData</display-name> > > <servlet-name>rawData</servlet-name> >> > <servlet-class>com.e2e.servlet.rawData</servlet-class> > > </servlet> >> > <servlet-mapping> >> > <servlet-name>rawData</servlet-name> >> > <url-pattern>/data/rawData</url-pattern> >> > </servlet-mapping> > > > even if i try to call the servlet directly (direct writing the url in the > address bar) there is no call going to servlet, rather the struts action is > being called. here is the mapping for that stuts action > > <package name="reports" namespace="/report" extends="json-default"> >> > <action name="rawList" class="com.e2e.pin.web.actions.RawListAction"> >> > <result type="json"> >> > <param name="contentType">text/plain</param> >> > <param name="noCache">true</param> >> > </result> >> > <interceptor-ref name="basicStack"/> >> > </action> >> > </package> > > > no matter if i call servlet directly or indirectly, my call never reaches to > the servlet. how can i do this? > > ..alee > http://techboard.wordpress.com > > > > On Wed, Feb 4, 2009 at 1:36 PM, Nils-Helge Garli Hegvik > <[email protected]>wrote: > >> > >> > What should i do ? >> >> You could start by providing some more information. How do call the >> servlet, and how is it configured? Do you get any errors in your log >> files? Can you invoke the servlet by typing it's url in the browser? >> >> Nils-H >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

