Problem while accessing modules via multiple struts config files
Hi All, I have multiple config file for a ActionServlet to support different modules.I have configured in web.xml as follows.Then I created a jsp under the app root to which as the content as follows,when I try to click the link present in the JSP It shows Request URI not found.Can any one help me out to solve the problem. web.xml: action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml config/prg /WEB-INF/struts-prg-config.xml config/home /WEB-INF/struts-home-config.xml debug 2 detail 2 validate true 2 Jsp Content: home Thanks & Regards Sudhakar Mindtree Consulting Private Ltd. Bangalore. Quote:- Imagination is more important than knowledge. --Albert Einstein DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cancel button functionality
Hi All, When I click on the cancel button it always goes to the action.do which is mention in the form action but I am calling a javascript function which will submit the form for other action.do.Can anyone help me to resolve this issue.. Thanks & Regards Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Add/Modify functionality in same jsp
Hi Can anyone help me in my modify jsp page how to populate the default values from the Data Transfer Object.Is it something to do with index properties in the jsp Regards Sudhakar -Original Message- From: Sudhakar G Sent: Tuesday, January 20, 2004 7:09 PM To: Struts Users Mailing List Subject: RE: Add/Modify functionality in same jsp Hi Nicholas, Can you provide the sample code which will make me to understand how to initialize the form thru action class.I know when the form getting submitted it uses a Actionform to set the form fields data, so that we can access form fields data from Actionform in Action class. Sudhakar -Original Message- From: Nicholas L Mohler [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 6:25 PM To: Struts Users Mailing List Subject: Re: Add/Modify functionality in same jsp Hi Sudhakar, Your JSP should populate the form fields in the same way for both add and modify actions. Specifically, your action class should initialize the form for the jsp. When the page is rendered, it will be populated the way that you want. Nick |-+> | | "Sudhakar G" | | | <[EMAIL PROTECTED]| | | ree.com> | | || | | 01/20/2004 06:55 | | | AM | | | Please respond to| | | "Struts Users| | | Mailing List"| | || |-+> > --| | | | To: <[EMAIL PROTECTED]> | | cc: | | Subject: Add/Modify functionality in same jsp | > --| Hi All, I want to implement add/modify functionality in same jsp using struts tag.I am having a hidden variable which says the current action is add or modify. Can any one tell how the jsp will implement the modify functionality?.My idea is put if..else conditions for each form field and populate data in case of modify using the struts tag and don't populate data for add functionality..If some one can provide me a sample jsp thru that I will have the understanding before implementing the functionality. Thanks & Regards Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - 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] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. A
RE: Add/Modify functionality in same jsp
Hi Nicholas, Can you provide the sample code which will make me to understand how to initialize the form thru action class.I know when the form getting submitted it uses a Actionform to set the form fields data, so that we can access form fields data from Actionform in Action class. Sudhakar -Original Message- From: Nicholas L Mohler [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 6:25 PM To: Struts Users Mailing List Subject: Re: Add/Modify functionality in same jsp Hi Sudhakar, Your JSP should populate the form fields in the same way for both add and modify actions. Specifically, your action class should initialize the form for the jsp. When the page is rendered, it will be populated the way that you want. Nick |-+> | | "Sudhakar G" | | | <[EMAIL PROTECTED]| | | ree.com> | | || | | 01/20/2004 06:55 | | | AM | | | Please respond to| | | "Struts Users| | | Mailing List"| | || |-+> > --| | | | To: <[EMAIL PROTECTED]> | | cc: | | Subject: Add/Modify functionality in same jsp | > --| Hi All, I want to implement add/modify functionality in same jsp using struts tag.I am having a hidden variable which says the current action is add or modify. Can any one tell how the jsp will implement the modify functionality?.My idea is put if..else conditions for each form field and populate data in case of modify using the struts tag and don't populate data for add functionality..If some one can provide me a sample jsp thru that I will have the understanding before implementing the functionality. Thanks & Regards Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - 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] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Add/Modify functionality in same jsp
Hi All, I want to implement add/modify functionality in same jsp using struts tag.I am having a hidden variable which says the current action is add or modify. Can any one tell how the jsp will implement the modify functionality?.My idea is put if..else conditions for each form field and populate data in case of modify using the struts tag and don't populate data for add functionality..If some one can provide me a sample jsp thru that I will have the understanding before implementing the functionality. Thanks & Regards Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
forwarding request to Another Action class from Action Class
Hi Everybody, Can any one tell me how do I forward the request to other Action class from the current Action class.. Thanks in Advance Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem in Displaying ArrayList constents in jsp
Hi All, My ArrayList holds a set of ValueObjects.When I try to display the ArrayList contents using logic tag it is throwing an exception saying can't find the "clientview" bean. In Action class the code is like. request.setAttribute("ClientList",clientListVO); return mapping.findForward("success"); In Jsp Value Object has ClientID as attribute with get and set methods. Can any one help in this problem that will be thankful.. Thanks in advance.. cheers Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem in displaying ValueObject contents using logic tag
Hi All, My ArrayList holds a set of ValueObjects.When I try to display the ArrayList contents using logic tag it is throwing an exception saying can't find the "clientview" bean. In Action class the code is like. request.setAttribute("ClientList",clientListVO); return mapping.findForward("success"); In Jsp Value Object has ClientID as attribute with get and set methods. Can any one help in this problem that will be thankful.. Thanks in advance.. cheers Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Login Validation using Plug in
Hi, Can anyone help me how do I validate the login user session using struts Plugin?.Explain me with examples as I am new to struts.. Thanks in Advance.. cheers Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
sub classing Action Servlet
Hi, Can anyone provide me the example of extending the ActionServlet and how it should be configured in web.xml Thanks & Regards Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Validator query
Hi, why validator framework provides two classes ValidatorForm and ValidatorActionForm if both going to behave same way? Thanks in advance. cheers Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiple struts-config.xml
Hi, Can any one give me a example how struts supports multiple struts-config.xml file? Thanks in advance.. cheers Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]