Redirect after a file download

2005-12-21 Thread Denis Avdic
Hello, I have an application that enables a user to download a file and keeps stats on total downloads as well as last time anyone downloaded a file. My problem is that the client wants the download page refreshed after a file has been sent. Right now I have a forward that points back to the

Re: Redirect after a file download

2005-12-21 Thread Denis Avdic
. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Wed, December 21, 2005 10:51 am, Denis Avdic said: Hello, I have an application that enables a user to download a file and keeps

Ancient (1.1) Struts Help - Map Backed Forms

2005-11-02 Thread Denis Avdic
Hello list, I've recently moved jobs and landed in a position where I have to develop with Struts 1.1 (don't ask me why they don't want to upgrade). In any case, I need to use map-backed ActionForm, first time we're doing this in the company looks like. I am running into problems that I've

Re: Ancient (1.1) Struts Help - Map Backed Forms

2005-11-02 Thread Denis Avdic
Forget that. They're actually running 1.0.2. No map backed forms for me. Sorry for wasting your time. D On 11/2/05, Denis Avdic [EMAIL PROTECTED] wrote: Hello list, I've recently moved jobs and landed in a position where I have to develop with Struts 1.1 (don't ask me why they don't want

[OT] Exporting data to Indesign

2005-09-30 Thread Denis Avdic
Hello all, Sorry for the off topic post. I need to get some data exported into Indesign format, and I am not sure how to do that. Is there anyone out there doing this already? I've seen some techniques that require number of conversions but I would like to keep this to a minimum and have the

Filters

2005-03-29 Thread Denis Avdic
Hello all, Although I've been using Struts for small projects for a while now, I haven't really used filters. Now I am incorporating some functionality from another project into mine, and the other project used plain old servlets and filters. My question is this: In filter's doFilter method,

Load-on-startup init servlet

2004-10-05 Thread Denis Avdic
I am trying to set up a start up sequence for my app but I have never set up something like that. Basically I want to initialize some classes with attributes found in my resources file. How would I go about doing this? I set up my web.xml file to load a servlet on startup, but I am not sure how

Re: Load-on-startup init servlet

2004-10-05 Thread Denis Avdic
. public void init(ServletConfig config) throws ServletException { --- Denis Avdic [EMAIL PROTECTED] wrote: I am trying to set up a start up sequence for my app but I have never set up something like that. Basically I want to initialize some classes with attributes found

[OT] Good Java tech book?

2004-09-16 Thread Denis Avdic
I am looking for a book on Java, but one focusing on the underlying technologies rather than the programming aspect. I want to learn more about JVM and bytecode and stuff like that, and I am not sure where I should look to find information about that. I figured a book would be a good central

[OT] Setting up a struts project in IDEA

2004-09-03 Thread Denis Avdic
Hello, I switched to IntelliJ IDEA 4.5 recently and I finally got an opportunity to set up a pure struts project for a demo. I unpacked struts-blank, and guessed at various settings IDEA asked me when I tried to set up a project. Now I can't get the IDE to recognize the tld's anywhere, I am

Re: Losing request attributes

2004-08-13 Thread Denis Avdic
In order to keep the actual entries that the user typed in (so they don't have to retype everything if they changed a bunch of things) I usually put the entire form and errors into request if there are errors. Then you need to make sure that your populate action checks for presence of the form

Re: Servlet help for a Struts programmer

2004-08-11 Thread Denis Avdic
Wow. I unleashed a beast. Next time I'll ask the question way before I have to leave work. I have to thank you all for your input. The discussion on Servlets and Struts and how they relate (or don't) was in itself very helpful to understanding how the things work. I will take your

Servlet help for a Struts programmer

2004-08-10 Thread Denis Avdic
I have an strange request: While I am very familiar with Struts (I've worked almost exclusively in Struts for last 2 years, right after college), I have only basic knowledge of actual Servlet programming. Now I am faced with a task of updating and maintaining a pure Servlet application. Does

Re: Servlet help for a Struts programmer

2004-08-10 Thread Denis Avdic
Jim is correct. :) On Tue, 10 Aug 2004 12:29:23 -0700, Jim Barrows [EMAIL PROTECTED] wrote: -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 12:25 PM To: Struts Users Mailing List Subject: RE: Servlet help for a Struts

Re: Servlet help for a Struts programmer

2004-08-10 Thread Denis Avdic
I am sure that in a week or two that might be apparent to me. However right now I am exposed to everything that ActionServlet and MultipartRequestWrapper hid from view. Using Struts in my programming, the controller part of the MVC was hidden. For example, one of the first questions I had was:

Re: Input with name different than bean name property

2004-07-09 Thread Denis Avdic
There is a value attribute in the html:hidden tag From what I understand you have a form bean that has id and parentId as properties. You have a child object with an id property, and you have a parent object with an id property. So you could have html-el:hidden property=id

html:submit button

2004-07-08 Thread Denis Avdic
Hello, From what I understand, the value attribute on html:submit button is both the value of the label and the value submitted to the property attribute when the button is pressed. Is there a way to separate those two? I need 10 buttons, all the same label, but with different values

Re: can someone help me?

2004-07-08 Thread Denis Avdic
What is your action mapping for majprospect action? Since your form is going to be submitted to majprospect.do (you need to add .do in there) your action mapping should basically have a name=prospectForm in it. Also, to make sure your form is being named correctly:

JSTL Map Accessors

2004-07-06 Thread Denis Avdic
Hello, I have a problem that I can't seem to get around. I have a number of maps in my request, all keyed by same sequence of String keys that are contained within an ArrayList in that same request. My question is how do I get to the values in those maps? I've tried variations on: c:forEach