help on struts 1.1 and iplanet AS 6.5

2004-02-14 Thread Adolfo Miguelez
Hi All, I have developed an Struts 1.1 app under Tomcat. I did not have any problems to migrate it to Websphere 5.0, and it worked with no changes. Fine!!! However, when trying to deploy in an iPlanet Application Server 6.5, it did not work. It complaints in many points. For example, I was

RE: OT Chart generation Framework

2004-01-21 Thread Adolfo Miguelez
I found Cewolf really really easy to use. In the cewolf.war example app, there is a jsp file containing the 20 possible graphics available in cewolf. Glancing thru the code of this jsp you have 20 copy/paste pieces of code for the graphics, including a provider and custom tag for each graphic.

Re: Chart generation Framework

2004-01-20 Thread Adolfo Miguelez
I have been able to use Cewolf. Quite easy to configure. However, I succeded in Windows environments but not in Linux. Any experience in AIX/Solaris? From: Otávio Augusto [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

RE: Chart generation Framework

2004-01-20 Thread Adolfo Miguelez
, annotations), you can use Jfreechart directly. -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 11:17 AM To: [EMAIL PROTECTED] Subject: Re: Chart generation Framework I have been able to use Cewolf. Quite easy to configure. However, I succeded

RE: Paging for table...

2004-01-04 Thread Adolfo Miguelez
Hi, I always wondered a question about this kind of server side paging: THE PROBLEM: I suppose it is based on getting all the results at once from the database and storing them in session. Further on, data is extracted in slots from the session and thrown to a JSP for rendering. Well, I guess

Re: Are httpSessions thread safe?

2003-12-18 Thread Adolfo Miguelez
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgId=149353 From: David Erickson [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED],[EMAIL PROTECTED] Subject: Re: Are httpSessions thread safe? Date: Thu, 18 Dec 2003

Re: Multiple Config files

2003-12-09 Thread Adolfo Miguelez
Interesting apart from the Tiles-Plugin issue, is there any issue more to take in mind? AFAIK, this is as configuring subapplications, i.e. files for a subapplication are found under a subdirectory, is this true?.. Or they just hang from the same documents root for any

Re: Passing objects from JSP to Action (in request scope)

2003-11-20 Thread Adolfo Miguelez
Hi Jose Manuel, as you comment, in your design JSP is accesing database. In a pure MVC model 2 design, database should be accessed preferably by an Action. JSP is most focused for presentation purposes. Why do noy you access database from the Action to get the Vector and store it in session to

Re: Passing objects from JSP to Action (in request scope)

2003-11-19 Thread Adolfo Miguelez
Hi Jose Manuel, From: Castañeda Santana, Jose Manuel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Passing objects from JSP to Action (in request scope) Date: Wed, 19 Nov 2003 18:58:08 +0100 I would be really happy if

RE: Passing objects from JSP to Action (in request scope)

2003-11-19 Thread Adolfo Miguelez
Hi Jose Manuel, From: Castañeda Santana, Jose Manuel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: RE: Passing objects from JSP to Action (in request scope) Date: Wed, 19 Nov 2003 20:59:28 +0100 Thanks, Adolfo!

any standalone java framework around?

2003-10-09 Thread Adolfo Miguelez
Hi All, time ago I have seem in Jakarta/Apache a java framework for standalone Java apps (swing) (i.e. not web related). Can, any of you, help me to remember, or even provide some links to other open source standalone client/server frameworks out of Apache? TIA, Adolfo

RE: any standalone java framework around?

2003-10-09 Thread Adolfo Miguelez
AM + 10/9/03, Adolfo Miguelez wrote: Hi All, time ago I have seem in Jakarta/Apache a java framework for standalone Java apps (swing) (i.e. not web related). Can, any of you, help me to remember, or even provide some links to other open source standalone client/server frameworks out of Apache

Re: RSS and Struts

2003-10-08 Thread Adolfo Miguelez
I have used this library with success: http://www.servletsuite.com/servlets/rsstag.htm Probably some more around Adolfo. From: Mark Lowe [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: RSS and Struts

