RES: Ok is it just me?

2003-07-04 Thread Julio Cesar C Neto
Don´t tell to everybody, ok? :))

Julio Cesar

-Mensagem original-
De: James Watkins [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 4 de julho de 2003 14:31
Para: Struts Users Mailing List
Assunto: RE: Ok is it just me?

Maybe they're all too busy googling for 'eliminate duplication,
eliminate
dependency'.

> -Original Message-
> From: Jamie M. Guillemette 
> [mailto:[EMAIL PROTECTED]
> Sent: 04 July 2003 18:33
> To: Struts Users Mailing List
> Subject: Ok is it just me?
> 
> 
> Or did this discussion group just get very very very quiet.. ?
> ( must be all those americans enjoying there day off :P )
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

DISCLAIMER: This message contains confidential information and is
intended
for To: and Cc: (name). If you are not the intended recipient you are
notified that disclosing, copying, distributing or taking any action in
reliance on the contents of this information 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. The content of this e-mail does not necessarily
represent the company, its policies, or views, or those of its
subsidiaries.
If verification is required please request a hard-copy version.
Please note that M2 Limited monitors incoming and outgoing mail for
compliance with its email policy. This includes scanning incoming emails
to
detect Viruses. 



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



RES: [FRIDAY] YA Ted's Trivia Contest

2003-07-04 Thread Julio Cesar C Neto
IMHO: 

Valid answers: those that are sent to the list, *not* to the private
email

Mark agrees with me! Ask him! Right mark?

OK,ok...I was so close... :)))


Julio Cesar



-Mensagem original-
De: Ted Husted [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 4 de julho de 2003 14:33
Para: Struts Users Mailing List
Assunto: Re: [FRIDAY] YA Ted's Trivia Contest

Well, I'm back from the statutory independence day parade and found 
several likely answers waiting for me, including the likes of Cobb, 
Fowler, and Gosling.

But the answer I was looking for was Beck (as in Kent Beck), as a 
paraphrase from his recent book, Test Driven Development by Example:

"Dependency is the key problem in software development at all scales ...

eliminating duplication in programs eliminates dependency."

Since he describes this a key step in the refactoring process that is 
essential to Test Driven Development, I like to call it "Beck's Golden 
Rule".

Although there were others, the first lucky emailer was Maciej 
Czajkowski. (So Marciej, please send me your mailing address.)

Thanks for playing everyone!

Meanwhile, if anyone has some likely quotes that they think would make 
for a good contest, please send them to me at your leisure 
<[EMAIL PROTECTED]>. If I use your quote, I'll send you a signed copy 
too. (The tough part is coming up with something that's not too easy to 
google.)

-Ted.


-- 
Ted Husted,
Struts in Action 



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



RES: [FRIDAY] YA Ted's Trivia Contest

2003-07-04 Thread Julio Cesar C Neto
Come on Ted!!! (I Almost throw away my own copy, thinking that I would
be the lucky one...) :)) 

