Re: db error

2004-03-25 Thread Daniel H. F. e Silva
About that url try this: jdbc:oracle:thin:@oci8:1521:ora9i considering 'oci8' is your database server name and 'ora9i' is your Oracle's instance (service) name. Regards, Daniel Silva. --- Larry Meadors [EMAIL PROTECTED] wrote: It has been a while since i used oracle, but that url looks

[OT] Is it possible to use commons-el in a standalone application?

2004-03-23 Thread Daniel H. F. e Silva
Hi, I know this is an off-topic message, but as many people here works with Jakarta Commons components, i decided to start my search in this list. I was thinking about writing a Swing app where its config file would be a XML file. And i'd like to put EL expressions in that file. So, my

Re: collection of strings (newbie question)

2004-03-09 Thread Daniel H. F. e Silva
Hi all, Other possibility is to check whether 'myBean' exists in some scope. Cheers, Daniel Silva. --- Daniel Henrique Alves Lima [EMAIL PROTECTED] wrote: Have you import logic taglibs ? steve hazelwood wrote: I have an action that creates a bean. That bean has a property

Re: [Suggestion] struts-user-newbie list

2004-03-08 Thread Daniel H. F. e Silva
Hi, My point is: will Struts gurus that participate this list subscribe to one more list? I think they are too busy for increasing their email load a bit more. Newbies could get a better help if, before posting to this list, they did homework: i mean, read Struts docs, Google, etc. I'm not

RE: [Suggestion] struts-user-newbie list

2004-03-08 Thread Daniel H. F. e Silva
Hi Andrew, Good point. Freedom of choice is very appreciated and is one the axioms of open-source community ;-) By the way, I'd like to invite all newbies and even Struts gurus to join us at #struts_users IRC channel at irc.darkmyst.org. There you can get help and meet some of the coolest

Re: Chart generation Framework

2004-01-21 Thread Daniel H. F. e Silva
me. Thanks in advance Otávio Augusto On Tue, 20 Jan 2004 13:28:03 -0800 (PST) Daniel H. F. e Silva [EMAIL PROTECTED] wrote: Hi Vinicius, Cewolf is really a good option. It is a taglib that abstracts a lot of JFreeChart complexity. I used it in some projects and it did a great

Re: Chart generation Framework

2004-01-20 Thread Daniel H. F. e Silva
Hi Vinicius, Cewolf is really a good option. It is a taglib that abstracts a lot of JFreeChart complexity. I used it in some projects and it did a great job. As far as i know, it is the best open-source option. There are other libraries, but Cewolf+JFreeChart offers the largest amount of

Re: struts and ibatis

2004-01-19 Thread Daniel H. F. e Silva
Kelly, After looking for good options to make my applications simple, i found iBATIS. It is a very nice piece of software and, in my opinion, based on experiences, it is ready to go to a production environment. I used iBATS DB Layer and SQL Maps in two projects and it did very well. New 2.0

Re: SV: Struts and Action errors

2004-01-15 Thread Daniel H. F. e Silva
Hi Vinicius, I think you are a bit lost regarding Struts. Take a look at www.reumann.net. Very good tutorials. They will help you to understand better how to use Struts properly. By the way, i'd like to invite you to a very good struts chatroom. Point your IRC client to irc.darkmyst.org and

Re: mapping question

2004-01-13 Thread Daniel H. F. e Silva
Vanessa, As discussed a time ago on this list, it is considered a best pratice to go through an action all the time. So you can decouple your view layer in a way that makes your life easier. There are plenty of learning resources around the Internet about Struts, but i'd like to recommend

Re: expiring time

2004-01-10 Thread Daniel H. F. e Silva
Otávio, Take a look on HttpSession class reference. I'm sure you'll find answer there. Cheers, Daniel Silva. --- Otávio Augusto [EMAIL PROTECTED] wrote: How to I set the expiring time for a session (or the sessions)? Thanks in advance Otávio Augusto

Re: RES: [OT] Looking for a Taglib

2003-12-08 Thread Daniel H. F. e Silva
Hi Tiago and Linda, JavaScript is really the best option to this task in my opinion. I suggest taking a look at http://javascript.internet.com in section Form. Lots of nice scripts! Including one script that does what Linda wants. Hope my tip was useful. Regards, Daniel Silva. --- Tiago

Re: JSTL Question...

2003-10-13 Thread Daniel H. F. e Silva
Hi Jacob, Try displaytag: http://displaytag.sourceforge.net. It is an amazing piece of code. Regards, Daniel. --- Jacob Wilson [EMAIL PROTECTED] wrote: Hi, I have a question regarding JSTL. Is there anyway to do sorting of the colums on a table using JSTL. I know there is one table tag

