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 able

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
laris. If you have to customize your graphs (legends, axis, 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

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 PR

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: Th

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 struts-config.xml

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: RE: Passing objects from JSP to Action (in request scope) Date: Wed, 19 Nov 2003 20:59:28 +0100 > > > Thanks

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

RE: any standalone java framework around?

2003-10-09 Thread Adolfo Miguelez
ubject: Re: any standalone java framework around? At 8:52 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

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: 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 an

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: http://jakarta.apache.org/struts/r

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 act

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

2003-09-25 Thread Adolfo Miguelez
What about this? 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" <[EMAIL PROTECTED]> Subject: Value assignment to html:hidden field..

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: action org.apache.struts.action.ActionServlet

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: 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 org.apache.jasper.runtime.PageContextImpl.handlePageEx

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

.do as welcome-file

2003-09-23 Thread Adolfo Miguelez
Does anyone has figured out how to do this? /start/start.do I am not able to make it work. TIA, Adolfo. _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/cam

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: 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 avoids that application can statup and perform

Re: Getting Messages in an Action?

2003-09-16 Thread Adolfo Miguelez
HttpServletRequest request, HttpServletResponse response) MessageResources resources = (MessageResources) request.getAttribute(Globals.MESSAGES_KEY); -- Andrew Kuzmin http://www.java201.com ----- Original Message - From: "Adolfo Miguelez" <[EMAIL PROTECTED]> T

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

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 acce

RE: Write a bean property from a jsp page

2003-09-12 Thread Adolfo Miguelez
Your proposal before was fine: 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 returns a int value? From: Mariano Garcí

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:) Adolfo From: Mariano García <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To

Re: Link

2003-09-11 Thread Adolfo Miguelez
Hi Francisco, the tag 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 as a s

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 H

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" %> which would hold static functions called from t

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 accepta

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

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-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 we

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 do

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 have

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 Li

RE: Validator

2003-08-14 Thread Adolfo Miguelez
e > -Original Message- > From: Adolfo Miguelez [mailto:[EMAIL PROTECTED] > Sent: August 11, 2003 8:12 AM > To: [EMAIL PROTECTED] > Subject: Re: Validator > > > What about replacing reference PUBLIC in fetching the DTD by a SYSTEM in > order to locate it in the s

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: but for

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 focuse

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 tw

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 Ju

Re: RE: how to put a in a href=""

2003-06-05 Thread Adolfo Miguelez
I meant: From: "Adolfo Miguelez" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: RE: how to put a in a href="" Date: Wed, 04 Jun 2003 19:54:18 + No way to embed custom tags so AFA

Re: RE: how to put a in a href=""

2003-06-05 Thread Adolfo Miguelez
No way to embed custom tags so AFAIK it is the only chance: 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 in a href="" Date: Wed, 4 Jun 2003 20:40:24 + Thanks. Nice tip. By t

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.: * It would be easy to do by using: "/> but as for custom tag limitations, we can not actually embed two custom tags. * On t

getting Resources from ExceptionHandler

2003-05-29 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

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*. http://jo

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

Re: Which J2EE version is compliant with Struts apps?

2003-03-06 Thread Adolfo Miguelez
Regards, Emmanuel Feller 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 ver

Re: Which J2EE version is compliant with Struts apps?

2003-03-06 Thread Adolfo Miguelez
to do the choice. I hope it helps, Regards, Emmanuel Feller 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

Re: Which J2EE version is compliant with Struts apps?

2003-03-06 Thread Adolfo Miguelez
ts Users Mailing List" <[EMAIL 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 Migue

Re: Which J2EE version is compliant with Struts apps?

2003-03-06 Thread Adolfo Miguelez
h Struts apps? Date: Thu, 06 Mar 2003 08: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 versio

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 app

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

2003-02-27 Thread Adolfo Miguelez
: posible remove ![CDATA[]] from 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] Subje

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 tag is defined as a PCDATA element in the DTD: so we need enclose the function in a CDATASection as ![CDATA[..

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: CDATA[text_that_I_do_not_want_to_parse] - approach B: text_that_I_do_not_want_to_parse validating against a DTD wh

Re: installing Struts in Websphere Allication Server 5?

2003-02-07 Thread Adolfo Miguelez
working for me... god knows how :-) Ashish --- Adolfo Miguelez <[EMAIL PROTECTED]> wrote: > Hi All, > > has anyone been able to install a Struts app in > Websphere 5? Currently WAS 5 > uses a Xerces 2 parser and Struts 1.1b* uses Xerces > 1(1.4.4). > > How to make this

installing Struts in Websphere Allication Server 5?

2003-02-07 Thread Adolfo Miguelez
Hi All, has anyone been able to install a Struts app in Websphere 5? Currently WAS 5 uses a Xerces 2 parser and Struts 1.1b* uses Xerces 1(1.4.4). How to make this mixing compatible inside Websphere? Any guidelines would be appreciated Regards, Adolfo. As a comment, WAS Administrative co

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 = resources.getMessage(getLocale(requ

struts-user@jakarta.apache.org

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. However, with Struts 1.1b2, it complains with "column is already defined". Does anyone knows where is the dif

Re: are static classes GC'd?

2003-01-31 Thread Adolfo Miguelez
quot; <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL 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, cou

RE: are static classes GC'd?

2003-01-31 Thread Adolfo Miguelez
still have an active reference in the hashtable) -Original Message- From: 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.

RE: are static classes GC'd?

2003-01-31 Thread Adolfo Miguelez
garbage collected, only objects. What sort of issue are you having where this question arose? -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 fin

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: [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 un

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
]> Subject: Re: (Un)expected behaviour in Action 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 Lis

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

2003-01-21 Thread Adolfo Miguelez
iable. Otherwise, declare it as a local variable. ----- Original 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

(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 a

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,

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 exp

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 PROTECT

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 woul

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 tag. By example: type="com.out.control.DoQueryAction" className="com.out.control.DoQueryActionMapping"> And, by extending th

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 tag". However

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 fo

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 pro

Re: Java Server Faces stage?

2002-12-06 Thread Adolfo Miguelez
ROTECTED]> Subject: Re: Java Server Faces stage? 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]>

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 migr

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 droppe

Re: [OT] WAS Connection Pool

2002-11-18 Thread Adolfo Miguelez
/myDS"); Connection conn = myDS.getConnection(); The difference 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 appe

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 thi

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 PROTECTE

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, Str

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]>

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 expres

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

Re: [OT] WAS Connection Pool

2002-10-16 Thread Adolfo Miguelez
IL PROTECTED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]> >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: Ado

Re: [OT] WAS Connection Pool

2002-10-15 Thread Adolfo Miguelez
nection pool. > >Quoting David Graham <[EMAIL PROTECTED]>: > > > What database 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

RE: [OT] WAS Connection Pool

2002-10-15 Thread Adolfo Miguelez
racle 9i -> including pooling > >-Original Message- >From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] >Sent: Dienstag, 15. Oktober 2002 17:23 >To: [EMAIL PROTECTED] >Subject: Re: [OT] WAS Connection Pool > > >Thin classes12.zip. > >Perhaps you are right. Do

Re: [OT] WAS Connection Pool

2002-10-15 Thread Adolfo Miguelez
>Maybe the WAS DataSource or pool is only using DB2Connections but I highly >doubt that. I hope 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&

Re: [OT] WAS Connection Pool

2002-10-15 Thread Adolfo Miguelez
>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] >>

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: 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

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. ___

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: -

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 release

  1   2   3   >