I guess you probably have a general question as to how you should call your JSP/HTML resources from within other JSP/HTML pages. The standard way of doing this in Struts is 1) Request for every resource through the controller servlet 2) To do this you can make every request to end with an extension like *.do 3) Map all requests ending with *.do such that they go to the controller servet i.e. org.apache.struts.action.ActionServlet. You can make this mapping in web.xml. 4) Map each resource path to its corresponding action class and presentation in the struts-config.xml
My suggestion is that you can go through the example application that is bundled with Struts. You can then choose to model your own application based on the example or you can take your own deviations as you choose. -----Original Message----- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 9:40 AM To: Struts Users Mailing List Subject: Struts1.1.b2 and Menu Hi, I have a javascript which populates a drop down menu, now i want to integrate in struts, So suppose i have a menu item which calls AddUser.jsp, In my previous version , u se to give a total path like http://servername:8080/maps/pages/AddUser.jsp in my menu so i can call it from any level, so how can i write a Action Class to call this AddUser.jsp, what definiation i need in struts-config file file, and what is need in my javascript path definition( how do i replace the abouve total path) Ashish ===== A$HI$H __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

