Re: AW: talking about paradigms

2004-11-16 Thread Lucas Gonzalez Pearson
This is a simple sintaxis issue...
parameters in java are not passes as pointers.. they are passed as values
( the memory address of the object in the heap )..

so if we are to be precise there are no real pointers in java...
however.. the main difference with C/C++ is that you cannot do arithmetic
operations with a pointer... that´s where the "hiding" takes place

Just my .2 cents
Lucas

- Original Message - 
From: "Struts User" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Dakota Jack"
<[EMAIL PROTECTED]>
Sent: Tuesday, November 16, 2004 11:50 AM
Subject: Re: AW: talking about paradigms


> I agree with Jack. There are pointers everywhere in Java. Java learns
> from C++ mistake by "hiding" error prone functionality such as
> pointers.
>
> Joshua Block's book is not a Java Book for beginner. It is target for
> experience developer. Probably you should look into Bruce Eckel's
> on-line book for more information - http://64.78.49.204/
>
> I hope this helps.
>
> Lee
>
> On Tue, 16 Nov 2004 06:42:32 -0800, Dakota Jack <[EMAIL PROTECTED]>
wrote:
> > Hello, Leon,
> >
> > There are pointers in Java.  Every object is referenced by a pointer.
> > Indeed, how else could an object be referenced?  I am not sure why you
> > cited Joshua Bloch's book on this.  There is not, as Eddie said,
> > pointer arithmetic.
> >
> > Jack
> >
> > On Tue, 16 Nov 2004 11:46:05 +0100, Rosenberg, Leon
> > <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > And, taking in risk bringing in boredom in your life, there are NO
> > > _pointers_ in java; if you don't believe me, try some books written by
> > > java developers (i.e. Joshua Bloch, Effective Java Programming
Language
> > > Guide,
> > > Regards
> > > Leon
> >
> > --
> > "You can't wake a person who is pretending to be asleep."
> >
> > ~Native Proverb~
> >
> > "Each man is good in His sight. It is not necessary for eagles to be
crows."
> >
> > ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
> >
> > -
> > 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]



Problems with nested:form

2004-10-26 Thread Lucas Gonzalez Pearson
Hi..

I´m not exactly what the problem is, but I´ll try to explain it to see if
anyone can help me out...

we have this on a jsp:


and this is the action mapping in struts-config:



The problem is with the attribute parameter. If it is "CustomerCrud"
validation works properly, but I don´t seem to be able to retrieve the
form-bean in the execute method.
If I change attribute to "CustomerCrud2" then the action finds the form-bean
properly, but validation does not works .

Any ideas of what could this be?

Thanks a ton!
Lucas


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



Re: Dynamically Display in the Textarea Based on Menu Selection Made by Users

2004-09-24 Thread Lucas Gonzalez Pearson
Easy...
everything has already been fetched before...

