Struts 1.2.x and File I/O

2009-12-23 Thread davargas123
Is it necessary to upload a file to the server to process it in Struts, or does it have access to the local file system? I was getting errors in my code when it was attempting to use the file from my local machine, but if I upload it to the server first and use the file from the server, it works

File I/O in Struts 1.2.x

2009-12-14 Thread davargas123
Is it possible to upload a file to a server, process the data as it needs to be, and then write the file back to the local machine from which it originally was uploaded all in a single execute method of a single action class? Or, am I required to have an action for uploading it to the server, and

Simple two button form - Struts 1.2.x

2009-12-09 Thread davargas123
I am putting in page that loads at the beginning of my application, and all it has two buttons that should end up forwarding to do one of two different actions. How can I distinguish between which button has been pushed inside the Action class so that I can forward it to the correct page? The JSP

Re: Struts HTML taglib vs. Standard HTML tags

2009-12-06 Thread davargas123
server logs? I bet the problem is the taglib uri. See the TLD URIs section: http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 Paul On 12/4/2009 1:41 PM, davargas123 wrote: When I change the standard HTML tags of my .jsp page into the Struts tags, the page loads up completely blank

Struts HTML taglib vs. Standard HTML tags

2009-12-04 Thread davargas123
When I change the standard HTML tags of my .jsp page into the Struts tags, the page loads up completely blank, aside from what is loaded by the tiles-def. What could be causing this? I'm thinking that's why my page doesn't submit data to the actionform, but I don't see why it wouldn't be

Struts HTML taglib vs. Standard HTML tags

2009-12-04 Thread davargas123
When I change the standard HTML tags of my .jsp page into the Struts tags, the page loads up completely blank, aside from what is loaded by the tiles-def. What could be causing this? I'm thinking that's why my page doesn't submit data to the actionform, but I don't see why it wouldn't be

Struts HTML taglib vs. Standard HTML tags

2009-12-04 Thread davargas123
When I change the standard HTML tags of my .jsp page into the Struts tags, the page loads up completely blank, aside from what is loaded by the tiles-def. What could be causing this? I'm thinking that's why my page doesn't submit data to the actionform, but I don't see why it wouldn't be

Losing ActionForm Data on submit

2009-12-03 Thread davargas123
So, I have an issue where when I submit a form, instead of the corresponding ActionForm being populated with the correct field data, it remains unpopulated for a reason unknown to me. Here is the form on my JSP page(js functions provided for clarity, very simple): script function encryptSSN(){