• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to track request

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

If I will copy the application url in the browser and paste it in a new browser, the request goes to --------- which servlet? How I can track the request? In web.xml <servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class> can I change this action servlet to any user defined servlet?

Thanks
[ November 06, 2007: Message edited by: Pramod Kumar ]
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pramod,
This should come from looking at your web.xml file, specifically the servlet mapping section. In this case your web.xml probably has a section that looks like the below. You could easily change the servlet named action to something of your own choosing and you could then get the requests. You're using struts though in this case, and struts RequestProcessor is taking care of the requests and routing them to the appropriate Action classes based on your configuration in the struts-config.xml

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic