Re: Unable to open uploaded pdf and docx file

2024-03-26 Thread Mahabir Gupta
] which isn't > related to Struts itself. I would double check if uploaded files are > ok (access them on the server side once they have been uploaded). > > [1] https://struts.apache.org/core-developers/stream-result.html > > pon., 25 mar 2024 o 02:17 Mahabir Gupta napisał(a)

Re: Unable to open uploaded pdf and docx file

2024-03-24 Thread Mahabir Gupta
Dear Lukasz, Any advice will be greatly appreciated. Thank you. Regards Mahabir On Thu, Mar 14, 2024 at 5:03 PM Mahabir Gupta wrote: > Dear Lukasz, > > This issue came after I upgraded from Struts 2.5 to Struts 6.0.3.2. The > .pdf and .docx files seem to be corrupted when I

Re: Unable to open uploaded pdf and docx file

2024-03-14 Thread Mahabir Gupta
Dear Lukasz, This issue came after I upgraded from Struts 2.5 to Struts 6.0.3.2. The .pdf and .docx files seem to be corrupted when I am trying to download the files. Kindly advise. Thank you. Regards Mahabir On Thu, Mar 14, 2024 at 1:38 PM Mahabir Gupta wrote: > Dear Lukasz, > > I a

Re: Unable to open uploaded pdf and docx file

2024-03-13 Thread Mahabir Gupta
Dear Lukasz, I am able to upload and download and open .txt file but for .pdf and .docx files, I am able to upload but when I download the pdf file, the file cannot be opened. For the .docx file when I try to click on the file, on the console it does show the log successfully download attachment f

Re: Radio button selection is not being saved on the front end

2024-03-11 Thread Mahabir Gupta
enart > Sent: Monday, 11 March 2024 07:23 > To: Struts Users Mailing List > Subject: Re: Radio button selection is not being saved on the front end > > pon., 11 mar 2024 o 04:54 Mahabir Gupta napisał(a): > > The radio button is working perfectly when using Struts2. I only did a

Re: Radio button selection is not being saved on the front end

2024-03-10 Thread Mahabir Gupta
:37 PM Lukasz Lenart wrote: > śr., 6 mar 2024 o 08:08 Mahabir Gupta napisał(a): > > DotsCarRental dotsCarRental = new DotsCarRental(); > > dotsCarRental = (DotsCarRental) > session.getAttribute(DBConstants.sessionCarId); > > You don't have to create an instance if

Re: Very fast logout of Heartbeat session

2024-03-10 Thread Mahabir Gupta
Dear Lukas, Please ignore my question. The Heartbeat Session has nothing to do with Struts6. Thank you. Regards Mahabir On Mon, Mar 11, 2024 at 9:45 AM Mahabir Gupta wrote: > Dear Lukasz, > > I have upgrade my Struts2 to Struts6.3.0.2. However as I am still using > local environ

Re: Very fast logout of Heartbeat session

2024-03-10 Thread Mahabir Gupta
Dear Lukasz, I have upgrade my Struts2 to Struts6.3.0.2. However as I am still using local environment to test the application, the Heartbeat Session gets logged out very soon. Is there a way I can change the Heartbeat Session from logging out very quickly. Kindly advise. Thank you. Regards Mahab

Re: Radio button selection is not being saved on the front end

2024-03-05 Thread Mahabir Gupta
Hi, I have some radio button where I can select one radio button at a time and safe it. It is being saved in the database but on the frontend it is not being saved. public class getDotsCarRentalAction extends GenericMappingDispatchAction{ public String saveCr(){ HttpSession session =

Re: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved

2024-02-28 Thread Mahabir Gupta
Hi I am doing a struts2 upgrade to struts 6.3.0.2. When I am uploading a file I am getting java.lang.noclassdeffounderror: could not initialise class org.apache.poi.ooxml.poixmltypeloader. I am using poi-5.2.5, poi-ooxml-5.2.5 and poi-ooxml-lite-5.2.5 jar files. Please advise. Thank you. Regards M