take a look at the source ( no copyrights violation intended ):

 
 var programSelectionTable;
 var programDescription;
 var programSubProgramSelect;
 var programHigestLevel;
  function showOtherFields(n){

   var selectedProgramName =
document.getElementById('selectBox'+n).options[document.getElementById('sele
ctBox'+n).selectedIndex].value;
if (selectedProgramName=="")
{
 document.getElementById('programDescritionText'+n).innerHTML =
programDescription;
 document.getElementById('subProgramSelect'+n).innerHTML =
programSubProgramSelect;
 document.getElementById('highestLevelRep'+n).innerHTML =
programHigestLevel;
 document.getElementById('hiddenProgramName'+n).innerHTML = "";
 document.getElementById('yesButton'+n).disabled=true;
 document.getElementById('noButton'+n).disabled=true;

}
else {
 getProgramDescrption(selectedProgramName,n);
 document.getElementById('subProgramSelect'+n).innerHTML =
document.getElementById(selectedProgramName+"CNameSelect").value;
 document.getElementById('highestLevelRep'+n).innerHTML =
document.getElementById(selectedProgramName+"HighestLevel").value;
 document.getElementById('hiddenProgramName'+n).innerHTML =
document.getElementById(selectedProgramName+"HiddenProgram").value;
 document.getElementById('yesButton'+n).disabled=false;
 document.getElementById('noButton'+n).disabled=false;
}

  }
  function showNextSection(n){
   document.getElementById('sectionJSOn'+n).innerHTML =
createProgramSelectionTable(n);
   document.getElementById('sectionJSOn'+n).style.display="";
  }

  function createProgramSelectionTable(n){
   var nextSectionToShow = n+1;
   programSelectionTable= "";
   programSelectionTable += "";
   programSelectionTable += "";
   programSelectionTable += "";
   programSelectionTable += "";
   programSelectionTable += "";
   programSelectionTable += "";
   programSelectionTable += "";
   programSelectionTable += " ";


   programSelectionTable += "";
   programSelectionTable += "";
   programSelectionTable += "";
   programSelectionTable += " ";
   programSelectionTable += "";
   programSelectionTable += "";
   programSelectionTable += "";
   programSelectionTable += "";
   programSelectionTable += "
Select Program Group:"; programSelectionTable += " "; programSelectionTable += ""; programSelectionTable += "
Program Group Description:"; programSelectionTable += " "; programSelectionTable += "
"; programDescription = ""; programSelectionTable += programDescription ; programSelectionTable += "
"; programSelectionTable += "
Select Sub Program Group:"; programSelectionTable += " "; programSelectionTable += "
"; programSubProgramSelect = ""; programSelectionTable += programSubProgramSelect ; programSelectionTable += "
"; programSelectionTable += "
Select Highest Level of Responsibilty:
"; programSelectionTable += "
"; programHigestLevel = ""; programHigestLevel += ""; programHigestLevel += "

Re: [FRIDAY] GMail invites

You get your invitations (I think) depending on how long you have the
account and how much you use it.
I´ve already given away 10 invitations and every month I get 4 or 5 more...


- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, September 10, 2004 12:45 PM
Subject: Re: [FRIDAY] GMail invites


>
>
> Thanks James!
>
> I have my account setup, but don't see info for inviting others. I will
send
> another mail when they are available, will offer all 6 invites to members
of
> this list.
>
> Anuj Upadhyay
>
>
>
>
>
>
>
> "James Mitchell" <[EMAIL PROTECTED]> on 09/10/2004 05:08:11 PM
>
> Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>
>
> To:   "Struts Users Mailing List" <[EMAIL PROTECTED]>
> cc:(bcc: Anuj Upadhyay/Jeppesen/TMC)
>
> Subject:  Re: [FRIDAY] GMail invites
>
>
>
> Matt, can you post who you gave 1 out to?  I don't want to double up.
>
> Here's my 1st 5 replies:
> Wendy Smoak <[EMAIL PROTECTED]>
> Emmanouil Batsis <[EMAIL PROTECTED]>
> Anuj <[EMAIL PROTECTED]>
> Kommana, Sridhar <[EMAIL PROTECTED]>
> Tridev Kodamasingh <[EMAIL PROTECTED]>
>
> I will send out the invite if you haven't already gotten one.  Please tell
> me if you already have one.  I don't want to waste any.  Also, once you
get
> your account setup, you will have 6 invites available, so help out someone
> else please.
>
> Thanks.
>
>
>
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
>
> - Original Message -
> From: "Matt Bathje" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Friday, September 10, 2004 10:46 AM
> Subject: Re: [FRIDAY] GMail invites
>
>
> > Wow that was fast...but they are all used up now, sorry!
> >
> > I will be inviting the first responders asap.
> >
> > If I get more invites I will do this again.
> >
> >
> >
> > Matt
> >
> >
> > Matt Bathje wrote:
> >
> > > Hey all - since it is Friday I am going to go off topic for a
> > > minute...but I'll leave the wacky poetry and puns to some of you other
> > > folks. :)
> > >
> > > I'm assuming everybody on this list who has one wants one but just in
> > > case - I have 6 GMail invites available, and will give them to Struts
> > > users on a first come first serve basis.
> > >
> > > Email me ([EMAIL PROTECTED]) OFF LIST and the first 6 people will get
> > > them. I'll probably send another message when they are all used up.
> > >
> > > Remember, OFF LIST emails about this only.
> > >
> > >
> > > Matt
> > >
> > > -
> > > 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]



Re: [OT]: ant + eclipse not working .. eclipse bug?

I´m using eclipse v3.1.0 and was using built-int ant.
I switched to an external location for ant and the problem seems to have
been fixed

strange...

- Original Message - 
From: "David G. Friedman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, September 10, 2004 12:11 AM
Subject: RE: [OT]: ant + eclipse not working .. eclipse bug?


> I've used Eclipse v2.1.2, v2.1.3 and now Eclipse v3.0
> without every seeing this problem.  What version are
> you running AND is your Ant the one that comes built-in
> to Eclipse or are you calling an externally located
> verion of Ant?
>
> Regards,
> David
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 09, 2004 7:48 PM
> To: Struts Users Mailing List
> Subject: Re: [OT]: ant + eclipse not working .. eclipse bug?
>
>
>
>
>
>
>
> I struck this problem with Eclipse and ant a couple a months ago.
> It looked as if the java compiler was generating incomplete class files.
> I can't advise of any known problem or fix to it though - I was only
> evaluating Eclipse at the time and switched to another tool.
>
> Regards,
> John
>
> [EMAIL PROTECTED]
> Ph (09) 372-5010
>
>
> |-+->
> | |   "Lucas Gonzalez   |
> | |   Pearson"  |
> | |   <[EMAIL PROTECTED]|
> | |   gia.com.ar>   |
> | | |
> | |   09/09/2004 08:26 PM   |
> | |   Please respond to |
> | |   "Struts Users Mailing |
> | |   List" |
> | | |
> |-+->
>
>-
> -|
>   |
> |
>   |   To:   "Struts Users Mailing List" <[EMAIL PROTECTED]>
> |
>   |   cc:
> |
>   |   Subject:  [OT]: ant + eclipse not working .. eclipse bug?
> |
>
>-
> -|
>
>
>
>
> I have a really strange problem!
>
> I made a mistake like this in a class
> System.out.println( ) asdfa ;
>
> after saving the file, running ant compile throws this:
> compile:
> BUILD SUCCESSFUL
>
> It seems like the javac task is not recompiling the class ( since using a
> ant clean, ant compile works ).
>
> If I run ant from command line or JIdea it runs properly and throws the
> error on that line. So it seems it is an eclipse specific error.
>
> This are my ant tasks that have always worked wonderfully
>  
>  
>   
>  
>  
>  
>destdir="${webinf}/classes">
>
>   
>  
>
> I´m using eclipse 3.1.0 and ant 1.6.2
>
> It this an eclipse bug? a known issue maybe?
> Everything helps at this stage!
>
> Thanks a lot!
> Lucas
>
>
> -
> 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]