-Mensagem original-
De: Ted Husted [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 4 de julho de 2003 14:33
Para: Struts Users Mailing List
Assunto: Re: [FRIDAY] YA Ted's Trivia Contest

Well, I'm back from the statutory independence day parade and found 
several likely answers waiting for me, including the likes of Cobb, 
Fowler, and Gosling.

But the answer I was looking for was Beck (as in Kent Beck), as a 
paraphrase from his recent book, Test Driven Development by Example:

"Dependency is the key problem in software development at all scales ...

eliminating duplication in programs eliminates dependency."

Since he describes this a key step in the refactoring process that is 
essential to Test Driven Development, I like to call it "Beck's Golden 
Rule".

Although there were others, the first lucky emailer was Maciej 
Czajkowski. (So Marciej, please send me your mailing address.)

Thanks for playing everyone!

Meanwhile, if anyone has some likely quotes that they think would make 
for a good contest, please send them to me at your leisure 
<[EMAIL PROTECTED]>. If I use your quote, I'll send you a signed copy 
too. (The tough part is coming up with something that's not too easy to 
google.)

-Ted.


-- 
Ted Husted,
Struts in Action 



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



RES: [FRIDAY] YA Ted's Trivia Contest

2003-07-04 Thread Julio Cesar C Neto
Kent Back, Test Driven Development?

Julio


-Mensagem original-
De: Ted Husted [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 4 de julho de 2003 10:24
Para: [EMAIL PROTECTED]
Assunto: [FRIDAY] YA Ted's Trivia Contest

Since it's independence day here in the States, and we all went to the 
ball game last night, I'll lob one over the fence:

This is a homily which I call [blank]'s Golden Rule:

"Eliminate duplication, eliminate dependency"

Who's [blank]?

A signed copy of Struts in Action to the first lucky subscriber to email

to [EMAIL PROTECTED] the correct answer [being whichever answer I expect

:0)].

-Ted.


-- 
Ted Husted,
Struts in Action 



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



RES: struts validator

2003-06-05 Thread Julio Cesar C Neto
Hi,

Just point the dtd reference to a file in your disk:

FROM:
http://jakarta.apache.org/struts/dtds/validator_1_0.dtd";>

TO:


Julio Cesar


-Mensagem original-
De: Brian McSweeney [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 5 de junho de 2003 07:03
Para: Struts Users Mailing List
Assunto: Re: struts validator

I use xdoclet to generate my validator stuff. There is a tag in the
 that allows you to use the dtd or not. I
set it there. Not sure how it actually works under the hood though.
Sorry :-( Anyone else know?
Brian

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 11:00 AM
Subject: RE: struts validator


> hi,
> Can you please let me know of how do you get rid of this issuse ( i
> mean setting up the validator so that i need not be
> connected to the net ) ...
>
> Thanks
> Guru
>
> -Original Message-
> From: Brian McSweeney [mailto:[EMAIL PROTECTED]
> Sent: 05 June 2003 10:50
> To: Struts Users Mailing List
> Subject: Re: struts validator
>
>
> I had initial trouble setting up the validator, mainly to do with it
not
> working when you try to validate the dtd with a machine not connected
> to the net. It didn't give a good error explaining this. However, once
I
> realised this was the problem, and set up the validator properly, it
works
> really well. Especially, if, like me, you are new to javascript!
> Brian
>
> - Original Message -
> From: "Mark Galbreath" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Thursday, June 05, 2003 5:18 AM
> Subject: RE: struts validator
>
>
> > You know, I just don't get it. I think Validator was a great idea
that
> > simply proved wrong in implementation.  And I know I am not alone it
this
> > assessment.
> >
> > Mark
> >
> > -Original Message-
> > From: Jeff Kyser [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, June 05, 2003 12:03 AM
> > To: Struts Users Mailing List
> > Subject: Re: struts validator
> >
> >
> > Like I said, I dont use client-side, and its been pretty smooth
sailing
> for
> > me. Sorry your experience was different, but personally, I like it.
> > Especially defining constants for validation masks and using them
over
and
> > over on lots of different forms in different projects even. And the
> > requiredif has been pretty handy for a number of cases to boot
> >
> > Of course, there are still cases where I need to go to
> > validate() methods in the actions, but they are less
> > and less, just as I use actual FormBeans less and less,
> > now that i halfway grok DynaValidatorForms...
> >
> > cheers,
> >
> > -jeff
> >
> > On Wednesday, June 4, 2003, at 10:40  PM, Mark Galbreath wrote:
> >
> > > yeah, well, DUH!  When are you guys going to realize that
Validator
> > > should
> > > never have come out here even in beta. It sucks.
> > >
> > > Mark
> > >
> > > -Original Message-
> > > From: Jeff Kyser [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, June 04, 2003 9:25 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: struts validator
> > >
> > >
> > > I only did server-side validations, using v1.1b3, until I saw lots
of
> > > people
> > > complaining that v1.1rc1 wasn;t working for client-side
validations.
> > >
> > > I tried it (rc1) and it didn't work for me either. I haven't
messed
> > > with the nightly builds - just went back to 1.1b3. Its probably
been
> > > fixed in the
> > > latest, but since 1.1rc2 is coming out soon, figure I'll wait
until
> > > then to
> > > check it out again.
> > >
> > > -jeff
> > >
> > > On Wednesday, June 4, 2003, at 08:18  PM, Mark Galbreath wrote:
> > >
> > >> Beats me, dude.  I struggled with it for 3 days and said enough
is
> > >> enough, and wrote my own validations in my Action classes.  If
you
> > >> look through the
> > >> mail archive, you'll see right off that this is what happens to
the
> > >> majority
> > >> of people trying to get Validator to work.
> > >>
> > >> Good luck,
> > >> Mark
> > >>
> > >> -Original Message-
> > >> From: Frances Aleah Z. de Guzman
[mailto:[EMAIL PROTECTED]
> > >> Sent: Wednesday, June 04, 2003 8:55 PM
> > >> To: Struts Users Mailing List; Mark Galbreath
> > >> Subject: Re: struts validator
> > >>
> > >>
> > >> how can i fix it?
> > >>
> > >> On Friday 30 May 2003 08:20 pm, Mark Galbreath wrote:
> > >>> That's because the Validator works by magic and you obviously
have a
> > >>> hex in your machine.
> > >>>
> > >>> (sometimes I kill myself)
> > >>> Mark
> > >>>
> > >>> -Original Message-
> > >>> From: Frances Aleah Z. de Guzman
[mailto:[EMAIL PROTECTED]
> > >>> Sent: Friday, May 30, 2003 2:49 AM
> > >>> To: [EMAIL PROTECTED]
> > >>> Subject: struts validator
> > >>>
> > >>>
> > >>> struts validator (client side validation) example is not working
in
> > >>> my pc, even the struts example. but it is working with the other
pcs
> > >>> in our office.
> > >>>
> > >>> i noticed that when i view the page source there is no
javas

RES: Sub-Application action mappring

2003-02-06 Thread Julio Cesar C Neto
Hi,

I think i´ve figured out: override the processMapping in the
requestProcessor, and do the search. Right? (yes!)


Thank you,

Julio Cesar



-Mensagem original-
De: Julio Cesar C Neto [mailto:[EMAIL PROTECTED]] 
Enviada em: quinta-feira, 6 de fevereiro de 2003 16:07
Para: 'Struts Users Mailing List'
Assunto: Sub-Application action mappring

 Hi,

I have an application /x and a sub-application /x/y. Supposing i´m in
the /x/y application, is there anyway to struts search in the
struts-config.xml of the /x application if he doesn´t find the action
mapping in the /x/y?

For example: I´m in the sub-application /x/y and i´m looking for a
action mapping called "something.do", but this mapping does not exist in
the action mapping of the sub-application /x/y, just in the action
mapping of application /x. Can struts search in other action mapping
(application /x, for example), if he did not find the mapping in the
current sub-application(sub-application /x/y)?


Thank you,

Julio Cesar


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003
 


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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003
 


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




Sub-Application action mappring

2003-02-06 Thread Julio Cesar C Neto
 Hi,

I have an application /x and a sub-application /x/y. Supposing i´m in
the /x/y application, is there anyway to struts search in the
struts-config.xml of the /x application if he doesn´t find the action
mapping in the /x/y?

For example: I´m in the sub-application /x/y and i´m looking for a
action mapping called "something.do", but this mapping does not exist in
the action mapping of the sub-application /x/y, just in the action
mapping of application /x. Can struts search in other action mapping
(application /x, for example), if he did not find the mapping in the
current sub-application(sub-application /x/y)?


Thank you,

Julio Cesar


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003
 


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




RES: Accessing JSP's under WEB-INF

2003-01-30 Thread Julio Cesar C Neto
Yeah, i´ve done something like this, but I was hoping to find another
solution, anyway is a good one. Thank you!

Julio Cesar

-Mensagem original-
De: Wendy Smoak [mailto:[EMAIL PROTECTED]] 
Enviada em: quinta-feira, 30 de janeiro de 2003 11:36
Para: 'Struts Users Mailing List'
Assunto: RE: Accessing JSP's under WEB-INF

> I´ve done this, but when he´s try to access the first page (index.jsp)
> he says: 
> Configuration error: Cannot perform access control without an
> authenticated principal
> It´s because of the web.xml file that has the tag .
> How can I fix this?

Change the welcome file to index.html and make that page redirect to
wherever you want it to go (welcome.do?).  One of those "Click here to
enter, or your browser should send you there in 5 seconds" sort of
things.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003
 


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




RES: Accessing JSP's under WEB-INF

2003-01-30 Thread Julio Cesar C Neto
Hi david,

I´ve done this, but when he´s try to access the first page (index.jsp)
he says: 

 Configuration error: Cannot perform access control without an
authenticated principal

It´s because of the web.xml file that has the tag .
How can I fix this?


Julio Cesar

-Mensagem original-
De: David Graham [mailto:[EMAIL PROTECTED]] 
Enviada em: quarta-feira, 29 de janeiro de 2003 18:42
Para: [EMAIL PROTECTED]
Assunto: Re: Accessing JSP's under WEB-INF

For a portable solution, put this in your web.xml file instead:




SecureAllJSPs
*.jsp



Protects all JSP files from direct
access.  Clients
must go through the controller servlet.

nobody




No one should be put in this
role.
nobody







>From: "James Mitchell" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: Re: Accessing JSP's under WEB-INF
>Date: Wed, 29 Jan 2003 15:52:51 -0500
>
>Aside from the fact that not every container supports it, no.
>
>
>--
>James Mitchell
>
>
>
>
>
>- Original Message -
>From: "White, Joshua A (AG, COMM)" <[EMAIL PROTECTED]>
>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>Sent: Wednesday, January 29, 2003 3:04 PM
>Subject: RE: Accessing JSP's under WEB-INF
>
>
> > James,
> >
> > I couldn't have ask for anything more.
> >
> > Does anyone know of any performance problems with organizing your
code 
>in
> > the manner?
> >
> > Joshua
> >
> >  -Original Message-
> > From: James Mitchell [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 29, 2003 2:57 PM
> > To: Struts Users Mailing List
> > Subject: Re: Accessing JSP's under WEB-INF
> >
> > You can download the struts-example that was modified to demonstrate

>this
> > from the following URL:
> >
> > http://www.open-tools.org/struts-atlanta/downloads
> >
> >
> >
> > --
> > James Mitchell
> >
> >
> >
> >
> >
> > - Original Message -
> > From: "White, Joshua A (AG, COMM)" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, January 29, 2003 2:51 PM
> > Subject: Accessing JSP's under WEB-INF
> >
> >
> > > Hello all,
> > >
> > > I would like to put my struts related jsp files under the web-inf
> > directory
> > > in a folder called "securedocroot" so that they have no chance of 
>being
> > > called directly.  The problem is that I do not know how you would
call 
>a
> > > page from this folder.  How would you map these jsp's in the
>struts-config
> > > file?
> > >
> > > If you have done this in an existing application, would you mind
>positing
> > > some example code and possible a brief explanation?
> > >
> > > Regards,
> > >
> > > Joshua
> > >
> > >
> > > This communication, including attachments, is for the exclusive
use of
> > > addressee and may contain proprietary, confidential or privileged
> > > information. If you are not the intended recipient, any use,
copying,
> > > disclosure, dissemination or distribution is strictly prohibited.
If
> > > you are not the intended recipient, please notify the sender
> > > immediately by return email and delete this communication and
destroy
>all
> > copies.
> > >
> > >
> > >
-
> > > 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]


_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus


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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003
 


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

RES: Problem: Struts+Modules+jsps under WEB-INF

2002-12-03 Thread Julio Cesar C Neto
Hi, 

If I use this way, 

app/img/
app/css/
app/WEB-INF/lib
app/WEB-INF/classes
app/common/
app/common/mainScreen.jsp
app/test.jsp

How can I protect my JSP from being accessed directly?


Julio Cesar

-Mensagem original-
De: edgar [mailto:[EMAIL PROTECTED]] 
Enviada em: terça-feira, 3 de dezembro de 2002 10:24
Para: 'Struts Users Mailing List'
Assunto: RE: Problem: Struts+Modules+jsps under WEB-INF

If you make common invisible to the web, i.e.
http:///common/.jsp is invalid then I agree.
Otherwise you are risking shortcuts bypassing the action classes.  If
you have jsp's that are directly executable by all means put them in a
public space.

Edgar

-Original Message-
From: Vincent PROSPER [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 03, 2002 8:06 AM
To: 'Struts Users Mailing List'; 'Maciej Ko³odziej'
Subject: RE: Problem: Struts+Modules+jsps under WEB-INF


To my understanding:

1. Put something like mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 1:44 PM
To: struts-user
Subject: Problem: Struts+Modules+jsps under WEB-INF


Hi,

I started developing an application with Jakarta Struts 1.1. I decided
to build it using multiple modules (sub-apps) and also hide all jsps
under WEB-INF. Thus my application structure looks like this: app/img/
app/css/ app/WEB-INF/ app/WEB-INF/classes/ app/WEB-INF/lib/
app/WEB-INF/jsp/ app/WEB-INF/common/ app/WEB-INF/common/mainScreen.jsp
...

Now I create an action in stuts-config-common.xml and define it like
this:



When I want to fire this action I have to type for ex.:

http://localhost:8080/app/common/main.do

But then I get a message:

type Status report

message /common/WEB-INF/jsp/common/mainScreen.jsp


description The requested resource
(/common/WEB-INF/jsp/common/mainScreen.jsp) is not available.

So the module name is used as context(?) and inserted also before
WEB-INF. Why? I don't need this. The module name should be put after
jsp, as it is, but not before WEB-INF! If I create another action
test.do and put in in default module (not
common) this doesn't happen. Supposedly because context then is / not
/common. How do I solve this?

--
MK


--
To unsubscribe, e-mail:

For additional commands, e-mail:






--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/2002
 


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




Struts Book : Already on Safari!!

2002-11-26 Thread Julio Cesar C Neto

Hi everyone!

Make your wish come true!  Chuck´s book is already on oreilly Safari!!


Julio Cesar


-Mensagem original-
De: Francesco Russo [mailto:[EMAIL PROTECTED]] 
Enviada em: terça-feira, 26 de novembro de 2002 04:44
Para: Struts Users Mailing List
Assunto: Re: Migrating from 1.0.2 to 1.1

Thanks David,

but this does not address what I was looking for. I need a way to get a 
reference to an already instantiated Action among the ones instantiated 
by the ActionServlet.
Is there a way to accomplish this task with the 1.1 version? At the 
bottom of the mail still appears the code fragment I use with Struts 
1.0.2 to help in understanding what my goal is.

Thanks,
Francesco.

David Graham wrote:

> If the ActionServlet has instantiated an Action then it has already 
> been loaded by the class loader and won't be loaded again by your 
> servlet.  I suggest removing that piece of code entirely.
>
> David
>
>
>
>
>
>
>> From: Francesco Russo <[EMAIL PROTECTED]>
>> Reply-To: "Struts Users Mailing List"
<[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED]
>> Subject: Migrating from 1.0.2 to 1.1
>> Date: Mon, 25 Nov 2002 17:13:42 +0100
>>
>> Hi everybody,
>>
>> I have a question concerning how to move a piece of code working with

>> the Struts 1.0.2  release to the upcoming 1.1 stable one. What I do
is:
>>
>> public myActionServlet extends ActionServlet
>> {
>>...
>>public Class getClass(String fullyQualifiedName)
>>{
>>  FastHashMap fhm = this.actions;
>>  java.lang.Object obj = fhm.get( fullyQualifiedName );
>>  return obj.getClass();
>>}
>>...
>> }
>>
>> My intent is to retreive the Class instance associated with the 
>> Action identified by the provided fully qualified name in order to 
>> save the time required for loading it via the class loader, since it 
>> could already have been instantiated by the controller itself!
>>
>> What I am warried about is that the "actions" protected field in the 
>> ActionServlet class no longer exists in the 1.1 Struts release.
>>
>> Might anyone tell me how this simple piece of code can be geared to 
>> Struts 1.1?
>>
>> Thanks in advance,
>> Francesco.
>>
>>
>>
>>
>> -- 
>> To unsubscribe, e-mail:   
>> 
>> For additional commands, e-mail: 
>> 
>
>
>
> _
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
>
>
> -- 
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
>
>
>



--
To unsubscribe, e-mail:

For additional commands, e-mail:



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/2002
 


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