Re: books and tutorials

2003-09-30 Thread Adolfo Miguelez
Carlos, definitly Struts is absolutely interesting. It pays back its not so flat learning curve. In the front page of the project you will find books and resources enough to learn. You will find indeed a link to the following page plenty of good Struts stuff:

Re: Value assignment to html:hidden field...

2003-09-25 Thread Adolfo Miguelez
What about this? bean:define id=date name=BussinessDate scope=session/ html:hidden value = %=date % property=txtBusidate width=15 size=25 maxlength=25/ Adolfo. From: Abhijeet Mahalkar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List

RE: Value assignment to html:hidden field...

2003-09-25 Thread Adolfo Miguelez
yes, you can. it is evaluated previously to the tags themselves, so thechnically is possible. You can also preload the form either: - declaring the form with session scope for the previous action, so you can take it in the action to preload it, - or create a new instance also in the previous

Re: HELP using struts1.1 and iplanet4.1 sp7

2003-09-24 Thread Adolfo Miguelez
Hi Juan Pedro, --- cant remove Attributes from request scope (uri=/logon.jsp): javax.servlet.ServletException: cant remove Attributes from request scope, stack: javax.servlet.ServletException: cant remove Attributes from request scope at

Re: HELP using struts1.1 and iplanet4.1 sp7

2003-09-24 Thread Adolfo Miguelez
Pertaining to the change below, is just a patch to apply in FormTag.doEndTag() ONLY. Have a look to these links: http://www.mail-archive.com/[EMAIL PROTECTED]/msg10110.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg01243.html With the patch applied we have run with no problems. However I

Re: Anyone know how to init() a servlet (Struts) in iplanet 4.1

2003-09-24 Thread Adolfo Miguelez
AFAIK, as any servlet, the init() method will be called by the container in applpication startup (if load-on-startup) is on or in first invocation. Just place something as: servlet servlet-nameaction/servlet-name

.do as welcome-file

2003-09-23 Thread Adolfo Miguelez
Does anyone has figured out how to do this? welcome-file-list welcome-file/start/start.do/welcome-file /welcome-file-list I am not able to make it work. TIA, Adolfo. _ Protect your PC - get

Re: J2EE Pattern implementing Classes in Struts

2003-09-23 Thread Adolfo Miguelez
As far as I remember, there is a explanation in one of the apendix of Struts in Action book concerning mapping among Strus classes and patterns that implements. Adolfo. From: Kommineni, Sateesh (IndSys) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users

Re: Working Struts on WebSphere 5

2003-09-20 Thread Adolfo Miguelez
We had similar experiences in WSAD 5. For example, setting a property as: set-property property=name[0] value=thevalue/ makes WSAD to display a red cross in the file under Java perspective, meaning that the syntax is not valid. Anyway, it follows the WSAD 5 validation rules and it does not

Re: Getting Messages in an Action?

2003-09-16 Thread Adolfo Miguelez
and what about from an ExceptionHandler? From: Andrew Kuzmin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED], Carl-Eric Menzel [EMAIL PROTECTED] Subject: Re: Getting Messages in an Action? Date: Tue, 16 Sep 2003 18:29:39

Re: Getting Messages in an Action?

2003-09-16 Thread Adolfo Miguelez
, HttpServletResponse response) /snip MessageResources resources = (MessageResources) request.getAttribute(Globals.MESSAGES_KEY); -- Andrew Kuzmin http://www.java201.com - Original Message - From: Adolfo Miguelez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 6:47 PM Subject

Re: Write a bean property from a jsp page

2003-09-12 Thread Adolfo Miguelez
check that your Bean has get/set methods for accessing your property, also of course, check that Bean is in some of the JSP scopes. Your syntax should be ok (but please close the tag:) bean:write name=Bean property=property/ Adolfo From: Mariano García [EMAIL PROTECTED] Reply-To: Struts Users

