Extends Struts - layout tag
Hi All, I am trying to extend the one of the Layout tag for providing customize functionlity like passing more attributes in tag. For example i am writing like MyClass extends DatagridColumnTag How can I continue this. if any docs please post it to me OR I am trying to read the entered data in datagrid.js file .. I am able to find the column & column name , property but not the actual data wht I entered for validation purpose Reply me sooon. Thanks & Regards Sourabh + CONFIDENTIALITY NOTICE & DISCLAIMER The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender by replying to this message. The recipient should check this email and any attachments for the presence of viruses. InterGlobe accepts no liability for any damage caused by any virus transmitted by this email. + - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.x and Tomcat 5 problem
Hi , What i got in your code is that you are closing Remove / from first line. You line should be Whatever your condition is applied. (Closed Here Also). Sourabh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 25, 2007 3:08 AM To: user@struts.apache.org Subject: RE: Struts 1.x and Tomcat 5 problem The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com + CONFIDENTIALITY NOTICE & DISCLAIMER The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender by replying to this message. The recipient should check this email and any attachments for the presence of viruses. InterGlobe accepts no liability for any damage caused by any virus transmitted by this email. +
RE: Upload Utility in Struts
Can you tell me what type of file you want to upload. Suppose you are uploading image file. For this, In jsp page u can put this code to upload the file In form, there are getter and setter method of imageFile. It is FormFile type. In Action, You can put this code to save this image on your server FormFile imageFile= form.getImageFile(); String imageFilePath = getServlet().getServletContext().getRealPath("/") + "\\common\\images\\tmp\\" + imageFile.getFileName(); FileOutputStream fileOutputStream = null; fileOutputStream = new FileOutputStream(imageFilePath); fileOutputStream.write(imageFile.getFileData(), 0, imageFile.getFileData().length); fileOutputStream.flush(); fileOutputStream.close(); Sourabh -Original Message- From: Srinivasula Reddy A , Bangalore [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 2:12 PM To: Struts Users Mailing List Subject: Upload Utility in Struts Hi Struts User Community, I need rough Idea of how to implement upload file feature in struts as a component. Atleast give me some rough idea or send some urls which provides that help. Regards, Sreenivasula Reddy A DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. --- + CONFIDENTIALITY NOTICE & DISCLAIMER The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender by replying to this message. The recipient should check this email and any attachments for the presence of viruses. InterGlobe accepts no liability for any damage caused by any virus transmitted by this email. + - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Wrap data in struts
Hi, Anyone has idea about how can be wrapped the text when we use . I tried to use wrap attribute of text area. But it doesn't work because I am using struts It can be done if there is an attribute to break lines. It works if i enter data and press enter key after 40 characters. Sourabh + CONFIDENTIALITY NOTICE & DISCLAIMER The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender by replying to this message. The recipient should check this email and any attachments for the presence of viruses. InterGlobe accepts no liability for any damage caused by any virus transmitted by this email. + - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]