[OT]: ant + eclipse not working .. eclipse bug?

I have a really strange problem!

I made a mistake like this in a class
System.out.println( ) asdfa ;

after saving the file, running ant compile throws this:
compile:
BUILD SUCCESSFUL

It seems like the javac task is not recompiling the class ( since using a
ant clean, ant compile works ).

If I run ant from command line or JIdea it runs properly and throws the
error on that line. So it seems it is an eclipse specific error.

This are my ant tasks that have always worked wonderfully
 
 
  
 
 
 
  
   
  
 

I´m using eclipse 3.1.0 and ant 1.6.2

It this an eclipse bug? a known issue maybe?
Everything helps at this stage!

Thanks a lot!
Lucas


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



Re: [OT] Setting up a struts project in IDEA

Denis,
place the cursor over the TLD reference ( it will be probably in RED )...
and then press ALT + ENTER and idea will take care of everything for you.
(It will add it to the project resources list)

Exitos
Lucas

- Original Message - 
From: "Denis Avdic" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, September 03, 2004 11:40 AM
Subject: [OT] Setting up a struts project in IDEA


> Hello,
>
> I switched to IntelliJ IDEA 4.5 recently and I finally got an
> opportunity to set up a pure struts project for a demo.  I unpacked
> struts-blank, and guessed at various settings IDEA asked me when I
> tried to set up a project.  Now I can't get the IDE to recognize the
> tld's anywhere, I am not sure what path root it is using or how to set
> it.  I've tried searching online for a tutorial on how to set up a
> struts project for development in IDEA, but I didn't have any luck.
>
> Is there anyone out there using IDEA 4.5 that has a list of settings,
> paths and other things that need to be set in order for all the bells
> and whistles to work?
>
> Thanks,
>
> Denis
>
> -
> 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]



Re: [OT] Good luck Dream Team

Hey we won!

Lucas

ps.- an argentinian guy

- Original Message - 
From: "ksitron" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 27, 2004 5:45 PM
Subject: Re: [OT] Good luck Dream Team