Re: How can I compute data for html:select choices?

2003-10-11 Thread Daniel H. F. e Silva
Hi Bob, I think you could try bean:define/ or, better, JSTL tag c:set/. I'm not a JSTL expert but i know you can determine scope to be used by c:set/. And i'm not sure, but i think you can do that also with bean:define/. Hope it helped you. Regards, Daniel. --- Bob Langford [EMAIL PROTECTED]

Re: Please help with this error ???en_US.errors.required???

2003-10-10 Thread Daniel H. F. e Silva
Hi Vivien, Take a look at your web.xml. Maybe you copied it from Struts dist and message-resources was already configured there. As settings in web.xml will override settings in struts-config.xml, classloader can't find resource to be loaded and then you get that messages. Hope i helped

RE: Please help with this error ???en_US.errors.required???

2003-10-10 Thread Daniel H. F. e Silva
parameter=org.apache.struts.webapp.tiles.dev1-1.ApplicationResources null=false / Vivien -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED] Sent: Fri 10/10/2003 1:44 PM To: Struts Users Mailing List Cc: Subject: RE: Please help with this error

Re: Struts And iBATIS

2003-10-08 Thread Daniel H. F. e Silva
Hello Aswathy, Take a loot at this URL: http://www.reumann.net It has a nice example of using iBatis and Struts together. It was designed by a great guy: Rick Reumann. Regards, Daniel. --- Aswathy Priyarenj [EMAIL PROTECTED] wrote: Hello all, Is Struts And iBATIS going smoothly

Re: [OT] [Reflection/Classes] doing something like instanceof at runtime

2003-10-08 Thread Daniel H. F. e Silva
Andrew, I don't know if this is the best way, but you can try something like that: boolean isInstanceOf(Object o, String klass) { Class c = null; try { c = Class.forName(klass); } catch (ClassNotFoundException e) { // TODO } return c.isInstance(o); }

RE: bean:write property= Format a Date ?

2003-09-17 Thread Daniel H. F. e Silva
Hi Mahalkar, You can use JSTL to do that work on your JSP page. Just use formatting standard tags. As Mark said, it is piece of cake. You can use: fmt:formatDate value={$my_property} pattern=my_pattern/ Formatting pattern is exactly the same as patterns used in SimpleDateFormat.

RE: Date format

2003-08-01 Thread Daniel H. F. e Silva
Hi all, Well, i recommend using JSTL tag formatNumber with type='currency'. You can do this way: %@ taglib uri=http://java.sun.com/jstl/fmt; prefix=fmt % fmt:setLocale value=pt_BR/ fmt:formatNumber value=${your_property} type=currency/ It worked for me. Regards, Daniel Silva ---

Problems with Locale and MessageResources

2003-05-29 Thread Daniel H. F. e Silva
Hi all, I am needing help. I am getting in trouble with Locale and MessageResources stuff. When my JSP having a html:messages tag renders it is printing ???en_US.my_property_name???. I know this is because i configured message-resources null=false

Re: [OT] I'm tired of restarting tomcat!

2003-05-27 Thread Daniel H. F. e Silva
Hi Fabio, I know Tomcat is reference implementation and its license is great, but i can't loose my time with issues like that you reported. So, i use Resin at my development environment. Let it take a chance. But if you still prefer Tomcat, use 4.1.24. Maybe this issue was solved. I think

RE: Does a degree matter?

2003-03-31 Thread Daniel H. F. e Silva
Hi all, Just my two cents. Craig's viewpoint is good for american-like degrees. But there are many different education systems all over the world. For example, in my country (Brazil), Comp Sci bachelor's degree from public universities don't teach nothing more than old theory. We study

[OT] BeanUtils property copying facility

2003-03-24 Thread Daniel H. F. e Silva
Hi all, Forgive me for posting an off-topic e-mail but i am needing help and as some contributors to Jakarta Commons-BeanUtils read messages from this list i thought you could help me. Is there a feature in commons-beanutils where i can copy properties from a bean to a map instance? Best

RE: [OT] BeanUtils property copying facility

2003-03-24 Thread Daniel H. F. e Silva
instance. Is my guessing right? Best regards, Daniel. --- Ady Das O'Toole ady.daso'[EMAIL PROTECTED] wrote: BeanUtils.copyProperties -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 14:31 To: [EMAIL PROTECTED] Subject: [OT] BeanUtils

Re: struts + resin

2003-03-19 Thread Daniel H. F. e Silva
Guys, I use Resin-2.1.8 and don't have problems. How are you deploying your application? Could you post here problematic part of your resin.conf file? Instead of configuring my application at resin.conf i put it at webapps folder and configure my application in web.xml according to Servlets and

