RE: Reading Context Data

2004-02-13 Thread Villalba Arias, Fredy [BILBOMATICA]
are still there. I will definitely check that out. Thanks for taking the time to help me. I have been stuck on this for a couple of days; it just doesn't make any sense. Natalie -Original Message- From: Villalba Arias, Fredy [BILBOMATICA] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12

RE: [OT] Case insensitive Map keys

2004-02-13 Thread Villalba Arias, Fredy [BILBOMATICA]
frequently, try the FastHashMap from the Apache Commons. either you override and read and write your own. -Original Message- From: Villalba Arias, Fredy [BILBOMATICA] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 5:50 PM To: Struts Users Mailing List Subject: RE: [OT] Case

RE: Back to the originating screen...

2004-02-13 Thread Villalba Arias, Fredy [BILBOMATICA]
.(ProductListOpenAction).And the form for this action can keep record of teh search criteria entered(by having them as attributes) and the same can be passed to jsp either as text fields or hidden parameters. HTH. regards, Shirish. -Original Message- From: Villalba Arias, Fredy [BILBOMATICA] [mailto

RE: struts actions and content/type responses

2004-02-12 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi Ben, I'm not sure if I understood you well, but I believe it's as simple as coding the Action just like you said and inserting the corresponding URL to call it (I suppose it would have to include the imageID as a parameter) inside, let's say, the src attribute on an image tag. HTH, Freddy.

RE: [OT] Case insensitive Map keys

2004-02-12 Thread Villalba Arias, Fredy [BILBOMATICA]
Navjot, I believe this is exactly what Guillermo CLEARLY stated he had already tried (and is not efficient enough for him). If you had taken a little bit longer and read carefully, then maybe you'd have noticed. Regards, Freddy. -Mensaje original- De: Navjot Singh [mailto:[EMAIL

RE: Problem with opening a file that comes from SevletResponse

2004-02-12 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi, I'm not sure about this, but I remember having the same problem a long time ago and I believe it had something to do with the response's header(s). Sorry, can't remember exactly what it was. HTH, Freddy. -Mensaje original- De: Hendrickx Wesley [mailto:[EMAIL PROTECTED] Enviado

RE: Reading Context Data

2004-02-12 Thread Villalba Arias, Fredy [BILBOMATICA]
Did you check that you are put-ing (into the Context) the correct object (the one you expect to get afterwards?)? Have you verified that the value you are put-ing (in case its the right one) is not being (unexpectedly) overwritten? Are you using (/importing) more than one class with that

[OT] Servlet Name at runtime

2004-02-12 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi to you all, An OT question (if it were not urgent, I wouldnt post it) hope not to get fired for this. :-) Given a web application with two Servlets classA and classB: how can I determine classBs servlet-name (as specified inside the web.xml file) from classAs doGet method? I

RE: Reading Context Data

2004-02-12 Thread Villalba Arias, Fredy [BILBOMATICA]
= (Object)request.getAttribute(mdfUser); I am not importing more than one class with the same name either I am baffled; this should work. -Original Message- From: Villalba Arias, Fredy [BILBOMATICA] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 8:58 AM To: Struts Users

RE: Reading Context Data

2004-02-12 Thread Villalba Arias, Fredy [BILBOMATICA]
where the bean in question is imported from. I also included the source code for the bean. Any help you could provide would be much appreciated. Thanks, Natalie -Original Message- From: Villalba Arias, Fredy [BILBOMATICA] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 11:25 AM

RE: [OT] Sending email from struts

2004-02-11 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi Matt, The first thought that comes through my mind is this: consider your email as a burden plain text message (/stream). Then, look for a text parser or similars. Most surely, you will be able to find something related to XML / XSLT technologies. Hope this gives you some ideas. Regards,

RE: dynamic parameters

2004-02-10 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi, I don't know about indexes, but I can think of a simple solution, Struts-independent (well, not 100%): have all values concatenated in a single hidden attribute that get's submitted, using different tokens for separating different values and for separating different records (by record I

Passing parameters between Actions

2004-02-09 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi everybody, Is there a standard / preferred way(s) to pass parameters from one Action(Form) to another? Is there some way to have some property (of any type) automatically mapped between two ActionForms? Regards, Freddy. --- Outgoing mail is certified Virus Free. Checked by AVG

Enable the log for RequestProcessor and other classes

2004-02-06 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi, Is there a configuration variable (web.xml / struts-config.xml / other file) for enabling the log for the RequestProcessor class (and the like)? Regards, Freddy. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 /

RE: Back to the originating screen...

2004-02-06 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi, IMHO, this is a difficult problem to solve (100%, that is). Including the redo-URL on the language link is the most practical of those options, if you are able to generate redo-URLs that do not redo the last action itself but only recompose the current view (not that simple, I know).

RE: Using the ActionForm in the JSP

2004-02-05 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi Rahul, I'm kind of a newbie, but I believe that: (1) Assuming that the scope you specified for that bean is request, it's intantiated when rendering the page (I suppose you mean a GET) and every time you do a POST. (2) You can specify a default value inside your JSP, but - almost sure -

RE: Struts and Pajes

2004-02-04 Thread Villalba Arias, Fredy [BILBOMATICA]
Ok. I'll try to be more clear: - I don't want to use JSPs when working with Struts, neither the Taglibs. Instead, I want to be able to delegate the presentation on an external component. - In order to do that, I must be able to access the data to be presented (i.e. access the appropriate

RE: Accessing ActionForm from Servlet (was: Pajes + Struts)

2004-02-04 Thread Villalba Arias, Fredy [BILBOMATICA]
Thanx Joe, Andrew... you seem to have grasped the essence of my worries. Andrew: on your comment about Pajes (jejeje), yes. It's a nice simple framework I've been working with for about 2 years now. I confess I have not been interested to become a Guru at it or something like that, but that's

RE: Accessing ActionForm from Servlet (was: Pajes + Struts)

2004-02-04 Thread Villalba Arias, Fredy [BILBOMATICA]
? Regards, Freddy. -Mensaje original- De: news [mailto:[EMAIL PROTECTED] En nombre de Thorsten Scherler Enviado el: miƩrcoles, 04 de febrero de 2004 17:20 Para: [EMAIL PROTECTED] Asunto: Re: Accessing ActionForm from Servlet (was: Pajes + Struts) Villalba Arias, Fredy [BILBOMATICA] fvillalba

Struts and Pajes

2004-02-03 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi to yall, Im trying to integrate Pajes (www.apache.org), a Servlet Presentation Framework, with Struts. The idea is to use Struts MVC separation (Action, ActionForms, ActionServlet, etc) WITHOUT using Struts presentation tools (i.e. no JSP, ergo no JSP Tags), just plain XHTML templates

Pajes + Struts (REPOSTED and FORMATTED)

2004-02-03 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi to yall, Im trying to integrate Pajes (www.pajes.org), a Servlet Presentation Framework, with Struts. The idea is to use Struts MVC separation (Action, ActionForms, ActionServlet, etc) WITHOUT using Struts presentation tools (i.e. no JSP, ergo no JSP Tags), just plain XHTML templates (in

RE: Accessing ActionForm from Servlet (was: Pajes + Struts)

2004-02-03 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi Hubert, thanx for answering! Read below. Not sure this would be possible. The actual ActionForm in use depends on the session, and sometimes even the particular request. I doubt there's a way to get to the form object actually in use by just specifying the action class. If it's the *class*