> That's Ok. You guys can talk smack now. But, I'm sure in four years 
> you'll be eating humble pie.
> AGAIN.
> 
> Guillermo Meyer wrote:
> 
> >Hey, Dream Team, Argentina wishes you good luck in bronze medal match!
> >
> >Cheers.
> >Guillermo
> >Argentinian Basketball fan.
> >
> >PD: Go Ginobili Go!!!
> >
> >
> >FiberTel, el nombre de la banda ancha http://www.fibertel.com.ar
> >
> >
> >
> >-
> >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]



Re: ApplicationProperties_es_ES

I thought that if no resource bundle matched the ones you had, then the
default would be chosen...

isn´t that correct?

We are developing in argentina, and many people has es_ES instead of es_AR
in their locales, so the default resource bundle is used (english in our
case)

=/

- Original Message - 
From: "Jim Barrows" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 27, 2004 5:59 PM
Subject: RE: ApplicationProperties_es_ES




> -Original Message-
> From: Eric Dahnke [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 27, 2004 1:53 PM
> To: Struts Users Mailing List
> Subject: ApplicationProperties_es_ES
>
>
>
> Hello list,
>
>
> We're building an internationalized site, and we're having an
> issue with
> locales and resource bundles. If we have two specific
> resource bundles for
> Spanish from Spain (ApplicationProperties_es_ES.properties)
> and Spanish from
> Argentina  (ApplicationProperties_es_AR.properties), one would think a
> browser arriving with a locale/user-agent of es_MX would be
> caught by one of
> the two es_* properties file, but infact es_MX gets the
> default English
> properties file, unless there is specifically a
> ApplicationProperties_es.properties file.
>
> Is this the expected behavior?

Yes, you could try a properties file called es, without the country and see
if that works.  I think it should.
When I first saw this, I thought it was odd too... then I remembered
something someone said about spanish, in particular, and may be true in
other languages as well, and it made sense.
Seems that Spanish has a lot of local euphemisms that cause some interesting
confusion.  One place has one word used for a woman of good repute for
instance, while 10 miles down the road, it's used for a woman of ill-repute.
Well, if that's true of more then just Spanish, then it makes sense that the
i18n stuff won't assume that es_MX and es_ES are the same, or any other
language/country code either for that matter.
>
>
> Thx
>
>
> -
> 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]



Re: Deploying Struts ???

I thought so,
but try renaming a .war file, and redeploying it, we had Smith.war and
John.war, and whenever Smith deployed his war, all his classes would replace
the ones that John had deployed before...

The only solution we found was to split tomcat and jboss, and smith and john
now have each one a local tomcat that connects to the JBOSS server using
jndi.. it´s not the best.. but at least we don´t keep getting collision with
the jsps

Lucas

- Original Message - 
From: "Jim Barrows" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 20, 2004 2:19 PM
Subject: RE: Deploying Struts ???