[OT]XML DOCTYPE question

2003-02-13 Thread Daniel H. F. e Silva
Hi all, This could be a dummy question but i didn't found any documentation talking about this issue. My problem is: I developed an API that uses a XML configuration file. And i have also a DTD file to enable XML validation. Then i generate a jar file containing my API and my DTD file. When

[OT]XML DOCTYPE question

2003-02-13 Thread Daniel H. F. e Silva
Hi all, This could be a dummy question but i didn't found any documentation talking about this issue. My problem is: I developed an API that uses a XML configuration file. And i have also a DTD file to enable XML validation. Then i generate a jar file containing my API and my DTD file. When

Re: RES: [OT] Resin 2.1.6 doesn't like resource-env-ref

2003-02-12 Thread Daniel H. F. e Silva
Hi all, Take a look at this : http://www.caucho.com/resin/ref/app-config.xtp First paragraph says that Resin HTTP configuration follows the Servlet 2.2 deployment descriptors. Best regards, Daniel. --- Marcelo Aita Riss [EMAIL PROTECTED] wrote: Hi Sri, I'm having the same trouble here.

RE: [OT] Which Object Relational mapping tool?

2003-02-05 Thread Daniel H. F. e Silva
Hi Jacob, You did a good point. I am working on a project and was in doubt about what use: pure JDBC, DB Layer from iBatis or a real O/R mapping tool. I tested OJB, it is a great piece of software. Looked at Hibernate, it seems like a good choice. I tested also Torque, what is as good as

[OT] Cayenne O/R Mapping Tool

2003-01-30 Thread Daniel H. F. e Silva
Hi all, I know this kind of question is done here almost every day, but i am still without a decision about what O/R mapping tool to use. I found Cayenne (www.objectstyle.org/cayenne). Did anyone here use it? Pros? Cons? Thanks in advance, Daniel.

RE: [OT] Geek Code

2003-01-30 Thread Daniel H. F. e Silva
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] = - Daniel H. F. e Silva Analista de Sistemas SBPI

[OT] Eclipse IDE - The Two Towers

2003-01-21 Thread Daniel H. F. e Silva
Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve

RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)

2003-01-21 Thread Daniel H. F. e Silva
Hi all, --- Chappell, Simon P [EMAIL PROTECTED] wrote: Typically management worry about not having someone to blame if there is a problem. You gotcha! I told him that there was the ASF, but that there is an explicit no warranty clause in the Apache license. And do Microsoft, IBM, Sun,

RE: [OT] Eclipse IDE

2003-01-21 Thread Daniel H. F. e Silva
, the HTML and JSP development features of Eclipse will be improved soon. Celeste -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 7:35 PM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE Hi all, I know that it is very

[OT] Eclipse IDE

2003-01-20 Thread Daniel H. F. e Silva
Hi all, I know that it is very possible that this subject was already discussed here, but i couldn't search on archives (why is this resource disabled?). I'm beginning to design a software development process specification as a job task. It will include, for instance, a list of all tools,

Re: Struts: a Graphic Artist blessing or curse?

2002-11-25 Thread Daniel H. F. e Silva
Hi Foong, After some headaches and some experience, i do the following: 1 - We (developers and programmers) write a clear requirement doc about a graphical interface, with all data that will be displayed, data type and this kind of stuff. 2 - Our designers develop all graphical interface

Design patterns book (was RE: DAO or ... ?)

2002-10-15 Thread Daniel H. F. e Silva
Hi all, An excellent book with clear examples is James Cooper's Java Design Patterns. You can find it in PDF format to download here : http://www.patterndepot.com/put/8/JavaPatterns.htm I think it is much more clear in explaining patterns and its examples are very good to improve learning

Unit testing a struts application

2002-09-26 Thread Daniel H. F. e Silva
Hi all, I am searching for possible improvements on my development process. One of greatest things i've found is XP. I liked it very much. One of XP rules is about unit testing. So follows my question : How can i unit test a struts app? I heard about Cactus (another Jakarta project). Does

Problemas with path attribute

2002-08-22 Thread Daniel H. F. e Silva
Hi all, I sent this question last week, but until now i didn't receive any reply. So i'll do it again. My question is: I'd like to know why occurs an exception when i use path attributes like this one: path=/jsp/template.jsp?pageMenu=/jsp/menu.jsppageContent=/jsp/content.jsp Looking at

Problems with path attribute of element action in struts-config.xml

2002-08-17 Thread Daniel H. F. e Silva
. So it would have to accept any kind of string, haven't it? Thanks in advance, Daniel. PS : Sorry for any english mistake, but english is not my native language. = - Daniel H. F. e Silva Analista de Sistemas SBPI