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 wrong:
> 
> jdbc:oracle:thin:oci8:1521:ora9i
> 
> Can you have thin and oci in one url?
> 
> Larry
> 
> >>> [EMAIL PROTECTED] 03/25/04 4:10 AM >>>
> Thanks chris,
> so this is not because of any missing classes or jar files? is this a
> connectivity issue? the database server isup and my other applications
> sqlplusw can access it.
> any pointers?
> sorry about read reciept thing in my previous mail.
> rajat
> - Original Message -
> From: "McCormack, Chris" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, March 25, 2004 4:46 PM
> Subject: RE: db error
> 
> 
> Check your database is up before trying to connect to it. If it is and
> you
> can ping the database from your application server box, then check your
> spelling in the data source definition.
> 
> Chris McCormack
> 
> -Original Message-
> From: Rajat Pandit [mailto:[EMAIL PROTECTED]
> Sent: 25 March 2004 11:01
> To: Struts Users Mailing List
> Subject: db error
> 
> 
> Hello All,
> i am trying to connect a oracle database, and i get this stack trace,
> can
> someone please tell me what is wrong with it.
> 
> javax.servlet.UnavailableException: Initializing application data source
> org.apache.struts.action.DATA_SOURCE
>  at
> org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.j
> ava:1091)
>  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
>  at javax.servlet.GenericServlet.init(GenericServlet.java:256)
>  at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
> 4)
>  at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
>  at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
> 3420)
>  at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
>  at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
> 21)
>  at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
>  at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
>  at
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
> ava:257)
>  at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
>  at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569
> )
>  at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
>  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
>  at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
>  at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> t.java:166)
>  at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
>  at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>  at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>  at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>  at
> org.apache.catalina.core.StandardService.start(StandardService.java:497)
>  at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
>  at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
>  at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>  at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>  at java.lang.reflect.Method.invoke(Method.java:324)
>  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> 
> 
> 
> 
> <--- data sources -->
> 
> 
> 
> 
> 
>  value="oracle.jdbc.driver.OracleDriver" />
>  value="jdbc:oracle:thin:oci8:1521:ora9i" />
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> <-- code -->
> ServletContext context = servlet.getServletContext();
> DataSource ds = (DataSource)
> context.getAttribute(Action.DATA_SOURCE_KEY);
> //DataSource ds = getDataSource(req);
> 
> try {
> conn = ds.getConnection();
> stmt = conn.createStatement();
> rs = stmt.executeQuery("Select tname, tabtype from tab");
> 
> if (!rs.wasNull()) {
> /**
>  * some records where returned
>  */
> System.err.println("==");
> while (rs.next()) {
> System.err.println("Table Name: " +
> rs.getString(1));
> 

[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 question is: is it possible to embed EL 
into a
standalone app? 
 I was reading commons-el API docs and they make a lot of references to JSP 
implementation classes
(PageContext, VariableResolver, etc). So, in first glance, looks it is not possible. 
Is my
conclusion right?

 Thanks in advance for any hint.

Regards,
 Daniel Silva.

__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 myStrings that returns a collection of String
> >objects.
> >
> >On a jsp, I want to list the strings. If my jsp has
> >this:
> >
> > >property="myStrings">
> >  
> >
> >
> >Then I get an exception "Cannot find bean myId in any
> >scope".
> >
> >I can understand that cos myId is a String not a bean.
> >What should I use instead of bean:write ?
> >
> >Steve
> >
> >
> >
> > 
> > 
> > 
> >___
> >Yahoo! Messenger - Communicate instantly..."Ping" 
> >your friends today! Download Messenger Now 
> >http://uk.messenger.yahoo.com/download/index.html
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >  
> >
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 guys 
in Struts
world (myself included ;-)). You can, at least, have fun there!

Cheers,
 Daniel Silva.




--- Andrew Petro <[EMAIL PROTECTED]> wrote:
> 
> My hope was that differentiating the lists Struts might make the email load
> more tractable for everyone.
> 
> Struts gurus might very well look at a new list for newbies and choose not
> to subscribe.  I don't see this as a problem.  Struts gurus helping newbies
> is a wonderful thing, but we're all volunteers here and if the gurus would
> prefer not to be on the newbie list, they should be empowered to make that
> decision.
> 
> It is true that differentiating the lists might lower the threshold for
> newbie effort prior to newbie posts.  However, the existing infrastructure
> for encouraging everyone to think, read, Google, etc. before posting would
> still be in place and could apply equally to the struts-user-newbies list.
> 
> However, separating out a newbies list would allow newbies to helped by
> those Struts gurus who are most generous, patient, or have whatever other
> attributes that make them want to help newbies, while not annoying other
> Struts subscribers who are less interested in this.  This accommodation
> might help to preserve the friendly and supportive character of the list for
> newbies even as Struts continues to grow.
> 
> What I think differentiating the lists would do is empower subscribers to
> separate out the two streams and manage them independently.  It feels to me
> like there really are two simultaneous streams of messages on this list.  
> 
> When things get crazy at work I could choose to fail to keep up with the
> struts-user-newbie list and delete the messages unread without feeling that
> I was risking something I'd need to know.  Or, for that matter, when things
> get crazy at work I could choose to come home and see if there's someone to
> be helped out on the struts-user-newbie list, letting the more demanding
> struts-user material go until things settle down again.  I don't know for
> sure how people would use the ability to differentiate, but I think volume
> on the list is sufficient that it would be worth giving subscribers this
> ability.
> 
> >   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 sure about this number, it is just a
> > guessing, but based on my
> > experience in this list, 95% of the questions are already answered. You
> > just have to find that
> > answer, and that is what Google is for.
> > 
> >   My two cents.
> > 
> > Cheers,
> >  Daniel Silva.
> > 
> > 
> > 
> > --- Daniel Henrique Alves Lima <[EMAIL PROTECTED]> wrote:
> > > It sounds good to me !
> > >
> > > Andrew Petro wrote:
> > >
> > > >Incidentally, have there been any thoughts on this list of
> > differentiating
> > > >out a struts-user-newbie list from the main struts-user list?
> > > >
> > > >I think it's wonderful to have a welcoming place for newbies to post
> > > >questions, but I think it might also be useful to be able to
> > differentiate
> > > >opportunities to help out newbies / be helped as a newbie from
> > > >opportunities to ask more difficult questions / discuss more advanced
> > > >features of the framework.
> > > >
> > > >My two cents.
> > > >
> > > >
> > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Search - Find what youre looking for faster
> > http://search.yahoo.com
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 sure about this number, it is just a guessing, but 
based on my
experience in this list, 95% of the questions are already answered. You just have to 
find that
answer, and that is what Google is for.
  
  My two cents.

Cheers,
 Daniel Silva.



--- Daniel Henrique Alves Lima <[EMAIL PROTECTED]> wrote:
> It sounds good to me !
> 
> Andrew Petro wrote:
> 
> >Incidentally, have there been any thoughts on this list of differentiating
> >out a struts-user-newbie list from the main struts-user list?  
> >
> >I think it's wonderful to have a welcoming place for newbies to post
> >questions, but I think it might also be useful to be able to differentiate
> >opportunities to help out newbies / be helped as a newbie from
> >opportunities to ask more difficult questions / discuss more advanced
> >features of the framework.
> >
> >My two cents.
> >  
> >
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Chart generation Framework

2004-01-21 Thread Daniel H. F. e Silva
Hi Otávio,
  Well, i just readed available documentation at Cewolf website. It was enough for me.
If you got in trouble using it, let me know about your problems. Maybe i can help you.

Cheers,
 Daniel Silva.


--- Otávio Augusto <[EMAIL PROTECTED]> wrote:
> I've heard and read a lot about Cewolf, but was not able to work withit. I tryed to 
> follow its
> manual, but with no success. Then I used another open source option (don't remember 
> its name,
> was long time ago). Anyway, I'd like to know if you guys who have already worked 
> with Cewolf
> have any nice tutorial/manual link which could help 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 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 features.
> > 
> > Cheers,
> >  Daniel Silva.
> > 
> > 
> > 
> > --- Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
> > > Hi there! Does anyone here uses a chart Framework? I've heard about Cewolf, 
> > > seems to be nice, any suggestions on this?
> > > 
> > > Thanks
> > > 
> > > Vinicius
> > > 
> > > 
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> > http://hotjobs.sweepstakes.yahoo.com/signingbonus
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Cheers,
 Daniel Silva.



--- Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
> Hi there! Does anyone here uses a chart Framework? I've heard about Cewolf, 
> seems to be nice, any suggestions on this?
> 
> Thanks
> 
> Vinicius
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 version has amazing features. It is still in beta stage. But i'm sure
being in beta is not worse than Windows + SP1000. In fact, i trust more in iBATIS
beta than in any M$ 'production' software as you have access to the code and if you
find a bug you can fix it.
  If you'd like to know more experiences about iBATIS join us at #struts_users IRC 
channel
on irc.darkmyst.org.
  Other cool resource for iBATIS newbies is Rick Reumann's iBATIS lesson 
(www.reumann.net). A
simple and useful app showing how to use iBATIS.
  Hope i helped you.

Cheers,
 Daniel Silva.

 



--- Kelly Goedert <[EMAIL PROTECTED]> wrote:
> It helps mapping between the application and database.
> 
> Take a look on this sites:
> 
> http://www.ibatis.com/common/sqlmaps.html
> http://www.reumann.net
> 
> Kelly.
> 
> 
> Viral_Thakkar wrote:
> 
> >BTW, What is iBATIS?
> >
> >-Original Message-
> >From: Kelly Goedert [mailto:[EMAIL PROTECTED] 
> >Sent: Monday, January 19, 2004 3:41 PM
> >To: Struts Users Mailing List
> >Subject: struts and ibatis
> >
> >Hello,
> >
> >has anyone ever used iBATIS in a production environment? Is it stable 
> >enough?
> >
> >Kelly
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >  
> >
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 join #struts_users channel. You'll find great
guys there (and a girl too!), that have strong Struts experience. See you there!

Regards,
 Daniel Silva


--- Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
> Ok, I got it. But what about the other questions? if I'm in a ActionForm, 
> or a requestprocessor ...
> At 10:18 15/1/2004, you wrote:
> >Hi there
> >
> >Use the saveErrors method in Action, before forwarding to jsp.
> >
> >Med venlig hilsen
> >
> >Claus Weng Madsen, Teamleder
> >TELMORE A/S
> >Carl Gustavsgade 3, 2630 Taastrup
> >Telefon 70218700, Mobil 30242875
> >www.telmore.dk
> >
> >
> >-Oprindelig meddelelse-
> >Fra: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
> >Sendt: 15. januar 2004 12:24
> >Til: [EMAIL PROTECTED]
> >Emne: Struts and Action errors
> >
> >
> > Hi there! I'm a newbie to Struts, and this question may be a
> >little silly,
> >sorry.
> > How exactly do I use action errors? How do I render them? In my
> >app, I
> >control the session via RequestProcessor using processPreProcess method.
> >If
> >the session is invalid, I create a new error using
> >ActionErrors errors = new ActionErrors(); errors.add("sessionExpired",
> >new ActionError("errors.sessionExpired");
> >
> >Well, and then I redirect the user to the desired login page, and there
> >I have
> >
> >But nothing is shown. Also, in my actionForms, in the validate method, I 
> >add errors using the same syntax and none are shown either. In the Actions 
> >classes, the examples created by Websphere, I see that everytime those 
> >actionErrors are saved using a method called saveErrors, but this method 
> >is not static and belongs to Action class, the other modules does not 
> >access it. Any help? Thanks 
> >- To 
> >unsubscribe, e-mail: [EMAIL PROTECTED] For 
> >additional commands, e-mail: [EMAIL PROTECTED] 
> >- To 
> >unsubscribe, e-mail: [EMAIL PROTECTED] For 
> >additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 www.reumann.net
and www.ibatis.com. iBATIS is where you'll find a nice implementation of PetStore
sample application that could be useful as a starting point to your apps.

Cheers,
 Daniel Silva.

PS: If you need help during your day you could go to #struts_users IRC channel at 
irc.darkmyst.org
You'll meet nice people and very skilled java and struts developers there.

--- Vanessa Monteiro <[EMAIL PROTECTED]> wrote:
> Hello everyone,
> 
> I'm having trouble understanding the mapping tags of
> struts-config.xml.
> 
> I have one simple jsp form and one form and one action to take care of
> it. In my /pages/form.jsp I have a  
> My action-mapping is path=/action and I'm putting no input value. So to
> get to my form I link to /pages/form.jsp or do I need and action to
> point to the unsubmitted form?
> 
> Vanessa.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: with formatKey ???

2004-01-10 Thread Daniel H. F. e Silva
Mauricio,
 If you have access to JSTL in your server container you could try formatting taglib.
  and  are two very useful tags. I use them a lot.
 They accept formatting patterns like classes from java.text package (In fact, they 
use classes
from java.text package on their implementations). Take a look on any JSTL book or doc.
 In worst case, you have to code a method or a custom taglib to transform your number 
attribute to
a String object and then process it to get proper formatting. I'm sure that is pretty 
easy.
 Hope this posting is useful to you.

Regards,
 Daniel Silva.

PS: Nice to see other brazilians in struts-users.
 


--- "Mauricio T. Ferraz" <[EMAIL PROTECTED]> wrote:
> Anybody knows how can I show I CNPJ in this format (33.435.231/0001-27) ???
> I my bean I just have number (33435231000127) 
> So I have to show with ". "and  " / " 
> There are a way to put something in the resource bundle??? What??
> 
> []´s
> Mauricio


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 Henrique Costa Rodrigues Alves <[EMAIL PROTECTED]> wrote:
> You will need just JavaScript for this kind of job...
> 
> You should take a look at: "JavaScript DOM" 
> It is quite simple to do this... You will see
> 
> Tiago Henrique C. R. Alves
> Analista de Sistemas
> Politec - CSS
> Tel: 3038-6952
> 
> 
> -Mensagem original-
> De: Linda Coleman [mailto:[EMAIL PROTECTED]
> Enviada em: segunda-feira, 8 de dezembro de 2003 14:07
> Para: [EMAIL PROTECTED]
> Assunto: [OT] Looking for a Taglib
> 
> 
> Hi List,
> 
> I have several pages that need to show users a list of available options
> in one listbox, an add & remove button & a list box that shows the 
> options they've already selected. This fairly common in UI's & I've seen 
> this on a few web pages something like this...
> 
> 
> Available States   Selected States
> +++--+
> | Alabama|| Connecticut  |
> | Alaska |   +-+  | Maine|
> | Arizona|   |   Add>> |  |  |
> | Arkansas   |   +-+  |  |
> | California ||  |
> | Colorado   |   +-+  |  |
> | Delaware   |   |< | Florida|   +-+  |  |
> +++--+
> 
> 
> I've looked on Google, SourceForge & Jakarta for a taglib that
> would do something like this, without success.
> 
> Obviously the html taglib will help with the buttons & listboxes,
> but there's a lot of javascript needed to support this kind of
> widget & it would be a lot easier to manage if there was a taglib
> that could generate it.
> 
> Does anyone know of a taglib that could help with this and/or
> another source finding taglibs?
> 
> Thanks in advance.
> Linda :)
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 that does sorting... But, does it sort all the values 
> that is present in the collection or does it do just page level sorting???
> Is there any other tag libr
> ary that takes all the values present in the collection and does
> a complete sorting??? 
>  
> -Jacob
> 
> 
> -
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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  or, better, JSTL tag .
I'm not a JSTL expert but i know you can determine scope to be used by .
And i'm not sure, but i think you can do that also with .
 Hope it helped you.

Regards,
 Daniel.

--- Bob Langford <[EMAIL PROTECTED]> wrote:
> Hi,  I can't seem to understand how to declare things correctly to do
> what I want to do.  Can anyone tell me where I am going wrong?
> 
> I'm trying to use a simple Java method as the source of the choices
> in a html:select box in a form.  The method returns a java.util.List,
> where each item is a org.apache.struts.util.ValueLabelBean object, just
> what I need for this.  Here's one way I tried to use it:
> =
> <%@ page import="foo.bar.MyUtils" %>
> 
> <%  months = MyUtils.getMonthsList();   %>
>...
> 
>labelProperty="label" />
> 
> =
> The problem is that "useBean" looks up the attribute "months" in the page
> context, and since it can't find it, throws an exception.  But without
> the "useBean" tag, the "html:options" tag can't find the data it needs.
> I've read the docs until my eyes hurt, and I can't find any technique to
> tell "useBean" to merely create a new bean, not fetch an existing one.
> This seems so easy, I can't believe I haven't done it before, but I can't
> find an example in any of my previous code.
> 
> What am I missing? Thanks in advance...
> 
> --
> Bob Langford
> Silicon Masters Consulting, Inc.8207 Stone River Court, Richmond, VA  23235
> phone:  804-674-1253  fax:  804-745-6650 
> http://www.silicon-masters.com/  
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2003-10-10 Thread Daniel H. F. e Silva
Hi Vivien,
 I think it depends on Struts version you are using. I use 1.1 and everything works 
fine.
Your  config tells Struts to look for your resources at package
org.apache.struts.webapp.tiles.dev1-1. So, you should have, for instance, this:

  WEB-INF
--
 |
 |--- classes
--
 |
 |--- org/apache/struts/webapp/tiles/dev1-1
  
|
| - ApplicationResources.properties

  If you are not using 1.1, please, upgrade to. If problem still happens, you know how 
to find us.
  Hope it was useful.

Regards,
 Daniel.


 
 

--- "Chen, Vivien" <[EMAIL PROTECTED]> wrote:
> 
> Thanks for your tips which gave me some idea what to look for. My web.xml is fine. 
> The problem
> is I have the following in my struts-config.xml, which I copied/pasted from the
> strust-config.xml in the Struts tiles_documentation examples. Will my application, 
> which uses
> tiles, breaks at some point if I don't include it as the comment states? 
> 
> 
>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 "???en_US.errors.required???"
> Hi Vivien,
>   Sorry, but i did not make myself clear. Property you have to check existence in 
> web.xml is
> "application". It has same effect as "parameter" attribute of . 
> So,
> if you find it there (web.xml), remove it.
>   Hope it helped you.
> 
> Regards,
>  Daniel.
> 
> 
> --- "Chen, Vivien" <[EMAIL PROTECTED]> wrote:
> > 
> > I checked my web.xml and did not see message-resources being defined there. Do you 
> > have any
> > other idea where I might do wrong. I am really stuck with this problem now. Vivien
> > 
> > -Original Message-
> > From:   Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]
> > Sent:   Fri 10/10/2003 9:55 AM
> > To: Struts Users Mailing List
> > Cc: 
> > Subject:Re: Please help with this error "???en_US.errors.required???"
> > 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 you.
> > 
> > Kind regards,
> >  Daniel.
> > 
> > 
> > --- "Chen, Vivien" <[EMAIL PROTECTED]> wrote:
> > > I have a login.jsp which I use DynaValidatorForm. Both the username and password 
> > > are
> required
> > > fields. When I submited the page without entering these data, I got
> > > "???en_US.errors.required???" and "???en_US.errors.required???". It looks like 
> > > the
> validation
> > > was peformed because I got two error.required messages but I don't understand 
> > > why it was not
> > > able to print the accurate message. please help. Thanks in adavance.
> > > 
> > > In xxxResources.properties:
> > > errors.required={0} is required.
> > > errors.minlength={0} cannot be less than {1} characters.
> > > errors.maxlength={0} cannot be greater than {2} characters.
> > > ...
> > > 
> > > In struts-config.xml:
> > > 
> > >   
> > >> >type="org.apache.struts.validator.DynaValidatorForm">
> > >  
> > >  
> > >   
> > > 
> > > 
> > > 
> > > 
> > > I packaged the xxxResource.properties in my xxx.war:
> > > WEB-INF/classes/xxxResources.properties
> > > 
> > > In Validation.xml:
> > > 
> > >   
> > > 
> > >   
> > > 
> > > 
> > >   
> > > 
> > > maxlength
> > >   16
> > > 
> > > 
> > > minlength
> > > 3
> > > 
> > > 
> > > ..
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECT

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

2003-10-10 Thread Daniel H. F. e Silva
Hi Vivien,
  Sorry, but i did not make myself clear. Property you have to check existence in 
web.xml is
"application". It has same effect as "parameter" attribute of . So,
if you find it there (web.xml), remove it.
  Hope it helped you.

Regards,
 Daniel.


--- "Chen, Vivien" <[EMAIL PROTECTED]> wrote:
> 
> I checked my web.xml and did not see message-resources being defined there. Do you 
> have any
> other idea where I might do wrong. I am really stuck with this problem now. Vivien
> 
> -Original Message-
> From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]
> Sent: Fri 10/10/2003 9:55 AM
> To:   Struts Users Mailing List
> Cc:   
> Subject:  Re: Please help with this error "???en_US.errors.required???"
> 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 you.
> 
> Kind regards,
>  Daniel.
> 
> 
> --- "Chen, Vivien" <[EMAIL PROTECTED]> wrote:
> > I have a login.jsp which I use DynaValidatorForm. Both the username and password 
> > are required
> > fields. When I submited the page without entering these data, I got
> > "???en_US.errors.required???" and "???en_US.errors.required???". It looks like the 
> > validation
> > was peformed because I got two error.required messages but I don't understand why 
> > it was not
> > able to print the accurate message. please help. Thanks in adavance.
> > 
> > In xxxResources.properties:
> > errors.required={0} is required.
> > errors.minlength={0} cannot be less than {1} characters.
> > errors.maxlength={0} cannot be greater than {2} characters.
> > ...
> > 
> > In struts-config.xml:
> > 
> >   
> >>type="org.apache.struts.validator.DynaValidatorForm">
> >  
> >  
> >   
> > 
> > 
> > 
> > 
> > I packaged the xxxResource.properties in my xxx.war:
> > WEB-INF/classes/xxxResources.properties
> > 
> > In Validation.xml:
> > 
> >   
> > 
> >   
> > 
> > 
> > 
> > 
> > maxlength
> >   16
> > 
> > 
> >   minlength
> > 3
> > 
> > 
> > ..
> > 
> > 
> > 
> > 
> > 
> > 
> > > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> __
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [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 you.

Kind regards,
 Daniel.


--- "Chen, Vivien" <[EMAIL PROTECTED]> wrote:
> I have a login.jsp which I use DynaValidatorForm. Both the username and password are 
> required
> fields. When I submited the page without entering these data, I got
> "???en_US.errors.required???" and "???en_US.errors.required???". It looks like the 
> validation
> was peformed because I got two error.required messages but I don't understand why it 
> was not
> able to print the accurate message. please help. Thanks in adavance.
> 
> In xxxResources.properties:
> errors.required={0} is required.
> errors.minlength={0} cannot be less than {1} characters.
> errors.maxlength={0} cannot be greater than {2} characters.
> ...
> 
> In struts-config.xml:
> 
>   
>   type="org.apache.struts.validator.DynaValidatorForm">
>  
>  
>   
> 
> 
> 
> 
> I packaged the xxxResource.properties in my xxx.war:
> WEB-INF/classes/xxxResources.properties
> 
> In Validation.xml:
> 
>   
> 
>   
> 
> 
>   
> 
> maxlength
>   16
> 
> 
> minlength
> 3
> 
> 
> ..
> 
> 
> 
> 
> 
> 
> > -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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); 
  }

Regards,
 Daniel.
  
--- Andrew Hill <[EMAIL PROTECTED]> wrote:
> I want to be able to check if an object is an instance or a subclass of a
> specified class - where that class is specified in a string that is only
> known at runtime.
> For example to have the following code print out "bobs got a date":
> 
> boolean isInstanceof(Object o, String klass)
> {
>   //TODO
> }
> 
> java.sql.Timestamp bob = new java.sql.Timestamp(0);
> if( isInstanceof( bob, "java.util.Date" ) )
> {
>   System.out.println("bobs got a date");
> }
> 
> 
> One idea that occured to me was to get the classname of bob, and test
> against the string, and if that didnt match, to get the classname of that
> classes superclass ( and test that and so on, but Im wondering if there
> exists a more efficient technique...
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 together ?
> 
> Could u please explore the benefits with iBATIS ?
> 
> Thanks in advance
> 
> Aswathy
> 
> _
> The heat is on! Catch the latest action. 
> http://server1.msn.co.in/sp03/formula2003/ Speed along with F1!
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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



  Formatting pattern is exactly the same as patterns used in SimpleDateFormat.
  Look at JSTL reference docs to more details.

Regards,
 Daniel Silva  


 
--- Mark Galbreath <[EMAIL PROTECTED]> wrote:
> Just use java.text.DateFormat in your action class and set a String property
> in your form bean with the result.
> 
> Easy as pie.
> 
> -Original Message-
> From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 17, 2003 8:45 AM
> To: Struts Users Mailing List
> Subject: Re:  Format a Date ?
> 
> 
> I don't thing struts provide you formating date functionality as i never
> tried also but frankly it will take another 20 min. to write a function for
> formatting date..
> use string.substring methods and all after retriving the date from DB using
> getStirng()
> or use to_char(datefield,'dd/mm/ hh24:mi:ss') or any other format u
> want. and if you are working with Java Date  class then calculate the long
> value of that with
> 
> String s  = date.getDay()+"/"+ getMonth()+"/"getYear() functions it's really
> simple...
> 
> regards
> abhijeet
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "Struts-User" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 17, 2003 6:00 PM
> Subject:  Format a Date ?
> 
> 
> one of my Bean propertys is a Date and i want to output it formated,
> is there a way to do that with struts ?
> 
> 
> Mit freundlichen Grüßen
> 
> Christian Reps, Dipl. Inf. (FH)
> Web Applications
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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" %>

  
  

  It worked for me.

Regards,
 Daniel Silva


--- Tamia_Ramírez <[EMAIL PROTECTED]> wrote:
> THIS CODE BECOME A JAVA.UTIL.DATE WITH FORMAT: dd/MM/ to a date MMM dd,
> :
> 
> SimpleDateFormat dateFormatter = new SimpleDateFormat("MMM dd, ");
> String new_Date = dateFormatter.format(myDate);
> reservacion.setFechaSalString(new_Date);
> 
> you may need to import java.text first.
> 
> I hope it can help to you too... it works for me.
> 
> -Original Message-
> From: Silverio Wagner Silva(Secorp) [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 01, 2003 10:33 AM
> To: 'Struts Users Mailing List'
> Subject: RES: Date format
> 
> 
> java.util.Date
> 
> -Mensagem original-
> De: Tamia Ramírez [mailto:[EMAIL PROTECTED]
> Enviada em: sexta-feira, 1 de agosto de 2003 13:33
> Para: Struts Users Mailing List
> Assunto: RE: Date format
> 
> with type is your date, java.sql or java.util?
> 
> -Original Message-
> From: Silverio Wagner Silva(Secorp) [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 01, 2003 10:27 AM
> To: 'Struts Users Mailing List'
> Subject: Date format
> 
> 
> A beginner question:
> 
> When my date field is shown in my jsp it appears in a different way,
> although my Locale object is correctly set.
> 
> Anyone knows how to solve this problem?
> 
> Thanks.
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
 tag renders it is printing ???en_US.???. I know this 
is
because i configured 
  
 Well, i have a file with name ApplicationResources.properties located at 
com/sbpi/jsiw/resource
folder below WEB-INF/classes. So it is at my application classpath.
 I also have a file with name ApplicationResources_en_US.properties at that same 
folder.
 But i'm still getting ???en_US.??? stuff.
 I tried with Resin-2.1.9 and with Tomcat-4.1.24. It happens on both.

 Now tell me: what am i doing wrong?

Thanks in advance,
 Daniel.
 



__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 
4.1.24 is a nice
try!

Best regards,
 Daniel Silva.

--- Fabio Mancinelli <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> 
> Hello all,
> 
> this is somewhat off-topic but I don't know why I have this behaviour.
> I deployed my struts application on tomcat 4.1.18 and randomly, it stops
> serving requests (it waits forever on index.jsp).
> 
> In the log files I always notice an exception:
> 003-05-27 16:30:09 StandardWrapperValve[default]: Servlet.service() for servlet 
> default threw
> exception
> java.net.SocketException: Connection reset
>   at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
> at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuff
>   ...
> 
> The only way to restore the normal behaviour is to restart tomcat.
> 
> Does anyone know why I get this behaviour?
> 
> A presto,
> Fabio
> 
> - -- 
> - ---
>  Fabio Mancinelli, PhD student   EMail : [EMAIL PROTECTED]
>  Dipartimento di Informatica   WWW : http://www.di.univaq.it/~mancinel
>  Universita' dell'Aquila
> - ---
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.1 (GNU/Linux)
> Comment: Made with pgp4pine 1.75-6
> 
> iD8DBQE+04t76dsQbk2R3cMRAgHrAKCjXY+NqIChZrIhZsCNw7/923Fb+ACghEFq
> +/DiCrnBlm2xQCZarq9gr+A=
> =Yu0y
> -END PGP SIGNATURE-
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 Automata theory, Graph theory, Calculus, 
Algebra, 
Physics, Statistics and Algorithms as course basis and we have specialized disciplines 
where we
study more specific theory like: DataBases theory, Operating Systems theory, 
Programming Language
theory, Compilers theory, Data transmission, Computer Networks, Computer Networks 
Management,
Artificial Intelligence, Functional programming, Logic programming, Object-Oriented 
programming,
Object-Oriented analysis, Project management, etc.
  And at my university (University of Brasilia) we have to take some optional (not so 
much)
courses to get our degree. They are: Management, Accounting, Economics, Sports, 
Political science,
Philosophy, English, Operational research, Law science etc.
  Our professors don't teach programming languages like Java, C, Pascal, Lisp, Prolog, 
FORTRAN.
They delegate this task to students.
  I think it is a hard course but it's worth it. 

Best regards,
  Daniel.

--- apachep2 <[EMAIL PROTECTED]> wrote:
> Sorry, I am not intended to offend any one subscribed to this list. I
> just can't be more agreed with Craig's view. BTW, I was actually
> forwarding this email to my boss but accidentally click the Reply.
> 
> -Original Message-
> From: apachep2 [mailto:[EMAIL PROTECTED] 
> Sent: March 31, 2003 9:57 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Does a degree matter?
> 
> This guy always has a different but brighter/cleverer view than others.
> No wonder why he is leading the development of many open source
> projects.
> 
> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] 
> Sent: March 30, 2003 12:45 AM
> To: Struts Users Mailing List
> Subject: Re: Does a degree matter?
> 
> 
> 
> On Sat, 29 Mar 2003, Arron Bates wrote:
> 
> > Date: Sat, 29 Mar 2003 20:36:21 -0600
> > From: Arron Bates <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> > To: Struts Users Mailing List <[EMAIL PROTECTED]>
> > Subject: Re: Does a degree matter?
> >
> > Brandon,
> >
> > If you can do the deed (which it sounds like you can), I would hazard
> offering
> > my opinion in thinking that it wouldn't be the best use of your time.
> By
> > education I'm a graphic designer, not a computer scientist. First job
> was web
> > design, programmer ever since. Results... I've only had two places not
> take me
> > on because it's not a computer degree. Two interviews of hundreds.
> >
> 
> My personal experience (both for myself and for folks I have hired over
> the years) mirrors this -- indeed, my personal opinion is that a Comp
> Sci
> degree is worth less (to me as an employer) than a degree in some field
> that is more closely associated with the general needs of potential
> employers.
> 
> Why?  A couple of reasons:
> 
> * Many folks who go for Comp Sci degrees obsess over learning the
>   particular technologies being taught in their classes, at the expense
>   of courses to improve your general thinking skills.  Any specific
>   technology you learn in your first year is going to be totally
>   obsolete by the time you graduate from the program anyway, so why
>   bother?  The important skill to employers (at least from my viewpoint)
>   is that you've learned how to quickly adapt your existing skills to
>   new technologies as they become available.  Also, the fundamentals
>   of good architecture and design practices tend to change much more
>   slowly than the favorite language de jour -- so if you decide to go
>   for Comp Sci, focus on fundamentals like O-O, design patterns,
>   and so on.
> 
> * Many folks who go for Comp Sci degrees are so focused on the technical
>   things, and don't accumulate any domain knowledge along the way that
>   would make you *more* valuable to potential employers than another
>   Comp Sci graduate with similar skills.  If you're building e-commerce
>   systems, do you know anything about the fundamental accounting
>   principles involved in tracking purchases?  If you're building
>   systems to introduce novices to the world of online information,
>   have you ever studied any human factors engineering?  If you're
>   building trading systems for a Wall Street broker, do you have the
>   slightest idea how stock and commodity exchanges work?
> 
> It may surprise some of you to find out that I don't have a Comp Sci
> degree at all -- instead, I got a BA in Business with a focus on
> Accounting.  This was ***tremendously*** helpful in setting me apart
> from
> everyone else who was learning programming and systems analysis in those
> days -- I could immediately communicate with the end users responsible
> for
> the systems we were building, using their vocabul

RE: [OT] BeanUtils property copying facility

2003-03-24 Thread Daniel H. F. e Silva
Hi all,
  I'd like to thank everybody for helping me. I think describe method will work.
But to that guys that said copyProperties would do the job i don't think so. Looking 
at code of
commons-beanutils 1.6.1 (latest available) i can't see that code working with 
destination bean
being a Map instance. Is my guessing right?

Best regards,
 Daniel.

--- Ady  Das O'Toole  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 property copying facility
> 
> 
> 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 regards,
>  Daniel.
> 
> __
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> 
> 
> 
> **
> The information contained in this e-mail may be confidential. It is intended only 
> for for the
> use
> of the named recipient. If you are not the named recipient please delete this 
> e-mail. If you
> have
> received this e-mail and are not the named recipient, any disclosure, reproduction, 
> distribution
> or other dissemination or use of the information contained in this e-mail is strictly
> prohibited.
> E-mail transmission cannot be guaranteed to be secure or error free as information 
> could be 
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain 
> viruses.  
> The sender therefore does not accept liability for any errors or omissions in the 
> contents of
> this 
> message which arise as a result of e-mail transmission.  If verification is required 
> please 
> request a hard copy version.
> Registered Office:
> Camelot Group plc
> Tolpits Lane
> Watford
> WD18 9RN
> Tel: 01923 425000
> Registered in England and Wales
> No. 2822203
> **
> 
> 
> 
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[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 regards,
 Daniel.

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 JSP spec.
 This works for me in all cases.

Best regards,
 Daniel. 
--- Sander Hofstee <[EMAIL PROTECTED]> wrote:
> Sounds like a problem we had with a custom tag, worked fine in tomcat, 
> not in Resin.
> Resin seems to have problems with custom tags and static parameters, 
> don't know why.
> 
> This is the how  we solved it , seems to work:
> 
> ">
> 
> 
> Matt Redman wrote:
> 
> >Hi,
> >I have created a web app based around the struts framework
> >and successfully deployed and run the application on Tomcat 4.0.4.
> > 
> >Our clients have required that this hook into IIS, so we have attempted to
> >port the application over to Resin 2.1.8.
> > 
> >When resin renders the   element
> >in the page, 
> >instead of the form's action being  >action="/ormisweb/login.do">
> >it renders as the name of the web app.. (called ormisweb in resin.conf -
> >)
> >
> > 
> >Anyone had any experience with this issue?
> > 
> >Cheers,
> > 
> >Matt.
> >  
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[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 running 
a test
application using my framework, JDOM returns follow exception:

org.jdom.JDOMException: Error on line 2: Relative URI "sql-map.dtd"; can not be
resolved without a base URI.

My config file has (at line 2):



 What am i doing wrong? Remember that my dtd file is inside my jar file. How would be 
an URI to
that?

Thanks in advance,
 Daniel.





__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[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 running 
a test
application using my framework, JDOM returns follow exception:

org.jdom.JDOMException: Error on line 2: Relative URI "sql-map.dtd"; can not be
resolved without a base URI.

My config file has (at line 2):



 What am i doing wrong? Remember that my dtd file is inside my jar file. How would be 
an URI to
that?

Thanks in advance,
 Daniel.





__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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. Seems to me that it's a resin problem. I
> have tried to search some help to fix this problem at www.caucho.com, but
> have found nothing until now. You are right about web-app_2_3.dtd, but I
> have a web-app_2_2.dtd copy that do not have any reference to a
> 'resource-env-ref'. I think that resin 2.1.6 use 2_2 to validate web.xml.
> The servlet 2.3 specification file (a pdf file) shows both versions (2.2 and
> 2.3). If you look at version 2.2 there is no reference to 'resource-env-ref'
> too. I have no solution to fix this yet. If you find a solution, let me to
> know.
> 
> I hope it helps,
> 
> Marcelo
> 
> 
> 
> -Mensagem original-
> De: Sri Sankaran [mailto:[EMAIL PROTECTED]]
> Enviada em: terca-feira, 11 de fevereiro de 2003 17:42
> Para: Struts-User
> Assunto: [OT] Resin 2.1.6 doesn't like resource-env-ref
> 
> 
> I am having trouble deploying to Resin 2.1.6.  When I try to access the
> application URL, I get the response:
> 
> 500 Servlet Exception
> C:\resin-2.1.6\webapps\qs\WEB-INF\web.xml:102: unknown element unknown
> element `resource-env-ref' in web-app
> 
> I checked the web-app_2_3.dtd and resource-env-ref *is* allowed.
> 
> Any thoughts on resolving this matter?
> 
> Sri
> P.S.
> Resin 2.1.6 is a servlet 2.3 and JSP 1.2 engine
> P.P.S
> Tomcat 4.1.18 doesn't have any such heartache with my web.xml
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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 others.
 But, to my project i have choosed DB Layer from iBatis. But i am doing some 
customizations on it.
I am adpating it to use Jakarta Commons BeanUtils and, thanks to that, extending 
ResultMap
elements to enable dynamic ResultMaps using DynaBeans since there are moments where 
you can't
write 50 classes only to hold your results, or, you are lazy enough to write it.
 When i finish that modifications i will submit then to Clinton Begin, iBatis author, 
to receive
his agreement about that.
 If you have any cool suggestion about iBatis DB Layer, i'd like to hear it from you. 

Best regards,
 Daniel Silva.
 




--- Jacob Hookom <[EMAIL PROTECTED]> wrote:
> In my opinion, this topic is just fine-- it comes up every week :-)
> 
> I personally dislike O/R mappers because in most cases, I completely agree
> that beans and db should be separated, but it's at the point of merger that
> things get overly complex at the expense of an additional layer that needs
> just as much configuring as writing your sql code for each use case.
> 
> For example, with O/R, you have an ArticleHeader that has ArticlePage(s).
> You are actually storing the page content in the DB for various reasons.  If
> you are using OJB with the goal of getting the number of pages the article
> has, in most cases, you are ending up selecting 1000+% of what you REALLY
> need from the DB:
> 
> ---
> OJB:
> SELECT ArticleHeader key
> Check cache
> SELECT ArticleHeader and SELECT ArticlePage keys
> Cache it
> Call getPages() on ArticleHeaderBean
> SELECT each ArticlePage where cached key = DB key while checking the cache
> before EACH SELECT to ArticlePage table for EACH Row
> Builds collection of ArticlePages (including all of that page content)
> Call getSize()
> 
> Vs.
> 
> SELECT COUNT(key) FROM ...
> 
> 
> I guess I really can't reason the practicality of it.  On the other hand,
> the ibatis.com db layer is VERY cool because it allows you to look at your
> use cases and write a select statement that can be executed; much like the
> way struts has actions.
> 
> I get the bonus of caching objects with O/R mappers, but site performance is
> much better by caching the resulting output (the view itself) in most cases.
> 
> Someone please enlighten me as to why someone would want to use O/R mappers
> :-)
> 
> Best Regards,
> Jacob Hookom
> 
> | -Original Message-
> | From: Mark Chaimungkalanont [mailto:[EMAIL PROTECTED]]
> | Sent: Tuesday, February 04, 2003 10:24 PM
> | To: [EMAIL PROTECTED]
> | Subject: [OT] Which Object Relational mapping tool?
> | 
> | Howdy all,
> | 
> | This is not about struts really... But I figured it could be relevant for
> | some people. If you know a better forum for relatively unbiased opinion,
> | please  tell me & I'll take it there!
> | 
> | Just looking into O/R mappers and have looked at (Briefly):
> | 
> | Hibernate 2.0 beta 2
> | Castor 0.9.4.2
> | OJB 0.9.8
> | 
> | Does anyone know which is better for what? Which is the most "robust" and
> | mature development? Have any recommendations of any other ones? Had some
> | success/problems? Hibernate SOUNDS impressive and looks quite professional
> | but I haven't used any of them...
> | 
> | Again, sorry for spamming the struts mailing list and will take it
> | elsewhere if it bothers people.
> | 
> | Cheers
> | 
> | MC
> | 
> | 
> | -
> | To unsubscribe, e-mail: [EMAIL PROTECTED]
> | For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [OT] Geek Code

2003-01-30 Thread Daniel H. F. e Silva
Hey guys,
 Let's stop to hurt members of this list. We are here to talk about struts and 
technology in
general. We are not here to start a war. Bush will do it!

Love and peace for anyone,
 Daniel.



--- Jarnot Voytek Contr AU HQ/SC <[EMAIL PROTECTED]> wrote:
> I'd call you stupid right back, but I can't figure out how to phrase it.
> Are you a stupid:
>   Swissy?
>   Swissite?
>   Swizzler?
>   Switzerlandian?
>   Switzerlandener?
>   Switzerlard?
>   Switzerlander?
> 
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 30, 2003 1:52 PM
> > To: Struts Users Mailing List; [EMAIL PROTECTED]
> > Subject: Re: [OT] Geek Code
> > 
> > 
> > pff you just song like a stupid man who think he have all the rigth 
> > and the other people didn't have the rigth to have a different opinon
> > stupid american 
> > 
> > - Original Message - 
> > From: "Andrew Hill" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Thursday, January 30, 2003 4:42 AM
> > Subject: RE: [OT] Geek Code
> > 
> > 
> > > While we are at it lets kill the latin too! (& anything my 
> > simple mind
> > > doesnt grok...) ;->
> > > +1
> > > 
> > > -Original Message-
> > > From: Jarnot Voytek Contr AU HQ/SC 
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, 30 January 2003 00:51
> > > To: 'Struts Users Mailing List'
> > > Subject: RE: [OT] Geek Code
> > > 
> > > 
> > > +1
> > > 
> > > I agree completely.  Can this topic die off now?
> > > 
> > > Maybe a filter should be instituted for the list which 
> > would reject any
> > > message wherein the content is shorter than the sig...
> > > 
> > > --
> > > Voytek Jarnot
> > > Quidquid latine dictum sit, altum viditur.
> > > 
> > > 
> > > > -Original Message-
> > > > From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, January 29, 2003 10:37 AM
> > > > To: 'Struts Users Mailing List'
> > > > Subject: RE: [OT] Geek Code
> > > >
> > > >
> > > > That is actually a cool piece of parsing script.  I doubt,
> > > > however, that
> > > > anybody is really interested in having sigs decoded and are
> > > > less interested
> > > > in seeing the sig in the first place.  Put in on your
> > > > website, not your
> > > > email; this does not indicate your cleverness, only your
> > > > newbie status.
> > > >
> > > > Mark
> > > >
> > > > -Original Message-
> > > > From: alexj [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, January 29, 2003 10:46 AM
> > > >
> > > > http://www.ebb.org/ungeek/
> > > >
> > > > <--
> > > > Alexandre Jaquet
> > > > ->
> > > > -BEGIN GEEK CODE BLOCK-
> > > > Version: 3.12
> > > > GCM d+ s: a22 C U*+ P L--- E--- W+++ N+++ o K w+
> > > > O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b
> > > > DI--- D
> > > > G++ e* h++ r% y*
> > > > --END GEEK CODE BLOCK--
> > > >
> > > > - Original Message -
> > > > From: "Mark Galbreath" <[EMAIL PROTECTED]>
> > > > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> > > >
> > > > > What's to say?
> > > > >
> > > > > http://www.geekcode.com/geek.html
> > > >
> > > >
> > > >
> > > > 
> > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: 
> > [EMAIL PROTECTED]
> > > >
> > > 
> > > 
> > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
-
Daniel H. F. e Silva
Analista de Sistemas
SBPI

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [OT] Eclipse IDE

2003-01-21 Thread Daniel H. F. e Silva
Well, using a GeForce 4 with 64MB of DDR RAM i didn't see any problem... ;->

Daniel.
--- David Graham <[EMAIL PROTECTED]> wrote:
> That's not an opinion it's a fact.  Netbeans is based on Swing which is slow 
> as molasses.  Check your OS's memory monitor to see the difference (about 30 
> MB).  Click on a Netbeans menu and you can feel the unresponsiveness.
> 
> David
> 
> 
> 
> 
> 
> 
> >From: "Haseltine, Celeste" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> >Subject: RE: [OT] Eclipse IDE
> >Date: Tue, 21 Jan 2003 09:39:19 -0600
> >
> >Daniel,
> >
> >Eclipse is much faster than Netbeans, in my opinion, and is not as much of 
> >a
> >memory hog as Netbeans is.  If you select the right plug-ins, Eclipse is an
> >excellent IDE for all J2EE development EXCEPT JSP pages.  We use Eclipse
> >here for everything (EJB, Java Beans, servlets) BUT JSP development, and 
> >use
> >Macromedia Dreamweaver MX for the JSP development.  Dreamweaver MX has the
> >ability to "pull in" external tag libraries into the IDE, and will enable
> >code completion for those tag libraries inside of it's IDE.  So when I
> >incorporated the Struts logic, HTML, and bean tag libraries into
> >Dreamweaver, the code completion for those tags is enabled for our JSP
> >developers.  HTML layout/design is also much simpler in Dreamweaver, as 
> >long
> >as you stay away from the wizards that are included in Dreamweaver (adds 
> >too
> >much extraneous code into the HTML).
> >
> >Hopefully, 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 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, software, frameworks, etc,
> >necessary to develop
> >Web-based solutions in J2EE platform.
> >  And after doing a lot of research, i've found that open-source world has
> >two leading IDEs:
> >Netbeans and Eclipse.
> >  I'd like to hear about experiences with both of them. In my preliminary
> >tests i guess it was
> >difficult to work with Eclipse with focus on Web development. For instance,
> >it doesn't have a cool
> >JSP editor like Netbeans. I've tried an Eclipse plugin, but its features 
> >are
> >inferior than
> >Netbeans offered features.
> >  But i liked Eclipse's plugins feature. And it has a better aproach to
> >manage code quality than
> >Netbeans.
> >  So, opinions?
> >
> >Best regards,
> >  Daniel.
> >
> >PS: Sorry for possible language mistakes. English is not my native 
> >language.
> >
> >__
> >Do you Yahoo!?
> >Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> >http://mailplus.yahoo.com
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >
> >--
> >To unsubscribe, e-mail:   
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail: 
> ><mailto:[EMAIL PROTECTED]>
> 
> 
> _
> The new MSN 8: smart spam protection and 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


=
-
Daniel H. F. e Silva
Analista de Sistemas
SBPI

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




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, Oracle, etc, give warranty about their products? 

> Money is usually a very small factor in the issue.

Well, so i have to praise the Lord for my boss. The cheaper the solution, the best it 
is.

Best regards,
 Daniel.

 



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




[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 productivity. So, what is more 
productive?
 Following our discussion, does someone have experience writing Eclipse plugins? How 
difficult is
this kind of task?

Best regards,
 Daniel.
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




[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, software, frameworks, etc, necessary to 
develop
Web-based solutions in J2EE platform.
 And after doing a lot of research, i've found that open-source world has two leading 
IDEs:
Netbeans and Eclipse.
 I'd like to hear about experiences with both of them. In my preliminary tests i guess 
it was
difficult to work with Eclipse with focus on Web development. For instance, it doesn't 
have a cool
JSP editor like Netbeans. I've tried an Eclipse plugin, but its features are inferior 
than
Netbeans offered features.
 But i liked Eclipse's plugins feature. And it has a better aproach to manage code 
quality than
Netbeans.
 So, opinions?

Best regards,
 Daniel.

PS: Sorry for possible language mistakes. English is not my native language.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




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 based on that requirement doc, 
using their
prefered IDE. Result will be pure HTML containing all data specified at requirement 
doc, but sure,
these data will be like "foo bar" data. Just necessary data to show all interface 
features will be
present. This process is a kind of pair programming (one graphical designer and one 
developer) to
guarantee that all requirements will be achieved.
  3 - We (developers and programmer), as we know HTML and as we developed together 
with designers,
integrate all real code to get all data that has to be showed.
 
  Well, i don't know if this is the best approach. But it have been working here at my 
job for a
long time. 
  Tips? New experiences? I'd like to hear about them.

Best regards,
 Daniel. 

--- Foong Tzer <[EMAIL PROTECTED]> wrote:
> Dear Struts supporter,
> 
> There seems to be a real world problem with using Struts (well, not
> really Struts, but JSP Tag Libraries). It seems despite zero java coding
> on the JSP pages, those 'funny' tags are still not digest-able by average
> graphic designers. I mean, if they were to use Macromedia DreamWeaver, it
> would not've rendered the look and feel if the tags were something like
> this: -
> 
> 
> 
>   
> 
>  key="another.title"/>
> 
> 
> As opposed to the native standard HTML tags?
> 
> I'm really not sure whether Macromedia or any other popular graphic
> artiste tool would render these Struts JSP pages properly. Anybody here
> has any experience solving this real world problem?
> 
> Thanks. Any help would be much appreciated.
> Regards,
> 
>   Tzer
>   [EMAIL PROTECTED]
> 
> Is J2EE messing up your mind?
> http://www.see-consulting.com
> 
> --
> http://fastmail.fm - Or how I learned to stop worrying and
>   love email again
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 


__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




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 patterns.
 I recommend it!

Best regards,
 Daniel Silva.

--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > It's called experience  it's why they pay us old guys more than you
> young bucks! ;-)
> 
> LOL!  It's also called being absolutely CERTAIN that someone has solved this
> problem before, and not going off reinventing the wheel.  As an aside, are
> patterns being taught in computer science?  I'm working on a degree and the
> senior-level course I'm taking this semester has been the first time I've
> seen a lecture about them.  And then he only covered three (Factory,
> Abstract Factory and Singleton) and not very in depth at that.
> 
> I like Applied Java Patterns by Stephen Stelting & Olav Maassen.  While the
> GoF book is surely timeless, I'm guessing the examples are not written in
> Java.  With Applied Java Patterns (and Core J2EE Patterns) I can cut and
> paste and have a head start on the implementation.
> 
> -- 
> Wendy Smoak
> Applications Systems Analyst, Sr.
> Arizona State University PA Information Resources Management
> 


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




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 someone here have experience 
using it? 
All kind of use cases would be a plus.

Best regards,
 Daniel.
 

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




[OT]Java rules engines

2002-09-17 Thread Daniel H. F. e Silva

Hi all,
 As we have here some of the best brains all over the world... ;-)
 I'd like to hear some opinions about java rules engines used in bussiness logic
validation. In my searchs at Internet i've found many, but i'd like to receive 
feedback about
them.
I've found many commercials (ILOG JRules, Blazer Advisor) and not so many open-sourced 
(Drools,
JEOPS, etc...).
 What do you think about them?

Best regards,
 Daniel.


__
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




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.jsp&pageContent=/jsp/content.jsp
 Looking at struts DTD, i saw that path attribute is CDATA. So, why is it not accepted?
 Is this a struts bug or a xml parser bug?

 By the way, i'm using Struts 1.0.2.
 Please, i need help with this. 

 Thanks in advance,
  Daniel.
 

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




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

2002-08-17 Thread Daniel H. F. e Silva

Hi all,
 I am using Struts 1.0.2 at a business project. Problem is : i'd like to have path 
attributes
of elements action like this:
  path="/jsp/template.jsp?pageMenu=/jsp/menu.jsp&pageContent=/jsp/content.jsp"
 But i'm not having success on this. Why? At DTD i saw that path attribute is a CDATA. 
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

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>