> -Original Message-
> From: Lucas Gonzalez Pearson [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 20, 2004 10:15 AM
> To: Struts Users Mailing List
> Subject: Re: Deploying Struts ???
>
>
> If you deploy two different war to a jboss server, the one
> that is deployed
> the latest will be used.
> I am experiencing this problem. Maybe Jboss classloader is
> does not support
> hierarchies?

It's possible.

from http://java.sun.com/developer/technicalArticles/Servlets/servletapi2.3/
I found this:
Class Loaders

Here's a small change with a big impact: In API 2.3, a servlet container
(a.k.a. the server) will ensure that classes in a Web application not be
allowed to see the server's implementation classes. In other words, the
class loaders should be kept separate.

That doesn't sound like much, but it eliminates the possibility of a
collision between Web application classes and server classes. That had
become a serious problem because of XML parser conflicts. Each server needs
an XML parser to parse web.xml files, and many Web applications these days
also use an XML parser to handle reading, manipulation, and writing of XML
data. If the parsers supported different DOM or SAX versions, that could
cause an irreparable conflict. The separation of class scope solves this
issue nicely.

Which would indirectly support Jboss not being client,  It's Serlvet 2.3
though... so maybe not.

My understanding is that all web apps should have different class loaders.

>
>
> - Original Message - 
> From: "Jim Barrows" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Friday, August 20, 2004 12:54 PM
> Subject: RE: Deploying Struts ???
>
>
>
>
> > -Original Message-
> > From: Lykins Don H Contr AFSAC/ITS [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 20, 2004 8:47 AM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Deploying Struts ???
> >
> >
> > What are you referring to as a "classpath loader"??
>
> Sorry.. class loader.
>
> >
> > Won't this cause conflicts if each project has their own WAR
> > with struts inside?
>
> Nope, not at all.
>
> > What happens if they use different versions of Struts in each
> > WAR file?
>
>
> Doesn't matter, since each war in essence has it's own class
> loader, and
> will load classes from the local war.
>
> If you really want to understand what's going on, I would
> highly recommend
> reading the J2EE spec yourself. I'm pretty much at the end of
> what I know
> about class loading withing a J2EE environment, and only know
> this because
> my boss wanted to do this and assigned me the task of doing it.  After
> several weeks of pouring over documents and specs, I realized
> what I've just
> told you.  You can, but with any jar file that has to read or write to
> anything in the webapp, you cannot do it if the class is loaded from
> anyplace but the war.
>
>
> >
> >
> >
> > -Original Message-
> > From: Jim Barrows [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 20, 2004 11:43 AM
> > To: Struts Users Mailing List
> > Subject: RE: Deploying Struts ???
> >
> >
> >
> >
> > > -Original Message-
> > > From: Lykins Don H Contr AFSAC/ITS
> [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, August 20, 2004 8:25 AM
> > > To: 'Struts Users Mailing List'
> > > Subject: RE: Deploying Struts ???
> > >
> > >
> > > so how do you suggest we deploy struts?
> > > each developer bundle struts in their own WAR files?
> >
> > Yes. Only way to do it.  It's a classpath loader, and the way
> > it gets defined by the J2EE spec on how things get loaded and
> > from where.
> >
> > Believe me I've tried and tried and tried.. and it always
> > comes back to the spec.  Unfortunately, the spec is right...
> > there could be wors

Re: Deploying Struts ???

If you deploy two different war to a jboss server, the one that is deployed
the latest will be used.
I am experiencing this problem. Maybe Jboss classloader is does not support
hierarchies?


- Original Message - 
From: "Jim Barrows" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 20, 2004 12:54 PM
Subject: RE: Deploying Struts ???




> -Original Message-
> From: Lykins Don H Contr AFSAC/ITS [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 20, 2004 8:47 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Deploying Struts ???
>
>
> What are you referring to as a "classpath loader"??

Sorry.. class loader.

>
> Won't this cause conflicts if each project has their own WAR
> with struts inside?

Nope, not at all.

> What happens if they use different versions of Struts in each
> WAR file?


Doesn't matter, since each war in essence has it's own class loader, and
will load classes from the local war.

If you really want to understand what's going on, I would highly recommend
reading the J2EE spec yourself. I'm pretty much at the end of what I know
about class loading withing a J2EE environment, and only know this because
my boss wanted to do this and assigned me the task of doing it.  After
several weeks of pouring over documents and specs, I realized what I've just
told you.  You can, but with any jar file that has to read or write to
anything in the webapp, you cannot do it if the class is loaded from
anyplace but the war.


>
>
>
> -Original Message-
> From: Jim Barrows [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 20, 2004 11:43 AM
> To: Struts Users Mailing List
> Subject: RE: Deploying Struts ???
>
>
>
>
> > -Original Message-
> > From: Lykins Don H Contr AFSAC/ITS [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 20, 2004 8:25 AM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Deploying Struts ???
> >
> >
> > so how do you suggest we deploy struts?
> > each developer bundle struts in their own WAR files?
>
> Yes. Only way to do it.  It's a classpath loader, and the way
> it gets defined by the J2EE spec on how things get loaded and
> from where.
>
> Believe me I've tried and tried and tried.. and it always
> comes back to the spec.  Unfortunately, the spec is right...
> there could be worse issues if they did it differently.
>
>
>
> >
> > -Original Message-
> > From: Jim Barrows [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 20, 2004 11:12 AM
> > To: Struts Users Mailing List
> > Subject: RE: Deploying Struts ???
> >
> >
> >
> >
> > > -Original Message-
> > > From: Lykins Don H Contr AFSAC/ITS
> [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, August 20, 2004 7:57 AM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: Deploying Struts ???
> > >
> > >
> > > Looking for pointers on how to best deploy struts based, JSP
> > > applications.
> > > I am using JDeveloper 10G which ships with Struts source...
> > > deploying to Jrun.
> > >
> > > Scenario:
> > > I am one of 2 programmers,  each developing a separate JSP ,
> > > but sharing a common database
> > >
> > > When each JSP is developed and deployed a unique and separate
> > > WAR file is created and deployed to our app server.
> > > -- but  it seems duplicative -- as each WAR contains all the
> > > struts code as well...???
> > >
> > > any way to share the Struts source so we don't duplicate?
> > > May Still want to deploy each jsp app in separate WAR files,
> > > but find someway to deploy struts centrally???
> >
> > Most containers hava container wide library you can put
> > common libraries in... however you don't want to do this with
> > struts because you will have serious issues with finding the
> > struts-config.xml files.
> >
> > >
> > >
> > >
> > > Don Lykins
> > > AFSAC
> > > 937-257-4295 x4539
> > > [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]
>
> -
> 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]


--

Re: form submit problem...

Why don´t you just follow the instructions to remove YOURSELF from the
mailing list?

thanks for not spamming us anymore

Regards,
Lucas

- Original Message - 
From: "Jones, Demian" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 2004 3:13 PM
Subject: RE: form submit problem...


> PLEASE TAKE ME OFF THIS MAILING
>
> -Original Message-
> From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 18, 2004 1:04 PM
> To: Struts Users Mailing List
> Subject: RE: form submit problem...
>
>
> Thanks for the references, but just replacing html:submit with the below
> line worked for me
>  title='Submit' onclick='this.submit();' />
>
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 18, 2004 12:50 PM
> To: Struts Users Mailing List
> Subject: Re: form submit problem...
>
>
> Jim Barrows wrote:
>
> >
> >
> >>-Original Message-
> >>From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
> >>Sent: Wednesday, August 18, 2004 9:15 AM
> >>To: Struts Users Mailing List
> >>Subject: form submit problem...
> >>
> >>
> >>I am trying to submit a form with users email and password,
> >>such that when
> >>the user ckicks on next the checkCustomer.do action is executed.
> >>I am using html:submit to display the next button as below:"
> >>  >>value="next"/> "
> >>
> >>But i do not want to use html:submit as i have to display a
> >>img  button .
> >>How can i do that.
> >>
> >>
>
> I would also suggest:
> http://wiki.apache.org/struts/StrutsCatalogMultipleImageTagsSimplified
>
> Michael
>
>
>
> -
> 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]



Tiles problem when uploading war .... was [Re: Extending Request Processor]

Hi,
I am still trying to find the root of this problem but I don´t seem to be
able to do it.

Has anyone experienced this problem before?
copying a struts .war file to jboss´ deploy directory and then getting this
error:

javax.servlet.ServletException: TilesPlugin : Specified RequestProcessor not
compatible with TilesRequestProcessor
at
org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.ja
va:360)

( doing a restart throws no errors )...

Any ideas? pointers?

Thanks... =)

- Original Message - 
From: "Lucas Gonzalez Pearson" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, July 08, 2004 6:19 PM
Subject: Re: Extending Request Processor


> I have this in my struts-config.xml file..
>
> 
>  value="/WEB-INF/tiles-defs.xml"/>
> 
> 
> 
>
>
> it´s strange.. everything seems to be normal..
>
> but another thing I found out was that the problem arises when I
hot-deploy
> the .war file...
>
> If I restart the jboss / tomcat , then the error is thrown, but the App
> still works..
>
> strange.. =/
>
>
> - Original Message - 
> From: "Venkat Maddipati" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Thursday, July 08, 2004 6:00 PM
> Subject: RE: Extending Request Processor
>
>
> Try to put include the following in your struts configuratin file
> (struts-config.xml). Follow the  comments to understand the Tiles plugin :
>
> I have also extended my RequesteProcessor class from TilesRequestProcessor
> class.
>
>
>
>   
>   
>   
>   
>   value="/WEB-INF/tiles-defs.xml" />
> 
> 
>   
>
>
>
> Thanks,
> Venkat
>
>
>
>
>
> -Original Message-
> From: Lucas Gonzalez Pearson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 08, 2004 1:37 PM
> To: Struts Users Mailing List
> Subject: Extending Request Processor
>
>
> Hi
> I´ve recently extended the requestProcessor with one of my own and found
> this error:
>
> javax.servlet.ServletException: TilesPlugin : Specified
RequestProcessor
> not compatible with TilesRequestProcessor
> at
>
org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.ja
> va:360)
>
> Everything seems to be fine
>
> public class MyRequestProcessor
> extends TilesRequestProcessor {  }
>
> and in struts-config.xml
>  processorClass="com.convergia.laos.security.MyRequestProcessor"/>
>
> I´ve searched quite a bit on the internet and only found that you have to
> extend from TilesRequestProcessor just as I did
>
> any ideas on why this is happening?
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> 
>
> If you have received this e-mail in error, please delete it and notify the
> sender as soon as possible. The contents of this e-mail may be
confidential
> and the unauthorized use, copying, or dissemination of it and any
> attachments to it, is prohibited.
>
> Internet communications are not secure and Hyperion does not, therefore,
> accept legal responsibility for the contents of this message nor for any
> damage caused by viruses.  The views expressed here do not necessarily
> represent those of Hyperion.
>
> For more information about Hyperion, please visit our Web site at
> www.hyperion.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]
>


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



Re: Extending Request Processor

I have this in my struts-config.xml file..








it´s strange.. everything seems to be normal..

but another thing I found out was that the problem arises when I hot-deploy
the .war file...

If I restart the jboss / tomcat , then the error is thrown, but the App
still works..

strange.. =/


- Original Message - 
From: "Venkat Maddipati" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, July 08, 2004 6:00 PM
Subject: RE: Extending Request Processor


Try to put include the following in your struts configuratin file
(struts-config.xml). Follow the  comments to understand the Tiles plugin :

I have also extended my RequesteProcessor class from TilesRequestProcessor
class.



  
  
  
  



  



Thanks,
Venkat





-Original Message-
From: Lucas Gonzalez Pearson [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 1:37 PM
To: Struts Users Mailing List
Subject: Extending Request Processor


Hi
I´ve recently extended the requestProcessor with one of my own and found
this error:

javax.servlet.ServletException: TilesPlugin : Specified RequestProcessor
not compatible with TilesRequestProcessor
at
org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.ja
va:360)

Everything seems to be fine

public class MyRequestProcessor
extends TilesRequestProcessor {  }

and in struts-config.xml


I´ve searched quite a bit on the internet and only found that you have to
extend from TilesRequestProcessor just as I did

any ideas on why this is happening?



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






If you have received this e-mail in error, please delete it and notify the
sender as soon as possible. The contents of this e-mail may be confidential
and the unauthorized use, copying, or dissemination of it and any
attachments to it, is prohibited.

Internet communications are not secure and Hyperion does not, therefore,
accept legal responsibility for the contents of this message nor for any
damage caused by viruses.  The views expressed here do not necessarily
represent those of Hyperion.

For more information about Hyperion, please visit our Web site at
www.hyperion.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]



Re: struts automation

Try Camino

I believe the company that owns it is called ScioWorks

Lucas
- Original Message - 
From: "Tate Austin" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, July 08, 2004 5:52 PM
Subject: struts automation


Is there a struts tool out there that will create the class files you name
in a struts-config file automatically?  It seems to me that would be really
useful?


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



Extending Request Processor

Hi
I´ve recently extended the requestProcessor with one of my own and found
this error:

javax.servlet.ServletException: TilesPlugin : Specified RequestProcessor
not compatible with TilesRequestProcessor
at
org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.ja
va:360)

Everything seems to be fine

public class MyRequestProcessor
extends TilesRequestProcessor {  }

and in struts-config.xml


I´ve searched quite a bit on the internet and only found that you have to
extend from TilesRequestProcessor just as I did

any ideas on why this is happening?



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



Re: Session facade

Zhang,
It depends on what you want.

Using session facade gives your architecture forward compatibility towards
EJB technologies and maybe new technologies that might come in ...
the overhead of using this pattern isn´t that important and you will have a
clearer separation of areas...

Regards,
Lucas

- Original Message - 
From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 07, 2004 3:58 PM
Subject: Session facade



 It seems session facade design pattern is becoming ubiquitous. My question
is that
 if we are not going to use EJB(but we do have DAO-data access object), does
it still make sense to use session facade?

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]



Re: OT - How to add icon in browser url field

David,
you must place a favicon.ico file in the root dir of your webserver

Lucas



- Original Message - 
From: "David Gagnon" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, July 06, 2004 5:41 PM
Subject: OT - How to add icon in browser url field


> Hi 
> 
> Sorry for the OT topic :-).  I'm looking for a while now how you can add
> icon that appears in the URL text field of a browser (example:
> http://www.hicksdesign.co.uk/).  I heard it's something that I must do
> server side.  Is there a way to have it works with Tomcat 4.x.
> 
> 
> Thanks for your help
> 
> /David
> 
> 
> 
> -
> 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]