First I apologize if this is in the wrong forum.
I have a web application that utilizes,
Struts, Tiles and ExtJS & JQuery. I am confused on how the Store object url configuration works. I see many php examples but no
servlet examples. What I would like to do is when a menu item is clicked, I want to open a tabbed panel that has a grid on it. The grid data needs to come from a backend database.
I am assuming that when user clicks on menu item, it has href to 'backend servlet'.action which will just forward to the
jsp page that contains my grid.
Currently my grid is coded for an xml file that I am manually creating and dropping in the directory, but what I want is for the data to be loaded from the 'backend servlet'.action and that should either create XML or JSON??? And I'm confused because I am assuming that the url is going to read 'backend servlet.action' but then how does it know the name of the xml or json file???
One more thing

When I code the servlet and create the JSON/XML do I need to change the struts.xml result type? Right now it's tiles, but if it needs to change to json or whatever, will my tiles still work??
Any help would be greatly appreciated.