RE: Write a bean property from a jsp page

2003-09-12 Thread Adolfo Miguelez
Your proposal before was fine: bean:write name=Bean property=property/ However not too sure about if the get method needs to return a String in order Java can actually make nicely reflection over the Bean. Otherwise I guess you would get a Not accesor method found Why do you actually

RE: Write a bean property from a jsp page

2003-09-12 Thread Adolfo Miguelez
AFAIK, no way with struts, I think. From: Mariano García [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Write a bean property from a jsp page Date: Fri, 12 Sep 2003 10:41:28 +0200 I don't want to access a

Re: Link

2003-09-11 Thread Adolfo Miguelez
Hi Francisco, the tag html:a does not exist in struts-html.tld. ActionForms are supposed to be focused for collecting input parameters or maybe preloading a form, so I guess you could do a refactoring in the code. Anyway, assuming that you want to use an ActionForm, I think you would treat it

Re: Exception running Tomcat

2003-09-08 Thread Adolfo Miguelez
clear enought, is not it? -- El siguiente carßcter debe ser cerrando comentario . There is a tag in your struts-config that is not closed. Or maybe a comment is not properly closed. Check for wellformedness in struts-config. Adolfo. From: Mariano García [EMAIL PROTECTED] Reply-To:

RE: Information about visitors using my portal

2003-09-03 Thread Adolfo Miguelez
http://www.servlets.com/soapbox/filters.html From: Mark Galbreath [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Information about visitors using my portal Date: Wed, 3 Sep 2003 07:19:07 -0400 Jason Hunter

force caching staticJavascript.jsp

2003-08-31 Thread Adolfo Miguelez
Hi, as validator framework suggest, is possible to avoid downloading static functions for validation for every JSP, by creating the page: %@ page contentType=application/x-javascript % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:javascript dynamicJavascript=false

RE: Visual Age Integration with Struts - org.xml.sax.SAXParseException

2003-08-27 Thread Adolfo Miguelez
I think you have to place the DTDs somewhere in your classpath under the path org/apache/struts/resources: By example: under C:\Archivos de programa\IBM\VisualAge for Java\ide\project_resources\Struts which is the directory where VAJ stores the struts project resources it is for it classpath

Re: Is singleton DAO acceptable? -- Best Practices

2003-08-27 Thread Adolfo Miguelez
accuracily, Adolfo. From: Mick Wever [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Is singleton DAO acceptable? -- Best Practices Date: Wed, 27 Aug 2003 10:43:55 +0200 On Tue, 26 Aug 2003 20:10:07 +, Adolfo Miguelez wrote: Just

RE: Is singleton DAO acceptable? -- Best Practices

2003-08-27 Thread Adolfo Miguelez
Thanks for your feedback, Adolfo. From: Richard Tomlinson [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Adolfo Miguelez [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: Is singleton DAO acceptable? -- Best Practices Date: Wed, 27 Aug 2003 11:48:19 +0100 I've

Re: Is singleton DAO acceptable? -- Best Practices

2003-08-26 Thread Adolfo Miguelez
Just to share my experience with singletons: under heavy stress we found that a singleton class in our framework was garbage collected. As far as I remember, singletons are eligible for that with current SDKs despite policy has changed over times as I read from some document in the web. They

accessing ApplcationResources from an ExceptionHandler

2003-08-22 Thread Adolfo Miguelez
hi, having a key of the ApplicationResources.properties in an ExceptionHandler subclass, how could I get its corresponding value in the ApplicationResources from there? Thanks in advance. _ The new MSN 8: smart spam protection and

staticjavascript.jsp caching?

2003-08-19 Thread Adolfo Miguelez
Pertaining to the staticJavascript.jsp page in the validator, I have to defend with my boss the position that it is actually cached by the browser so it is not downloaded for every request. However we have made some tests and it is actually not cached. How could I convince my boss? What am I

Re: where is JSESSIONID?

2003-08-16 Thread Adolfo Miguelez
I have also wondered the same question many times. I assume in browser's memory you mean. Good. Is there any way to access it from the client code, javascript or related stuff? I my understanding cookies are stored in browser's machine hard disk. Is this cookie for session an exception? I

RE: Validator

2003-08-14 Thread Adolfo Miguelez
PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Validator Date: Mon, 11 Aug 2003 08:52:04 -0700 Are you running Struts 1.1? I think this is a problem that was fixed before 1.1 final was released. Steve -Original Message- From: Adolfo

Re: Validator

2003-08-14 Thread Adolfo Miguelez
What about replacing reference PUBLIC in fetching the DTD by a SYSTEM in order to locate it in the same machine, i.e. with no internet access? We have successfully tried. Adolfo. From: Doug [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List

specifing subclass of forward in just one place

2003-08-04 Thread Adolfo Miguelez
Hi All, we would like to make every single forward in our app to extend from a AppForward. In such a way we would like to configure this in just one single place in the config files rather that for every forward. We know that it could be done for global forwards as: global-forwards

DTD mapping to DDBB......?

2003-06-22 Thread Adolfo Miguelez
INTRO: Nowadays, one of the main focus of current technologies looks like (IMHO) to define DTD for specific commonly used formats. For example XBRL (www.xbrl.org), is a standard for companies to publish and exchange business reports, or HR-XML (http://www.hr-xml.org/) is an other standard

creating dynabean properties on demand possible?

2003-06-18 Thread Adolfo Miguelez
Hi all, I wonder a question: Why BasicDynaBean implementation does not allow to create a DynaBean setting property/value pairs on demand.? AFAIK, first an empty DynaBean (i.e. a DynaClass) must be created and it can be filled only after creation. The issue is that sometimes it make me loop

Re: Virus warning

2003-06-10 Thread Adolfo Miguelez
I run in the same issues last weekend with BugBear virus and after passing Norton it removed me a trojan from the HD. Be careful. Adolfo. From: Kevin Robair [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Virus warning Date: Tue, 10 Jun

Re: RE: how to put a bean:write in a href=

2003-06-05 Thread Adolfo Miguelez
No way to embed custom tags so AFAIK it is the only chance: bean:define id=pepe name=orgview property=id/ html:text property=id value=pepe/ Adolfo From: António Santos [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: RE: how to put a

Re: RE: how to put a bean:write in a href=

2003-06-05 Thread Adolfo Miguelez
I meant: bean:define id=pepe name=orgview property=id/ html:text property=id value=%=pepe%/ From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: RE: how to put a bean:write in a href= Date: Wed, 04 Jun 2003 19:54:18

comparing String with an AppResources value

2003-06-02 Thread Adolfo Miguelez
Hi All, we have an use case that we are not able to manage. We intend to compare a parameter with a value obtained from the ApplicationResources file, i.e.: logic:match name=string_to_compare value=value_obtained_from_properties/logic:match * It would be easy to do by using: logic:match

getting Resources from ExceptionHandler

2003-05-30 Thread Adolfo Miguelez
Hi All, Does anyone figures out how to get MessageResources from the execute() method of an ExceptionHandler? TIA, Adolfo. _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus

Re: [OT] My Struts webapp and hosting

2003-04-05 Thread Adolfo Miguelez
Guido, I had the same issue with MySQL connection. I solved by adding to the URL : ?autoReconnect=true Hope it helps, adolfo From: Guido [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [OT] My Struts webapp and hosting Date: Sat, 5 Apr

LDAP client API?

2003-04-02 Thread Adolfo Miguelez
Hi All, quick question. Is there any LDAP client project in the Jakarta/Apache set of projects. Otherwise, is there any open source outside? TIA, Adolfo _ Add photos to your e-mail with MSN 8. Get 2 months FREE*.

Re: Tiles and WebSphere

2003-03-17 Thread Adolfo Miguelez
I did sucessfully in WAS 3.5.3. Have not tried in WAS 5.0 From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tiles and WebSphere Date: Mon, 17 Mar 2003 14:03:38 -0700 My Struts 1.1 app. successfully runs on Tomcat using Tiles.

Which J2EE version is compliant with Struts apps?

2003-03-06 Thread Adolfo Miguelez
Hi All, an easy question. AFAIK, Struts is based on servlets 2.2 and JSP 1.1 specs. Therefore a J2EE 1.2 compliant app server is needed. Right? We are investigating about using WAS5 and WSAD5. Both of them actually permit to choose among developing or deploying J2EE1.2 or J2EE1.3 compliant

Re: Which J2EE version is compliant with Struts apps?

2003-03-06 Thread Adolfo Miguelez
:13:50 -0700 You can use Struts in servlet 2.2 or 2.3 environments. David From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Which J2EE version is compliant with Struts apps? Date: Thu, 06 Mar 2003 10:07:32 + Hi All

Re: Which J2EE version is compliant with Struts apps?

2003-03-06 Thread Adolfo Miguelez
PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Which J2EE version is compliant with Struts apps? Date: Thu, 06 Mar 2003 08:46:07 -0700 Yes, but I don't know why you would choose 2.2 when 2.3 is newer and more powerful. David From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing

Re: Which J2EE version is compliant with Struts apps?

2003-03-06 Thread Adolfo Miguelez
Senior Developper Cap Gemini Ernst Young +33 2 51 17 35 00 phone 3716 +33 6 23 34 63 39 - Message d'origine - De : Adolfo Miguelez [EMAIL PROTECTED] À : [EMAIL PROTECTED] Envoyé : jeudi 6 mars 2003 18:07 Objet : Re: Which J2EE version is compliant with Struts apps? When deployed to a server

Re: Which J2EE version is compliant with Struts apps?

2003-03-06 Thread Adolfo Miguelez
2 51 17 35 00 phone 3716 +33 6 23 34 63 39 - Message d'origine - De : Adolfo Miguelez [EMAIL PROTECTED] À : [EMAIL PROTECTED] Envoyé : jeudi 6 mars 2003 18:07 Objet : Re: Which J2EE version is compliant with Struts apps? When deployed to a server container as WAS, or even WSAD making de

Re: possible remove ![CDATA[]] from validator-rules?

2003-02-27 Thread Adolfo Miguelez
validator-rules? Date: Wed, 26 Feb 2003 14:08:48 -0700 Why can't you use the CDATA section? David From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: posible remove ![CDATA[]] from validator-rules? Date: Wed, 26 Feb 2003 20:13:49

posible remove ![CDATA[]] from validator-rules?

2003-02-26 Thread Adolfo Miguelez
Hi All, I am trying to implement customized validator. In validator-rules.xml XML file, we need to define the validator and its assigned javascript validation code for the JSP. The javascript tag is defined as a PCDATA element in the DTD: !ELEMENT javascript (#PCDATA) so we need enclose the

XML dummy question

2003-02-25 Thread Adolfo Miguelez
Hi All, just I easy question for XML developers. We have many configuration XML files for our model tier in struts our apps. Are the following approaches analogous? - approach A: tag ACDATA[text_that_I_do_not_want_to_parse]/A - approach B: tag Atext_that_I_do_not_want_to_parse/A validating

logic:iterate

2003-02-03 Thread Adolfo Miguelez
Hi All, I am trying to make a generic HTML table by using two logic:iterate tags. I did not have problem doing this with Struts 1.1b1. table logic:iterate id=row name=bean1 property=property1 tr logic:iterate id=column name=bean2 property=property2 tdbean:write

Re: Message Resource Bundle from an action

2003-02-03 Thread Adolfo Miguelez
An snip of my code for Struts 1.0.2 String mensaje = ; MessageResources resources = (MessageResources) servlet.getServletContext().getAttribute(Action.MESSAGES_KEY); if (resources == null) mensaje = fichero de propiedades no encontrado; else mensaje =

are static classes GC'd?

2003-01-31 Thread Adolfo Miguelez
A core Java question. Can not find the solution so we would appreciate any pointer or reference. Are static classes eligible for being Gc'd? How does behave GC with static classes? TIA, Adolfo. _ The new MSN 8: advanced junk

RE: are static classes GC'd?

2003-01-31 Thread Adolfo Miguelez
? -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 8:03 AM To: [EMAIL PROTECTED] Subject: are static classes GC'd? A core Java question. Can not find the solution so we would appreciate any pointer or reference. Are static classes eligible

RE: are static classes GC'd?

2003-01-31 Thread Adolfo Miguelez
: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 8:57 AM To: [EMAIL PROTECTED] Subject: RE: are static classes GC'd? Sorry, of course I meant the unique instance of the static class. We have a templates caches filled under demand, and implemented as a singleton hashtable. We

Re: are static classes GC'd?

2003-01-31 Thread Adolfo Miguelez
PROTECTED] Subject: Re: are static classes GC'd? Date: Fri, 31 Jan 2003 16:32:08 +0100 Friday, January 31, 2003 4:20 PM , Adolfo Miguelez [EMAIL PROTECTED] a écrit : I agree. But, could the hashtable be collected before since it has not references in the method? Or is TemplatesCache.getInstance

RE: [Newbie] ActionForm prepopulation

2003-01-29 Thread Adolfo Miguelez
Maybe already well known for a lot of you but I have found a helpful trick for me to prepopulate a page with form. From a previous action, put in request a usual bean as value object (maybe a instance of the ActionForm manually instantiated) filled with the data that you want to prefill and

get form bean name from Action

2003-01-22 Thread Adolfo Miguelez
Hi all, a quick question. How can be, from an Action, obtained the NAME of the asociated form bean in with struts 1.0.2. There is a way: mapping.getFormClass(); but it is actually deprecated. Any non deprecated way? Adolfo. _

Re: (Un)expected behaviour in Action instance variables?

2003-01-21 Thread Adolfo Miguelez
Message - From: Adolfo Miguelez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 20, 2003 12:08 PM Subject: (Un)expected behaviour in Action instance variables? Hi all, some of our teams have defined an instance variable in an Action. Wrong policy as said in the online

Re: (Un)expected behaviour in Action instance variables?

2003-01-21 Thread Adolfo Miguelez
instance variables? Date: Tue, 21 Jan 2003 12:25:21 -0800 (PST) On Tue, 21 Jan 2003, Adolfo Miguelez wrote: Date: Tue, 21 Jan 2003 10:26:49 + From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: (Un)expected

help!!!!! SOS.

2003-01-20 Thread Adolfo Miguelez
Hi all, a really difficult question with maybe no response. We have a subclass of a BaseAction whcih inherits form Action. BaseAction in turns publish a method inherited getData(). The point is that getData is implemented such as it needs the request to perform some kind of operations. We

Re: help!!!!! SOS.

2003-01-20 Thread Adolfo Miguelez
) { ... .getData(). ... } } We want do getData() doing some stuff based in request or session info, but we can not change the interface. The idea would be to obtain current request o session from Thread.currentThread(). Any idea?, Adolfo. From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts

RE: help!!!!! SOS.

2003-01-20 Thread Adolfo Miguelez
Thanks Kristian, I have been also investigating the issue. I found about ThreadLocal variables as variables that are aware in a per thread basis, and belongs to the Java specs. They allow to use a singleton classes with no problems of concurrence. =:-) New stuff for me. If someone has any

RE: help!!!!! SOS.

2003-01-20 Thread Adolfo Miguelez
After some tests it seems to work. Good Adolfo. From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: help! SOS. Date: Mon, 20 Jan 2003 16:38:22 + Thanks Kristian, I have been also investigating the issue

(Un)expected behaviour in Action instance variables?

2003-01-20 Thread Adolfo Miguelez
Hi all, some of our teams have defined an instance variable in an Action. Wrong policy as said in the online docuemntation: *** http://jakarta.apache.org/struts/userGuide/building_controller.html#action_design_guide Only Use Local Variables - The most important principle that

set-property from action tag chances?

2003-01-16 Thread Adolfo Miguelez
Hi all, currently there is a nice feature for action configuration, in which is possible to send parameters to the Action through the ActionMapping. It uses the set-property tag. By example: action path=/sellers type=com.out.control.DoQueryAction

tiles scopes and .do in definitions

2003-01-14 Thread Adolfo Miguelez
Hi all, I am glancing the 11th chapter of Struts in action chapter: Tiles. In 11.3.3 it says that by declaring a definition in the XML file, it will be available for the app. It also says for Definition tag the syntax used wuthin the XML config file is similar to the tiles definition tag.

RE: ArrayDescriptor - GenericConnection exception

2003-01-03 Thread Adolfo Miguelez
We solved a close problem with StructDescriptor/ArrayDescriptor and WAS/VisualAge pool and a cumbersome ClassCastException by extracting getPhysicalConnection() from the connection returned by the IBM pool. Hope it can save time for someone in the same trouble since it take quite a long time

RE: Forward action.

2002-12-11 Thread Adolfo Miguelez
I would be interested also in feedback on this issue, since I get this exception too often. Nothing happends and pages are rendered properly but it is really anoying. It looks like that server lose connection with the client (despite HTTP is a connectionless protocol). Does any of you could

Re: Java Server Faces stage?

2002-12-06 Thread Adolfo Miguelez
? Date: Thu, 5 Dec 2002 18:54:26 -0800 (PST) On Thu, 5 Dec 2002, Adolfo Miguelez wrote: Date: Thu, 05 Dec 2002 12:13:00 + From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Java Server Faces stage? Hi All, last

Java Server Faces stage?

2002-12-05 Thread Adolfo Miguelez
Hi All, last days I have seen, the availability of the new technology Java Server Faces. It seems a really promissing technology. I have discovered recently that there is already a reference implementation available apart from the specs. I would like to know if if is currently possible to

WYSIWYG API

2002-12-02 Thread Adolfo Miguelez
Hi all, I am thinking about developing a projects with stands in a WYSIWYG design of HTML pages. I have been looking for any API, or Open Source project to adapt, which could ease me the task, by using visual images, representing HTML components, or maybe Struts custom tags, dragged and

Re: [OT] WAS Connection Pool

2002-11-18 Thread Adolfo Miguelez
is that you'll really be handed back Oracle implementation classes instead of the app server's. Quoting Adolfo Miguelez [EMAIL PROTECTED]: Firsly, thanks for your response: Yeah, I knew the issue appears also for WL. I have seem the problem quite complained in the web, but no the solution. Probably

RE: struts workflow

2002-11-16 Thread Adolfo Miguelez
Diego, I know two workflow projects http://www.livinglogic.de/Struts/ integrated with Struts: and http://jakarta.apache.org/commons/index.html, SandboxComponents, Workflow. No idea if they are the same project or even if there will be any of then integrated with the Struts 1.1 release. I

Re: Struts on the web

2002-11-10 Thread Adolfo Miguelez
http://jakarta.apache.org/struts/resources/powered.html and more generically http://jakarta.apache.org/struts/resources/index.html Regards, Adolfo From: Alireza Fattahi [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]

Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Adolfo Miguelez
Que capullos si compras primero el ebook ahora te llevas el book a mitad de precio o sea los 2 por 44 dolares. El problema es que yo ya prepedi el book. From: Ted Husted [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Adolfo Miguelez
sorry, I mistaked the target address :-O From: Ted Husted [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: [ANNOUNCE] Struts In Action now in print Date: Thu, 07 Nov 2002 10:47:39 -0500 The Manning book, Struts in

Struts 1.1 release

2002-11-06 Thread Adolfo Miguelez
Sorry for the probably, better sure, stupid question, but I have seen an email from Craig saying that Struts 1.1 would be released at Idus of March and a :-) icon after. For the non-English speakers, and do not laught of us, please: was he joking? We can not understand the nounce of the

Re: PDF generation with Struts

2002-10-24 Thread Adolfo Miguelez
Have a look to FOP from Apache XML bunch. Regards, Adolfo. From: Daniel Jaffa [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: PDF generation with Struts Date: Thu, 24 Oct 2002 09:52:54 -0400 I am using an

Re: [OT] WAS Connection Pool

2002-10-16 Thread Adolfo Miguelez
] Subject: Re: [OT] WAS Connection Pool Date: Tue, 15 Oct 2002 09:45:06 -0700 (PDT) On Tue, 15 Oct 2002, Adolfo Miguelez wrote: Date: Tue, 15 Oct 2002 16:21:24 + From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED

RE: How to use datasource and db connection pooling in struts?

2002-10-15 Thread Adolfo Miguelez
Taking advantage of this thread. Has any of you had the experience of using a connection provided by the Websphere pool to handle connected components, i.e. Struct or ARRAY in Oracle. We are getting a ClassCastException since driver attempts to cast the connection to an OracleConnection, and

Re: [OT] WAS Connection Pool

2002-10-15 Thread Adolfo Miguelez
OracleConnections. Dave From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: How to use datasource and db connection pooling in struts? Date: Tue, 15 Oct 2002 14:58:46 + Taking advantage of this thread. Has any of you had

Re: [OT] WAS Connection Pool

2002-10-15 Thread Adolfo Miguelez
you are able to tell the WAS pool to use OracleConnection. BTW, why do you need to cast to the specific connection type? Dave From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [OT] WAS Connection Pool Date: Tue, 15

RE: [OT] WAS Connection Pool

2002-10-15 Thread Adolfo Miguelez
driver class are you using? It seems like you should be able to tell WAS to use the oracle db driver which would return OracleConnections. Dave From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: How to use

Re: [OT] WAS Connection Pool

2002-10-15 Thread Adolfo Miguelez
WAS to use the oracle db driver which would return OracleConnections. Dave From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: How to use datasource and db connection pooling in struts? Date: Tue, 15 Oct 2002 14

connection pools

2002-10-07 Thread Adolfo Miguelez
Hi All, a quick question. I just need references to open source database connection pools available for checking out. I know Poolman and Protomatter. Does Apache provides any more complete pool? Any nicer pool anywhere? TIA, Adolfo.

Re: connection pools

2002-10-07 Thread Adolfo Miguelez
cheers everybody, Adolfo. From: Craig R. McClanahan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED], Dariusz Wojtas [EMAIL PROTECTED] Subject: Re: connection pools Date: Mon, 7 Oct 2002 09:16:14 -0700 (PDT) On Mon,

initialization parameters

2002-10-02 Thread Adolfo Miguelez
Hi All, I need to configure a set of params related to the DB procedures to be invoked in struts app startup. AFAIK, in Struts 1.1, the right way could be to create a plugin and pass the params as plugin parameters. However we are using Struts 1.0.2. For this version, I figure out 2 ways: -

Re: Dynamically set the 'value' attribute of html:text element...??

2002-09-20 Thread Adolfo Miguelez
Not tested but shuld be close to: bean:define id=pp name=customer property=firstName scope=session/ html:text property=firstName value=%=pp%/ Adolfo. From: John Sherlock [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED]

JSF implementation available

2002-09-20 Thread Adolfo Miguelez
Hi All, I have reading about future JSF/Struts integration. It seems a really promissing and powerfull enhacement to get rid of the cumbersome custom tags. AFAIK, JSF is just released from August 14, 2002. My questions are: - are there any implementations already available of the 1.9

upload exception

2002-09-17 Thread Adolfo Miguelez
Any idea about why this exception is being raised in a file upload? We are using Struts 1.0.2. [02.09.17 09:24:39:561 GMT+02:00] c59cfbc7 SRTServletReq X Access method was post but ContentType multipart/form-data; boundary=---7d290189a0e3c was not recognized TIA,

  1   2   3   >