Re: [Q] bean:define dynamically

2002-04-17 Thread Nicolas De Loof

I don't know if it will help, but I had a problem with such syntax :

try
"
type="java.util.ArrayList"
scope="session"/>

As property attribute is defined in TLD to be "rtexprvalue", it can be
computed by a scriptlet, but the "property" attribute declaration must be
XML compliant (so you must escape quotes).

> I wish to define a bean:id as
>property="regions["<%= elementNo%>"].region_ent"
> type="java.util.ArrayList" scope="session"/>
>
>
> I tried giving <%= elementNo%>
>
> but it didn't work.
>
> Is there a way to do this?
>
> FYI,
> where RegionForm has attribute
>
> java.util.ArrayList regions;
> String elementNo;  // get populated on selection
> default="0"
>
> regions is a list of class type Region.
>
> Region class has attribute
> java.util.ArrayList region_ent;
>
>
>
> __
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:



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




Re: [Q] nested:nest and nested:write

2002-04-17 Thread Sanjay Choudhary

Hi Arron,

In struts-config.xml I named 






Again got the error 
Servlet Error: No getter method for property
account.account_no of bean sanForm:
javax.servlet.jsp.JspException: No getter method
for property account.account_no of bean sanForm.

I wish to use it for select options as documented for
nested tag library. When I got the error in
implementation,  I tried with a simple nested:write to
see if I get the value or not...but it resulted inthe
same type of error.


Thanks,
Sanjay



--- Arron Bates <[EMAIL PROTECTED]> wrote:
> Nothing is outwardly obvious... but it won't be in
> the nested tags as 
> it's forming the property correctly
> ("account.account_no").
> 
> One way to test, is to use the normal bean:write tag
> using your named 
> FormBean and the full nested property.
> eg:
>  property="account.account_no" />
> 
> And if you've named the bean the same name you have
> in the Struts config 
> (as this is the name that the nested tags will be
> working off of), you 
> should get the same error. With that said, it will
> have to be the scope 
> of the bean, or the naming of the properties, the
> visibility of the 
> methods etc etc. Nothing nested tag specific. All I
> can say is that the 
> nested tags are laid up fine, and will be working
> off the bean named in 
> the struts-config.xml
> 
> 
> Arron.
> 
> 
> Sanjay Choudhary wrote:
> 
> >Hi Friends,
> >
> >I have a FormBean AccountForm and javabean Account
> >
> >public class AccountForm{
> >   private Account account;
> >   
> >   // setter and getter method for account
> >}
> >
> >public class Account{
> >   private String account_no;
> >   // setter and getter for account_no
> >}
> >
> >Then I have the following test.jsp
> >
> >
> >
> >test.jsp
> >
> >
> >
> >
> >
> >
> >  
> >
> >
> >
> >  
> >
> >
> >
> >
> >
> >
> >
> >When I run test.jsp I get the following error
> >
> >Servlet Error: No getter method for property
> >account.account_no of bean AccountForm:
> >javax.servlet.jsp.JspException: No getter method
> for
> >property account.account_no of bean AccountForm.
> >
> >Where am I making the mistake? 
> >
> >-Sanjay
> >
> >
> >
> >__
> >Do You Yahoo!?
> >Yahoo! Tax Center - online filing with TurboTax
> >http://taxes.yahoo.com/
> >
> >--
> >To unsubscribe, e-mail:  
> 
> >For additional commands, e-mail:
> 
> >
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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




Re: [Q] nested:nest and nested:write

2002-04-17 Thread Arron Bates

Nothing is outwardly obvious... but it won't be in the nested tags as 
it's forming the property correctly ("account.account_no").

One way to test, is to use the normal bean:write tag using your named 
FormBean and the full nested property.
eg:


And if you've named the bean the same name you have in the Struts config 
(as this is the name that the nested tags will be working off of), you 
should get the same error. With that said, it will have to be the scope 
of the bean, or the naming of the properties, the visibility of the 
methods etc etc. Nothing nested tag specific. All I can say is that the 
nested tags are laid up fine, and will be working off the bean named in 
the struts-config.xml


Arron.


Sanjay Choudhary wrote:

>Hi Friends,
>
>I have a FormBean AccountForm and javabean Account
>
>public class AccountForm{
>   private Account account;
>   
>   // setter and getter method for account
>}
>
>public class Account{
>   private String account_no;
>   // setter and getter for account_no
>}
>
>Then I have the following test.jsp
>
>
>
>test.jsp
>
>
>
>
>
>
>  
>
>
>
>  
>
>
>
>
>
>
>
>When I run test.jsp I get the following error
>
>Servlet Error: No getter method for property
>account.account_no of bean AccountForm:
>javax.servlet.jsp.JspException: No getter method for
>property account.account_no of bean AccountForm.
>
>Where am I making the mistake? 
>
>-Sanjay
>
>
>
>__
>Do You Yahoo!?
>Yahoo! Tax Center - online filing with TurboTax
>http://taxes.yahoo.com/
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>



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




RE: Warning when extending ActionMapping.

2002-04-17 Thread Vaddiyar, Raghuramudu

Check the DTD struts-config_1_0.dtd or struts-config_1_1.dtd 

You cannot use an attribute which is not declared in the DTD.
Thats why you are getting this error

-Original Message-
From: Christian Bouessay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 5:10 PM
To: [EMAIL PROTECTED]
Subject: Warning when extending ActionMapping.


Hi,

In struts-config.xml, I've added a property to the default struts 
mapping, to be able to map each URL with a screen id:

By example:



To do this, I wrote my own class which extends ActionMapping.
All works fine, I can access the screen id by calling "mapping.getScreen()".

But, I don't understand the logs:

Parse Error at line 120 column -1: Attribute "screen" is not declared 
for element "action".
org.xml.sax.SAXParseException: Attribute "screen" is not declared for 
element "action".
...


Anyone has an idea?

--
C. Bouessay


--
To unsubscribe, e-mail:

For additional commands, e-mail:




The content of this e-mail is intended only for the confidential use of the
person addressed. If you have received this message in error, please notify
us immediately by electronic mail, by telephone or by fax at the above num-
bers.

E-mail communications are not secure and therefore we do not accept any res-
ponsibility for the confidentiality or altered contents of this message.

Please be aware that SIS Group and its subsidiary companies cannot accept
any orders or other legally binding correspondence with a participant as
part of an E-mail. The views expressed above are not necessarily those held
by SIS Group and its subsidiary companies and not binding for them.




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




[Q] nested:nest and nested:write

2002-04-17 Thread Sanjay Choudhary

Hi Friends,

I have a FormBean AccountForm and javabean Account

public class AccountForm{
   private Account account;
   
   // setter and getter method for account
}

public class Account{
   private String account_no;
   // setter and getter for account_no
}

Then I have the following test.jsp



test.jsp






  



  







When I run test.jsp I get the following error

Servlet Error: No getter method for property
account.account_no of bean AccountForm:
javax.servlet.jsp.JspException: No getter method for
property account.account_no of bean AccountForm.

Where am I making the mistake? 

-Sanjay



__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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




off topic: software development quality/standards

2002-04-17 Thread Vladimir Levin

This is totally off-topic, but I was inpsired by experiences
on a Struts project to write the short essay below. If you're
so inclined, give it a read and maybe tell me what you think.
Don't get me wrong, I am not thinking that it's terribly
original, but hey, it comes from the heart.

http://www.cuug.ab.ca/~levinv/aphelion/software_development.html

Vlad


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




Re: ActionServlet and NoClassDefFoundErrors

2002-04-17 Thread @Basebeans.com

Subject: Re: ActionServlet and NoClassDefFoundErrors
From: Vic Cekvenich <[EMAIL PROTECTED]>
 ===
Should you have a new () someplace in your action?

Struts Developer wrote:

> Greetings All,
> 
> This is probably a dumb question, and being this close to Friday will 
> generate short flippant answers, but here goes anyway...
> 
> I have a need to communicate via IBM MQSeries to a legacy application. 
> This application has a listener that monitors the queue and posts events 
> in the legacy application based on messages it reads from said queue.
> 
> I have successfully tested putting messages on the queue from a java 
> class. However when I try to call my MessageManager class from my Action 
> class all I ever get is a NoClassDefFoundError.
> 
> The MessageManager class imports all the necessary MQ packages, and it 
> also catches all MQ exceptions and throws a "MessageManagerException" 
> instead. I have a test driver that calls this class (independent of my 
> ActionServlet), and I can successfully call it all day long.
> 
> However, as soon as I try to make the call from my Action subclass I get 
> the NoClassDefFoundError.
> 
> Why, when I call my MessageManager from my test class, does it work, but 
> when I call it from my Action class it fails?
> 
> If anyone has any ideas please let me know. The source is posted below.
> Thanks in advance,
> Mark N.
> 
> 
> ForteMessageManager class
> 
> package dhs.vcm.forte.messaging;
> 
> 
> import com.ibm.mq.*;
> 
> 
> /*  There are three jar files required in the workspace
> com.ibm.mq.jar
> com.ibm.mq.iiop.jar
> com.ibm.mqbind.jar
> These should all be in the java/lib directory where MQ client is 
> installed.
> The mqbind.jar file isn't used except for class definitions and was 
> only
> found in the 5.2 installation of MQ Client.
> */
> 
> //- ForteMessageManager
> public class ForteMessageManager {
> 
> 
> 
> //- putMessage
> public static void putMessage(String msg)
> throws ForteMessageException {
> 
> 
> try {
> 
> System.out.println("ForteMessageManager.putMessage ... about 
> to establish Connection pool") ;
> ForteMessageConnectionPool messagePool = new 
> ForteMessageConnectionPool();
> 
> // open the queue
> System.out.println("ForteMessageManager.putMessage ... about 
> to open queue") ;
> MQQueue myQueue = messagePool.getConnection(1);
> 
> // Define a simple MQSeries message, and put message text
> System.out.println("ForteMessageManager.putMessage ... about 
> to define message ") ;
> MQMessage myMessage = new MQMessage();
> myMessage.writeUTF(msg);
> 
> // specify the message options...
> System.out.println("ForteMessageManager.putMessage ... about 
> to specify message options") ;
> MQPutMessageOptions pmo = new MQPutMessageOptions();  // 
> accept the defaults, use MQPMO_DEFAULT constant
> 
> // put the message on the queue
> System.out.println("ForteMessageManager.putMessage ... about 
> to place message on queue") ;
> myQueue.put(myMessage,pmo);
> 
> // Close the queue
> System.out.println("ForteMessageManager.putMessage ... about 
> to close the queue") ;
> messagePool.releaseConnection(myQueue);
> 
> 
> } catch (ForteMessageException ex) {
> } catch (MQException ex) {
> ForteMessageException newEx = new 
> ForteMessageException(ex.getMessage());
> newEx.setCompletionCode(ex.completionCode);
> newEx.setReasonCode(ex.reasonCode);
> throw newEx;
> } catch (java.io.IOException ex) {
> throw new ForteMessageException(ex.getMessage());
> }
> 
> 
> }
> 
> 
> 
> //- getMessage
> public static String getMessage()
> throws ForteMessageException {
> 
> 
> String msgText = null;
> 
> try {
> 
> ForteMessageConnectionPool messagePool = new 
> ForteMessageConnectionPool();
> 
> // open the queue
> MQQueue myQueue = messagePool.getConnection(1);
> 
> // Define a MQSeries message buffer to receive the message 
> into..
> MQMessage retrievedMessage = new MQMessage();
> 
> // Set the get message options..
> MQGetMessageOptions gmo = new MQGetMessageOptions();  // 
> accept the defaults, use MQGMO_DEFAULT constant
> 
> // get the message off the queue..
> myQueue.get(retrievedMessage, gmo);
> 
> // set the return value
> msgText = retrievedMessage.readUTF();
> 
> // Close the queue
> messagePool.releaseConnection(my

Re: IDE for EJB2.0 development

2002-04-17 Thread Joel Rees

> Your talk of assembly line workers reminds me of analogies I've read in
> engineering books.  Many have references to the industrial revolution and
> how productivity and efficiency skyrocketed with the use of assembly
lines.
> But I guess that's only true for uninteresting factory crap.

Like the boxes that run our tools.

> > A more appropriate analogy would be hand-made furniture vs.
> > the crap you buy
> > from a factory.  And carpenters are much more interesting people than
> > assembly-line workers. (hint-hint)

What is fascinating is that forty years ago, it was possible to encase most
of the important philosophical questions in an argument between assembler
and machine language.

The argument repeats itself, although it doesn't seem as tightly focused any
more. Too many tools, too many people trying to make their killing off the
tools. Too much ignoring all the tools used to build the ones we are now
arguing over. And the _most_ important question is still being overlooked.

There's something to think about as we approach the weekend.

BTW, I like vi better than emacs, but I prefer Codewarrior's editor on the
Mac for high-volume work. BBEDIT/perl is also fun. Nothing on MSW is
productive for me. No accounting for tastes, is there?

Joel Rees




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




Re: Passing JavaScript variable to a Java Scriptlet on a JSP page

2002-04-17 Thread John Jones

You're trying to merge client side code and server side code. Your server
side code has no idea what the country variable is. Here are only two ways
to do this:

1. Build javascript arrays of the information dynamically on the server side
and build the proper associations between the data using javascript. Then
build the function to act on that data on the onChange events on the select
boxes.

or

2. Create 1 pixel frame on right side of screen and when you select an
option in your select box, have a javascript function refresh that frame and
have some JavaScript arrays print out over there and using the onLoad
command for that frame, populate the select box on your main page based on
the value selected. This option is kind of klugy, but could be fun. :-) This
is really probably only good for intranet type application where everyone
has guaranteed fast connection over a LAN.

- Original Message -
From: "sanjeev_dutt" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 9:04 AM
Subject: RE: Passing JavaScript variable to a Java Scriptlet on a JSP page


Hi Oliver,

The main issue here is that I don't want to reload the page.
Is there some way this could be done without reloading the page ?

Thanks
Sanjeev

-Original Message-
From: Oliver Reflé [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 6:26 PM
To: Struts Users Mailing List
Subject: RE: Passing JavaScript variable to a Java Scriptlet on a JSP
page


Why don't you try it like this,
your Option list could be derived from a collection which is stored as an
attribute of the page.
Each time you select a value you can call a javascript funtion which filters
this collection.

Maybe your data is stored like that
germany.bavaria.nuremberg
englang.blabla.london

so you can filter the data, then reload the the page(don't forget to
set again your collection as attribute)

-Original Message-
From: sanjeev_dutt [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 2:49 PM
To: Struts Users Mailing List
Subject: RE: Passing JavaScript variable to a Java Scriptlet on a JSP
page


Hi Oliver,

I am forced to do that. Actually on my JSP I have three lookups: Country,
State and City.
If the user choses a particular country, then he should be able to see only
the corresponding states in the states lookup.
This is where the JavaScript comes in.

Any other suggestions to implement this ?

Thanks
Sanjeev



-Original Message-
From: Oliver Reflé [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 6:10 PM
To: Struts Users Mailing List
Subject: RE: Passing JavaScript variable to a Java Scriptlet on a JSP
page


I don't know exactly why you want to do that ?
Why don't you use
<% Hashtable states = new Hashtable();
states = Combo.getStates(country);

%>
and then you use
Country: <%=country.toString()%>

You don't need to use this javascript stuff, cause the disadvantage
is that you execute this document.write stuff on the client side.
You first execute you java scriptlet, the transfer the date to the
client and there the javascript code is executed.

So it would be easier if you would only work with Java scriptlets or Tags
here

Oliver

-Original Message-
From: sanjeev_dutt [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 2:32 PM
To: Struts Users Mailing List
Subject: Passing JavaScript variable to a Java Scriptlet on a JSP page


Hi,

I have this piece of code on my JSP:


 function fnGetStates()
 {
country = document.searchAcctForm.cboAcctAddrCountry.value;
alert(country);
document.write('<% Hashtable states = new Hashtable(); %>');
document.write('<% states = Combo.getStates(country);%>');
document.write('<% Enumeration state = states.keys(); %>');
document.write('<% while (state.hasMoreElements()) { %>');
document.write('<% String statecode = (String)state.nextElement(); %>');
document.write('<% String sts = (String)states.get(statecode); %>');
document.write('<%= sts
%>');
document.write('<%  } %>');
}



The problem is that "alert" is able to show the value of country. But within
the document.write, It  is not able to get the value of "country". It throws
the following error :

~:\citione\web\WEB-INF\_tmp_war_myserver_myserver_web\jsp_servlet\_jsp\_sear
ch\__searchacct.java:801: cannot resolve symbol
probably occurred due to an error in /jsp/search/searchacct.jsp line 197:
document.write('<% states = Combo.getStates(country);%>');
Could some one help ?
Thanks
Sanjeev


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



--
To unsubscribe, e-mail:

For additional commands, e-mail:


Re: [Q] bean:define dynamically

2002-04-17 Thread @Basebeans.com

Subject: Re: [Q] bean:define dynamically
From: Vic Cekvenich <[EMAIL PROTECTED]>
 ===
You can submit on select, and populate the 2nd bean.
2nd option is to retrieve 3 colums in the 2nd select, and use javascript 
to filter.
Vic

Sanjay Choudhary wrote:

> is there an alternative for this??
> 
> As I said earlier that I have region list box which
> get populated by an arraylist of Region class. Region
> class contains array list of entity
> 
> RegionEntity
> 
> Based on what user selects in Region drop down box,
> Entity drop box will be populated.
> 
> I am sure people must have done this earlier.
> 
> Pls advice.
> 
> Sanjay
> --- [EMAIL PROTECTED] wrote:
> 
>>
>>
>>I believe that the issue here is that the
>>bean:define  needs to be able to
>>resolve the reference "regions["<%=
>>elementNo%>"].region_ent" at compile
>>time - not at run time.
>>
>>I belive it literally gets a copy of the bean
>>property that you are
>>specifying and creates a new bean from it that it
>>attaches to the page
>>contect. This means that you then reference the copy
>>of the Region in the
>>page context - not the offset into the array of
>>Regions in the initial
>>bean.
>>
>>Because of this behavior I believe it needs to be
>>able to resolve the
>>location of the object it's going to create the bean
>>from at compile time.
>>Not sure to be honest -
>>
>>Check the DefineTag source code to be sure.  It's in
>>the source tree at:
>>org\apache\struts\taglib\bean\DefineTag.java
>>
>>FWIW -
>>Kevin
>>
>>
>>
>>
>>
>>
>>Sanjay Choudhary <[EMAIL PROTECTED]> on 04/17/2002
>>04:08:19 PM
>>
>>Please respond to "Struts Users Mailing List"
>>  <[EMAIL PROTECTED]>
>>
>>To:   Struts Users Mailing List
>><[EMAIL PROTECTED]>
>>cc:
>>Subject:  [Q] bean:define dynamically
>>
>>
>>Hi guys,
>>
>>I wish to define a bean:id as
>>  >property="regions["<%= elementNo%>"].region_ent"
>>type="java.util.ArrayList" scope="session"/>
>>
>>
>>I tried giving <%= elementNo%>
>>   
>>but it didn't work.
>>
>>Is there a way to do this?
>>
>>FYI,
>>where RegionForm has attribute
>>
>>java.util.ArrayList regions;
>>String elementNo;  // get populated on selection
>>default="0"
>>
>>regions is a list of class type Region.
>>
>>Region class has attribute
>>java.util.ArrayList region_ent;
>>
>>
>>
>>__
>>Do You Yahoo!?
>>Yahoo! Tax Center - online filing with TurboTax
>>http://taxes.yahoo.com/
>>
>>--
>>To unsubscribe, e-mail:   <
>>mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: <
>>mailto:[EMAIL PROTECTED]>
>>
>>
>>
>>
>>
>>
>>
>>
> ---
> 
>>This e-mail message (including attachments, if any)
>>is intended for the use
>>of the individual or entity to which it is addressed
>>and may contain
>>information that is privileged, proprietary ,
>>confidential and exempt from
>>disclosure.  If you are not the intended recipient,
>>you are notified that
>>any dissemination, distribution or copying of this
>>communication is
>>strictly prohibited.  If you have received this
>>communication in error,
>>please notify the sender and erase this e-mail
>>message immediately.
>>
>>
> ---
> 
>>
>>--
>>To unsubscribe, e-mail:  
>>
>>For additional commands, e-mail:
>>
>>
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 


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




Re: Warning when extending ActionMapping.

2002-04-17 Thread Chuck Cavaness

The struts DTD, whose job it is to make sure the struts-config.xml is 
valid, doesn't know about the screen attribute. You'll need to modify the 
DTD, or turn parsing off.

Chuck

At 05:09 PM 4/17/2002 +0200, you wrote:
>Hi,
>
>In struts-config.xml, I've added a property to the default struts mapping, 
>to be able to map each URL with a screen id:
>
>By example:
>
> forward="/views/authentication/logon.jsp"
> screen="ADP-000" />
>
>To do this, I wrote my own class which extends ActionMapping.
>All works fine, I can access the screen id by calling "mapping.getScreen()".
>
>But, I don't understand the logs:
>
>Parse Error at line 120 column -1: Attribute "screen" is not declared for 
>element "action".
>org.xml.sax.SAXParseException: Attribute "screen" is not declared for 
>element "action".
>...
>
>
>Anyone has an idea?
>
>--
>C. Bouessay
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 


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




RE: IDE for EJB2.0 development

2002-04-17 Thread Joseph Barefoot

Okay, I have to ask a question of all of you emacs/vi developers out there
with S's on your chests:

Are graphical versions of these tools allowed in the kindom of Studcodia, or
monochromatic versions only? ;)

peace,

Joe Barefoot

> -Original Message-
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 2:38 PM
> To: 'Struts Users Mailing List'
> Subject: RE: IDE for EJB2.0 development
>
>
> Well, I'm sure your tool is bigger than mine.
>
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 4:03 PM
> To: Struts Users Mailing List
> Subject: RE: IDE for EJB2.0 development
>
>
> Actually, its a 'my tool is better than your lack of one' rant :-)
>
> JM
>
> > -Original Message-
> > From: Schneider, Eric [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 17, 2002 3:50 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: IDE for EJB2.0 development
> >
> >
> > I'm enjoying the 'my tool is better than your tool' rant.
> >
> > Your talk of assembly line workers reminds me of analogies I've read in
> > engineering books.  Many have references to the industrial
> revolution and
> > how productivity and efficiency skyrocketed with the use of
> > assembly lines.
> > But I guess that's only true for uninteresting factory crap.
> >
> > e.
> >
> > > -Original Message-
> > > From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, April 17, 2002 3:24 PM
> > > To: 'Struts Users Mailing List'
> > > Subject: RE: IDE for EJB2.0 development
> > >
> > >
> > > A more appropriate analogy would be hand-made furniture vs.
> > > the crap you buy
> > > from a factory.  And carpenters are much more interesting people than
> > > assembly-line workers. (hint-hint)
> > >
> > > Mark
> > >
> > > -Original Message-
> > > From: James Mitchell [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, April 17, 2002 3:15 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: IDE for EJB2.0 development
> > >
> > >
> > > No no, I have to agree with Mark.  Real programmers use text
> > > editors just
> > > like "Real" construction workers use pitch forks and shovels
> > > and not those
> > > fancy bull dozers and front-end loaders.
> > >
> > > What happened to the good-ole days where it took a year and
> > > half to build a
> > > house!!!
> > >
> > > JM
> > >
> > >
> > >
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, April 17, 2002 1:35 PM
> > > > To: Struts Users Mailing List
> > > > Subject: RE: IDE for EJB2.0 development
> > > >
> > > >
> > > > I have to go there  even if it isn't Friday! :-)
> > > >
> > > > REAL programmers use vi. EMACS is an operating system trying to
> > > > pass itself off as a text editor (M ... LISP as your
> > > > scripting language!).
> > > >
> > > > As an aside, even a relevent aside, I have been tinkering with
> > > > jEdit (http://www.jedit.org) and have found it to be a very good
> > > > general text editor. It has a growing collection of plugins that
> > > > utilise such goodies as syntax highlighting, ant and refactoring
> > > > support. Check it out!
> > > >
> > > > Simon
> > > >
> > > > -
> > > > Simon P. Chappell [EMAIL PROTECTED]
> > > > Java Programming Specialist  www.landsend.com
> > > > Lands' End, Inc.   (608) 935-4526
> > > >
> > > >
> > > > >-Original Message-
> > > > >From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> > > > >Sent: Wednesday, April 17, 2002 11:53 AM
> > > > >To: 'A mailing list for Java(tm) 2 Platform, Enterprise Edition'
> > > > >Cc: Struts (E-mail); Bartles, Todd; Bronner, Bryon; Harter, David;
> > > > >Kerstetter, Shawn; Mannam, Ram; Pakiru, Vamshidhar; Tony
> > > (E-mail); Veni
> > > > >(E-mail)
> > > > >Subject: RE: IDE for EJB2.0 development
> > > > >
> > > > >
> > > > >Real programmers use EMACS or VI. Period.
> > > > >
> > > > >http://www.pbm.com/~lindahl/real.programmers.html
> > > > >
> > > > >Mark
> > > > >
> > > > >--
> > > > >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:
> > > 
> > >
> > > --
> > > To unsubscribe, e-mail:
> > >  [EMAIL PROTECTED]>
> > > For
> > > additional commands,
> > > e-mail: 
> > >
> >
> >
> > **
> > This message, including any a

FW: build select tag using options' collection, property, and labelProperty attributes

2002-04-17 Thread Jose Casas

> Team, 
> 
> I need your help.  I'm trying to build a select tag that whose value is a
> number and display value is a string. 
> For example, 
> 
> 
> Select Your  Approver
> James Marshall
> John Clark
> 
> 
> 
> I know I have to do something like this.
> 
> 
> labelProperty="displayValue"/>
> 
> 
> I know that the property in the select tag is the value that is selected
> by the user.  What is bean, property and labelProperty in the options tag?
> Is it just a regular javabean which has idValue and displayValue as member
> variables along with the corresponding setter and getter methods?
> 
> just like this?  If it is, what do i have to do to populate the values?
> 
> 
> Public Class CollectionBean
> {
> Private int idValue=0;
>Private String displayValue="";
> 
>public void setidValue(int idValue)
>{
>this.idValue=idValue;
>}  
> 
>public int getidValue()
>{
>  return this.idValue;
>}
> 
> public void setdisplayValue(String displayValue)
>{
>this.displayValue=displayValue;
>}  
> 
>public int getdisplayValue()
>{
>  return this.displayValue;
>}
> 
>  }  
>   
> 
> }
> 
> Thanks for your help
> 
> 


**
Notice:  The area code for the Wal-Mart Bentonville General 
Office in the US has changed from 501 to 479.  Please make
sure that you are dialing 479 when making calls to any 
General Office location.

**
This email and any files transmitted with it are confidential
and intended solely for the individual or entity to 
whom they are addressed.  If you have received this email
in error destroy it immediately.
**


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




RE: multiple struts-config files

2002-04-17 Thread James Holmes

Actually the code on my website only works with struts
1.0.  This code came about before all of the changes
were made to Struts to form the 1.1 code.

Basically the code just reads multiple files and
concatenates them together in memory. Since Struts
internally stores all of the values in hashmaps you
essentially have one big config repository melded
together from all of the individual files.

-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/


--- Bill Page <[EMAIL PROTECTED]> wrote:
> I didn't see any docs on this.  Looks interesting. 
> Does it essentially
> concatenate the files into one big one.
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 17, 2002 5:27 PM
> > To: Struts Users Mailing List
> > Subject: Re: multiple struts-config files
> > 
> > 
> > 
> > I believe this is the link
> > 
> > http://www.jamesholmes.com/struts/
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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




Re: [Q] bean:define dynamically

2002-04-17 Thread Sanjay Choudhary

is there an alternative for this??

As I said earlier that I have region list box which
get populated by an arraylist of Region class. Region
class contains array list of entity

RegionEntity

Based on what user selects in Region drop down box,
Entity drop box will be populated.

I am sure people must have done this earlier.

Pls advice.

Sanjay
--- [EMAIL PROTECTED] wrote:
> 
> 
> 
> I believe that the issue here is that the
> bean:define  needs to be able to
> resolve the reference "regions["<%=
> elementNo%>"].region_ent" at compile
> time - not at run time.
> 
> I belive it literally gets a copy of the bean
> property that you are
> specifying and creates a new bean from it that it
> attaches to the page
> contect. This means that you then reference the copy
> of the Region in the
> page context - not the offset into the array of
> Regions in the initial
> bean.
> 
> Because of this behavior I believe it needs to be
> able to resolve the
> location of the object it's going to create the bean
> from at compile time.
> Not sure to be honest -
> 
> Check the DefineTag source code to be sure.  It's in
> the source tree at:
> org\apache\struts\taglib\bean\DefineTag.java
> 
> FWIW -
> Kevin
> 
> 
> 
> 
> 
> 
> Sanjay Choudhary <[EMAIL PROTECTED]> on 04/17/2002
> 04:08:19 PM
> 
> Please respond to "Struts Users Mailing List"
>   <[EMAIL PROTECTED]>
> 
> To:   Struts Users Mailing List
> <[EMAIL PROTECTED]>
> cc:
> Subject:  [Q] bean:define dynamically
> 
> 
> Hi guys,
> 
> I wish to define a bean:id as
>property="regions["<%= elementNo%>"].region_ent"
> type="java.util.ArrayList" scope="session"/>
> 
> 
> I tried giving <%= elementNo%>
>
> but it didn't work.
> 
> Is there a way to do this?
> 
> FYI,
> where RegionForm has attribute
> 
> java.util.ArrayList regions;
> String elementNo;  // get populated on selection
> default="0"
> 
> regions is a list of class type Region.
> 
> Region class has attribute
> java.util.ArrayList region_ent;
> 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> 
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> 
> 
>
---
> This e-mail message (including attachments, if any)
> is intended for the use
> of the individual or entity to which it is addressed
> and may contain
> information that is privileged, proprietary ,
> confidential and exempt from
> disclosure.  If you are not the intended recipient,
> you are notified that
> any dissemination, distribution or copying of this
> communication is
> strictly prohibited.  If you have received this
> communication in error,
> please notify the sender and erase this e-mail
> message immediately.
>
---
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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




RE: [ANN] First two beta chapters of O'Reilly Struts book are available

2002-04-17 Thread Galbreath, Mark

http://www.theserverside.com/resources/strutsreview.jsp

Mark

-Original Message-
From: Honman Lee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 6:03 PM
To: Struts Users Mailing List
Subject: RE: [ANN] First two beta chapters of O'Reilly Struts book are
available



Where on the site is it available?  Thanks for putting it out there.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 2:46 PM
To: [EMAIL PROTECTED]
Subject: [ANN] First two beta chapters of O'Reilly Struts book are
available


I wanted to let everyone know that the first two beta chapters from my
O'Reilly Struts book are available for download from
http://www.theserverside.com. You have to register an account to be able to
download the chapters. This is their policy, not mine. I believe this is
true even if you wanted to join the discussion group or post a question.

The chapters have not been through a formal editing process yet. Therefore,
you will find typos, run-ons, fragments, and various other incorrect usages
of the English language. All of the chapters will eventually go through a
formal review by individuals that spent four or more years of their lives
learning how to construct a proper sentence, for which I have yet to figure
out.

 The purpose of providing the chapters so early is twofold. The first reason
is to get the material to the community as quickly as possible. There have
been a multitude of new features added to the framework for 1.1, and
hopefully the information within the book will be valuable to the Struts
developer community. Obviously, I incur great peril in doing this, in the
off chance that I stink as a writer. Hopefully, you won't find that to be
true. But in either case, don't worry; everything will be edited before
being published. 

The other reason to allow the chapters to be made public before they are
final is to ask anyone that cares to participate, to help out in the editing
process. The chapters are in MS Word format, with the track changes option
on. As you type in the document, your text should appear in a different
color, which allows me to see your recommended changes. Once you have
completed any changes, suggestions, or just general comments on how good the
chapter is (I hope), just email a copy of the resulting document to:

[EMAIL PROTECTED]

Feel free to correct any general language problems that you find. More
importantly however, if you see any confusing sections, technical mistakes,
or would like me to add something that is not there, that would be very
beneficial. Where appropriate, I've also included the source code for the
chapter within the ZIP file that you download. Feel free to view it, modify
it, or reuse it, as you need. In some cases, entire web applications are
included, along with ant build scripts. If you detect problems or issues
there, feel free to mention those in the document as well.

I will incorporate all of the changes back into the master document. You
might ask, "What do I get for doing this?" This is the great thing about
being an editor (ask any of them), you get the satisfaction of knowing you
helped to make a published work better. Of course, you also get to keep the
word documents for reference, as long as you promise to buy a copy of the
book, (Just kidding on that part!) and everyone will get a collective thank
you in the acknowledgments of the book. Unfortunately, I won't be able to
thank everyone personally, but if anyone goes beyond the call of duty, I
will add a personal thank you. Space is limited on this page, I have a wife
and three boys to thank, or they will kick me out of the house.

I will make new chapters available every few weeks on the site, and this
will go on until all of the chapters have been edited and sent off to the
printer. There's no real schedule right now as to which chapters will be
available when. I have to be careful that it doesn't impact my overall
schedule, which I must hit. I have received a great deal of input from
everyone about which chapters are the most important to them and I will try
to follow that order, as long as it makes sense from the standpoint of the
table of contents. There are dependencies in writing books, just as there
are in software.

I hope everyone gets some value out of this. It will definitely make the
book much, much, better than it would be on its own.

Thanks,

Chuck

--
Sent via jApache.org

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




RE: [ANN] First two beta chapters of O'Reilly Struts book are available

2002-04-17 Thread Honman Lee


Where on the site is it available?  Thanks for putting it out there.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 2:46 PM
To: [EMAIL PROTECTED]
Subject: [ANN] First two beta chapters of O'Reilly Struts book are
available


I wanted to let everyone know that the first two beta chapters from my O'Reilly Struts 
book are available for download from http://www.theserverside.com. You have to 
register an account to be able to download the chapters. This is their policy, not 
mine. I believe this is true even if you wanted to join the discussion group or post a 
question.

The chapters have not been through a formal editing process yet. Therefore, you will 
find typos, run-ons, fragments, and various other incorrect usages of the English 
language. All of the chapters will eventually go through a formal review by 
individuals that spent four or more years of their lives learning how to construct a 
proper sentence, for which I have yet to figure out.

 The purpose of providing the chapters so early is twofold. The first reason is to get 
the material to the community as quickly as possible. There have been a multitude of 
new features added to the framework for 1.1, and hopefully the information within the 
book will be valuable to the Struts developer community. Obviously, I incur great 
peril in doing this, in the off chance that I stink as a writer. Hopefully, you won't 
find that to be true. But in either case, don't worry; everything will be edited 
before being published. 

The other reason to allow the chapters to be made public before they are final is to 
ask anyone that cares to participate, to help out in the editing process. The chapters 
are in MS Word format, with the track changes option on. As you type in the document, 
your text should appear in a different color, which allows me to see your recommended 
changes. Once you have completed any changes, suggestions, or just general comments on 
how good the chapter is (I hope), just email a copy of the resulting document to:

[EMAIL PROTECTED]

Feel free to correct any general language problems that you find. More importantly 
however, if you see any confusing sections, technical mistakes, or would like me to 
add something that is not there, that would be very beneficial. Where appropriate, 
I've also included the source code for the chapter within the ZIP file that you 
download. Feel free to view it, modify it, or reuse it, as you need. In some cases, 
entire web applications are included, along with ant build scripts. If you detect 
problems or issues there, feel free to mention those in the document as well.

I will incorporate all of the changes back into the master document. You might ask, 
"What do I get for doing this?" This is the great thing about being an editor (ask any 
of them), you get the satisfaction of knowing you helped to make a published work 
better. Of course, you also get to keep the word documents for reference, as long as 
you promise to buy a copy of the book, (Just kidding on that part!) and everyone will 
get a collective thank you in the acknowledgments of the book. Unfortunately, I won't 
be able to thank everyone personally, but if anyone goes beyond the call of duty, I 
will add a personal thank you. Space is limited on this page, I have a wife and three 
boys to thank, or they will kick me out of the house.

I will make new chapters available every few weeks on the site, and this will go on 
until all of the chapters have been edited and sent off to the printer. There's no 
real schedule right now as to which chapters will be available when. I have to be 
careful that it doesn't impact my overall schedule, which I must hit. I have received 
a great deal of input from everyone about which chapters are the most important to 
them and I will try to follow that order, as long as it makes sense from the 
standpoint of the table of contents. There are dependencies in writing books, just as 
there are in software.

I hope everyone gets some value out of this. It will definitely make the book much, 
much, better than it would be on its own.

Thanks,

Chuck

--
Sent via jApache.org

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


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




[ANN] First two beta chapters of O'Reilly Struts book are available

2002-04-17 Thread struts-user

I wanted to let everyone know that the first two beta chapters from my O’Reilly Struts 
book are available for download from http://www.theserverside.com. You have to 
register an account to be able to download the chapters. This is their policy, not 
mine. I believe this is true even if you wanted to join the discussion group or post a 
question.

The chapters have not been through a formal editing process yet. Therefore, you will 
find typos, run-ons, fragments, and various other incorrect usages of the English 
language. All of the chapters will eventually go through a formal review by 
individuals that spent four or more years of their lives learning how to construct a 
proper sentence, for which I have yet to figure out.

 The purpose of providing the chapters so early is twofold. The first reason is to get 
the material to the community as quickly as possible. There have been a multitude of 
new features added to the framework for 1.1, and hopefully the information within the 
book will be valuable to the Struts developer community. Obviously, I incur great 
peril in doing this, in the off chance that I stink as a writer. Hopefully, you won’t 
find that to be true. But in either case, don’t worry; everything will be edited 
before being published. 

The other reason to allow the chapters to be made public before they are final is to 
ask anyone that cares to participate, to help out in the editing process. The chapters 
are in MS Word format, with the track changes option on. As you type in the document, 
your text should appear in a different color, which allows me to see your recommended 
changes. Once you have completed any changes, suggestions, or just general comments on 
how good the chapter is (I hope), just email a copy of the resulting document to:

[EMAIL PROTECTED]

Feel free to correct any general language problems that you find. More importantly 
however, if you see any confusing sections, technical mistakes, or would like me to 
add something that is not there, that would be very beneficial. Where appropriate, 
I’ve also included the source code for the chapter within the ZIP file that you 
download. Feel free to view it, modify it, or reuse it, as you need. In some cases, 
entire web applications are included, along with ant build scripts. If you detect 
problems or issues there, feel free to mention those in the document as well.

I will incorporate all of the changes back into the master document. You might ask, 
“What do I get for doing this?” This is the great thing about being an editor (ask any 
of them), you get the satisfaction of knowing you helped to make a published work 
better. Of course, you also get to keep the word documents for reference, as long as 
you promise to buy a copy of the book, (Just kidding on that part!) and everyone will 
get a collective thank you in the acknowledgments of the book. Unfortunately, I won’t 
be able to thank everyone personally, but if anyone goes beyond the call of duty, I 
will add a personal thank you. Space is limited on this page, I have a wife and three 
boys to thank, or they will kick me out of the house.

I will make new chapters available every few weeks on the site, and this will go on 
until all of the chapters have been edited and sent off to the printer. There’s no 
real schedule right now as to which chapters will be available when. I have to be 
careful that it doesn’t impact my overall schedule, which I must hit. I have received 
a great deal of input from everyone about which chapters are the most important to 
them and I will try to follow that order, as long as it makes sense from the 
standpoint of the table of contents. There are dependencies in writing books, just as 
there are in software.

I hope everyone gets some value out of this. It will definitely make the book much, 
much, better than it would be on its own.

Thanks,

Chuck

--
Sent via jApache.org

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




RE: IBM has struts counterpart?

2002-04-17 Thread Galbreath, Mark

As Bill Gates said, "64k ought to be enough for anybody."

-Original Message-
From: Robert Williams [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 4:43 PM
To: Struts Users Mailing List
Subject: Re: IBM has struts counterpart?


There are some interesting ideas here and it shows that there is more than
one way to solve the problem.  HOWEVER, the .jar file size is 63K!  What
gives?  How much can you squeeze into a file that size?

bob

- Original Message -
From: "Prekezes, Ioannis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 6:51 AM
Subject: RE: IBM has struts counterpart?


I have not seen that but I have impression, that IBM for the moment favours
Struts.
See :http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg246134.pdf   in
Chapter 12
also struts is included in the WSAD "Auction" example application.

Y.

> -Original Message-
> From: Will Spies/Towers Perrin [SMTP:[EMAIL PROTECTED]]
> Sent: ?e?t??a, 15 ?p?? 2002 11:00 ??
> To: [EMAIL PROTECTED]
> Subject: IBM has struts counterpart?
>
>
> Anyone see this and have any comments -->
> http://alphaworks.ibm.com/tech/servletmanager
>
> I'm a little curious. Comments I've seen so far in how it compares to
> Struts is it has a nice workflow mechanism built in. Whadda ya think?
>
>
> ___
> Will Spies
> Towers Perrin
> Phone: (215)246-7145
> e-mail: [EMAIL PROTECTED]
>

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




RE: IDE for EJB2.0 development

2002-04-17 Thread Galbreath, Mark

Well, I'm sure your tool is bigger than mine.

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 4:03 PM
To: Struts Users Mailing List
Subject: RE: IDE for EJB2.0 development


Actually, its a 'my tool is better than your lack of one' rant :-)

JM

> -Original Message-
> From: Schneider, Eric [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 3:50 PM
> To: 'Struts Users Mailing List'
> Subject: RE: IDE for EJB2.0 development
> 
> 
> I'm enjoying the 'my tool is better than your tool' rant.
> 
> Your talk of assembly line workers reminds me of analogies I've read in
> engineering books.  Many have references to the industrial revolution and
> how productivity and efficiency skyrocketed with the use of 
> assembly lines.
> But I guess that's only true for uninteresting factory crap.
> 
> e.
> 
> > -Original Message-
> > From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 17, 2002 3:24 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: IDE for EJB2.0 development
> > 
> > 
> > A more appropriate analogy would be hand-made furniture vs. 
> > the crap you buy
> > from a factory.  And carpenters are much more interesting people than
> > assembly-line workers. (hint-hint)
> > 
> > Mark
> > 
> > -Original Message-
> > From: James Mitchell [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 17, 2002 3:15 PM
> > To: Struts Users Mailing List
> > Subject: RE: IDE for EJB2.0 development
> > 
> > 
> > No no, I have to agree with Mark.  Real programmers use text 
> > editors just
> > like "Real" construction workers use pitch forks and shovels 
> > and not those
> > fancy bull dozers and front-end loaders.
> > 
> > What happened to the good-ole days where it took a year and 
> > half to build a
> > house!!!
> > 
> > JM
> > 
> > 
> > 
> > 
> > 
> > 
> > > -Original Message-
> > > From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, April 17, 2002 1:35 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: IDE for EJB2.0 development
> > >
> > >
> > > I have to go there  even if it isn't Friday! :-)
> > >
> > > REAL programmers use vi. EMACS is an operating system trying to
> > > pass itself off as a text editor (M ... LISP as your
> > > scripting language!).
> > >
> > > As an aside, even a relevent aside, I have been tinkering with
> > > jEdit (http://www.jedit.org) and have found it to be a very good
> > > general text editor. It has a growing collection of plugins that
> > > utilise such goodies as syntax highlighting, ant and refactoring
> > > support. Check it out!
> > >
> > > Simon
> > >
> > > -
> > > Simon P. Chappell [EMAIL PROTECTED]
> > > Java Programming Specialist  www.landsend.com
> > > Lands' End, Inc.   (608) 935-4526
> > >
> > >
> > > >-Original Message-
> > > >From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> > > >Sent: Wednesday, April 17, 2002 11:53 AM
> > > >To: 'A mailing list for Java(tm) 2 Platform, Enterprise Edition'
> > > >Cc: Struts (E-mail); Bartles, Todd; Bronner, Bryon; Harter, David;
> > > >Kerstetter, Shawn; Mannam, Ram; Pakiru, Vamshidhar; Tony 
> > (E-mail); Veni
> > > >(E-mail)
> > > >Subject: RE: IDE for EJB2.0 development
> > > >
> > > >
> > > >Real programmers use EMACS or VI. Period.
> > > >
> > > >http://www.pbm.com/~lindahl/real.programmers.html
> > > >
> > > >Mark
> > > >
> > > >--
> > > >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:
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> >  [EMAIL PROTECTED]>
> > For 
> > additional commands, 
> > e-mail: 
> > 
> 
> 
> **
> This message, including any attachments, contains confidential 
> information intended for a specific individual and purpose, and 
> is protected by law.  If you are not the intended recipient, 
> please contact sender immediately by reply e-mail and destroy all 
> copies.  You are hereby notified that any disclosure, copying, or 
> distribution of this message, or the taking of any action based 
> on it, is strictly prohibited.
> TIAA-CREF
> **
> 
> --
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
> 
> 

--
To unsubscribe, e-mail:

For add

RE: multiple struts-config files

2002-04-17 Thread Bill Page

I didn't see any docs on this.  Looks interesting.  Does it essentially
concatenate the files into one big one.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 5:27 PM
> To: Struts Users Mailing List
> Subject: Re: multiple struts-config files
> 
> 
> 
> I believe this is the link
> 
> http://www.jamesholmes.com/struts/
> 
> 
> 
> 
> 
> 
> 

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




Re: multiple struts-config files

2002-04-17 Thread Raffy_Lata


I believe this is the link

http://www.jamesholmes.com/struts/






Corneliu Rachieru <[EMAIL PROTECTED]> on 04/17/2002 02:14:20 PM

Please respond to "Struts Users Mailing List"
  <[EMAIL PROTECTED]>

To:   "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
cc:
Subject:  multiple struts-config files


Hello,

I seem to recall that struts 1.1b supports multiple struts config files,
and
i also recall a discussion on the mailing list about it, but i can't seem
to
find it anymore.

Does anyone has any bookmarks to such discussions or to any relevant
documentation/examples that might shed some light on how multiple
struts-config files are implemented ?

Thank you,
 Corneliu



these are my opinions... and i could be wrong...

: Corneliu Rachieru
: Java/J2ee UI designer
: Espial Inc.  espial.com
: (613)230-4770 x1234
: [EMAIL PROTECTED]






**
Please Note:
The information in this E-mail message, and any files transmitted
with it, is confidential and may be legally privileged.  It is
intended only for the use of the individual(s) named above.  If you
are the intended recipient, be aware that your use of any confidential
or personal information may be restricted by state and federal
privacy laws.  If you, the reader of this message, are not the
intended recipient, you are hereby notified that you should not
further disseminate, distribute, or forward this E-mail message.
If you have received this E-mail in error, please notify the sender
and delete the material from any computer.  Thank you.
**



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




multiple struts-config files

2002-04-17 Thread Corneliu Rachieru

Hello,

I seem to recall that struts 1.1b supports multiple struts config files, and
i also recall a discussion on the mailing list about it, but i can't seem to
find it anymore.

Does anyone has any bookmarks to such discussions or to any relevant
documentation/examples that might shed some light on how multiple
struts-config files are implemented ?

Thank you,
 Corneliu



these are my opinions... and i could be wrong...

: Corneliu Rachieru
: Java/J2ee UI designer
: Espial Inc.  espial.com
: (613)230-4770 x1234
: [EMAIL PROTECTED]



Re: ActionServlet and NoClassDefFoundErrors

2002-04-17 Thread Kevin . Bedell




Forget the system classpath.

Are the classes available:

 - in a jar file such as:
webapp\myWebApp\WEB-INF\lib\MyMQClasses.jar
 - or down an exploded path such as:
webapp\myWebApp\WEB-INF\com\path\to\mqclassses

I'd check the specifics how your app server manages CLASSPATH, but I'll bet
if you put the 3rd party files in one of the above two areas, it will work.

FWIW _
Kevin






"Struts Developer" <[EMAIL PROTECTED]> on 04/17/2002 04:48:04
PM

Please respond to "Struts Users Mailing List"
  <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:
Subject:  ActionServlet and NoClassDefFoundErrors


Greetings All,

This is probably a dumb question, and being this close to Friday will
generate short flippant answers, but here goes anyway…

I have a need to communicate via IBM MQSeries to a legacy application. This
application has a listener that monitors the queue and posts events in the
legacy application based on messages it reads from said queue.

I have successfully tested putting messages on the queue from a java class.
However when I try to call my MessageManager class from my Action class all
I ever get is a NoClassDefFoundError.

The MessageManager class imports all the necessary MQ packages, and it also
catches all MQ exceptions and throws a “MessageManagerException” instead. I
have a test driver that calls this class (independent of my ActionServlet),
and I can successfully call it all day long.

However, as soon as I try to make the call from my Action subclass I get
the
NoClassDefFoundError.

Why, when I call my MessageManager from my test class, does it work, but
when I call it from my Action class it fails?

If anyone has any ideas please let me know. The source is posted below.
Thanks in advance,
Mark N.


ForteMessageManager class

package dhs.vcm.forte.messaging;


import com.ibm.mq.*;


/*  There are three jar files required in the workspace
 com.ibm.mq.jar
 com.ibm.mq.iiop.jar
 com.ibm.mqbind.jar
 These should all be in the java/lib directory where MQ client is
installed.
 The mqbind.jar file isn't used except for class definitions and was
only
 found in the 5.2 installation of MQ Client.
*/

//- ForteMessageManager
public class ForteMessageManager {



//- putMessage
 public static void putMessage(String msg)
  throws ForteMessageException {


  try {

   System.out.println("ForteMessageManager.putMessage ... about
to establish
Connection pool") ;
   ForteMessageConnectionPool messagePool = new
ForteMessageConnectionPool();

   // open the queue
   System.out.println("ForteMessageManager.putMessage ... about
to open
queue") ;
   MQQueue myQueue = messagePool.getConnection(1);

   // Define a simple MQSeries message, and put message text
   System.out.println("ForteMessageManager.putMessage ... about
to define
message ") ;
   MQMessage myMessage = new MQMessage();
   myMessage.writeUTF(msg);

   // specify the message options...
   System.out.println("ForteMessageManager.putMessage ... about
to specify
message options") ;
   MQPutMessageOptions pmo = new MQPutMessageOptions();  //
accept the
defaults, use MQPMO_DEFAULT constant

   // put the message on the queue
   System.out.println("ForteMessageManager.putMessage ... about
to place
message on queue") ;
   myQueue.put(myMessage,pmo);

   // Close the queue
   System.out.println("ForteMessageManager.putMessage ... about
to close the
queue") ;
   messagePool.releaseConnection(myQueue);


  } catch (ForteMessageException ex) {
  } catch (MQException ex) {
   ForteMessageException newEx = new
ForteMessageException(ex.getMessage());
   newEx.setCompletionCode(ex.completionCode);
   newEx.setReasonCode(ex.reasonCode);
   throw newEx;
  } catch (java.io.IOException ex) {
   throw new ForteMessageException(ex.getMessage());
  }


 }



//- getMessage
 public static String getMessage()
  throws ForteMessageException {


  String msgText = null;

  try {

   ForteMessageConnectionPool messagePool = new
ForteMessageConnectionPool();

   // open the queue
   MQQueue myQueue = messagePool.getConnection(1);

   // Define a MQSeries message buffer to receive the message
into..
   MQMessage retrievedMessage = new MQMessage();

  

Re: [Q] bean:define dynamically

2002-04-17 Thread Kevin . Bedell




I believe that the issue here is that the bean:define  needs to be able to
resolve the reference "regions["<%= elementNo%>"].region_ent" at compile
time - not at run time.

I belive it literally gets a copy of the bean property that you are
specifying and creates a new bean from it that it attaches to the page
contect. This means that you then reference the copy of the Region in the
page context - not the offset into the array of Regions in the initial
bean.

Because of this behavior I believe it needs to be able to resolve the
location of the object it's going to create the bean from at compile time.
Not sure to be honest -

Check the DefineTag source code to be sure.  It's in the source tree at:
org\apache\struts\taglib\bean\DefineTag.java

FWIW -
Kevin






Sanjay Choudhary <[EMAIL PROTECTED]> on 04/17/2002 04:08:19 PM

Please respond to "Struts Users Mailing List"
  <[EMAIL PROTECTED]>

To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  [Q] bean:define dynamically


Hi guys,

I wish to define a bean:id as
  "].region_ent"
type="java.util.ArrayList" scope="session"/>


I tried giving <%= elementNo%>
   
but it didn't work.

Is there a way to do this?

FYI,
where RegionForm has attribute

java.util.ArrayList regions;
String elementNo;  // get populated on selection
default="0"

regions is a list of class type Region.

Region class has attribute
java.util.ArrayList region_ent;



__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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







---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---


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




ActionServlet and NoClassDefFoundErrors

2002-04-17 Thread Struts Developer

Greetings All,

This is probably a dumb question, and being this close to Friday will 
generate short flippant answers, but here goes anyway…

I have a need to communicate via IBM MQSeries to a legacy application. This 
application has a listener that monitors the queue and posts events in the 
legacy application based on messages it reads from said queue.

I have successfully tested putting messages on the queue from a java class. 
However when I try to call my MessageManager class from my Action class all 
I ever get is a NoClassDefFoundError.

The MessageManager class imports all the necessary MQ packages, and it also 
catches all MQ exceptions and throws a “MessageManagerException” instead. I 
have a test driver that calls this class (independent of my ActionServlet), 
and I can successfully call it all day long.

However, as soon as I try to make the call from my Action subclass I get the 
NoClassDefFoundError.

Why, when I call my MessageManager from my test class, does it work, but 
when I call it from my Action class it fails?

If anyone has any ideas please let me know. The source is posted below.
Thanks in advance,
Mark N.


ForteMessageManager class

package dhs.vcm.forte.messaging;


import com.ibm.mq.*;


/*  There are three jar files required in the workspace
com.ibm.mq.jar
com.ibm.mq.iiop.jar
com.ibm.mqbind.jar
These should all be in the java/lib directory where MQ client is installed.
The mqbind.jar file isn't used except for class definitions and was only
found in the 5.2 installation of MQ Client.
*/

//- ForteMessageManager
public class ForteMessageManager {



//- putMessage
public static void putMessage(String msg)
throws ForteMessageException {


try {

System.out.println("ForteMessageManager.putMessage ... about 
to establish 
Connection pool") ;
ForteMessageConnectionPool messagePool = new 
ForteMessageConnectionPool();

// open the queue
System.out.println("ForteMessageManager.putMessage ... about 
to open 
queue") ;
MQQueue myQueue = messagePool.getConnection(1);

// Define a simple MQSeries message, and put message text
System.out.println("ForteMessageManager.putMessage ... about 
to define 
message ") ;
MQMessage myMessage = new MQMessage();
myMessage.writeUTF(msg);

// specify the message options...
System.out.println("ForteMessageManager.putMessage ... about 
to specify 
message options") ;
MQPutMessageOptions pmo = new MQPutMessageOptions();  // 
accept the 
defaults, use MQPMO_DEFAULT constant

// put the message on the queue
System.out.println("ForteMessageManager.putMessage ... about 
to place 
message on queue") ;
myQueue.put(myMessage,pmo);

// Close the queue
System.out.println("ForteMessageManager.putMessage ... about 
to close the 
queue") ;
messagePool.releaseConnection(myQueue);


} catch (ForteMessageException ex) {
} catch (MQException ex) {
ForteMessageException newEx = new 
ForteMessageException(ex.getMessage());
newEx.setCompletionCode(ex.completionCode);
newEx.setReasonCode(ex.reasonCode);
throw newEx;
} catch (java.io.IOException ex) {
throw new ForteMessageException(ex.getMessage());
}


}



//- getMessage
public static String getMessage()
throws ForteMessageException {


String msgText = null;

try {

ForteMessageConnectionPool messagePool = new 
ForteMessageConnectionPool();

// open the queue
MQQueue myQueue = messagePool.getConnection(1);

// Define a MQSeries message buffer to receive the message 
into..
MQMessage retrievedMessage = new MQMessage();

// Set the get message options..
MQGetMessageOptions gmo = new MQGetMessageOptions();  // 
accept the 
defaults, use MQGMO_DEFAULT constant

// get the message off the queue..
myQueue.get(retrievedMessage, gmo);

// set the return value
msgText = retrievedMessage.readUTF();

  

Re: IBM has struts counterpart?

2002-04-17 Thread Robert Williams

There are some interesting ideas here and it shows that there is more than
one way to solve the problem.  HOWEVER, the .jar file size is 63K!  What
gives?  How much can you squeeze into a file that size?

bob

- Original Message -
From: "Prekezes, Ioannis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 6:51 AM
Subject: RE: IBM has struts counterpart?


I have not seen that but I have impression, that IBM for the moment favours
Struts.
See :http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg246134.pdf   in
Chapter 12
also struts is included in the WSAD "Auction" example application.

Y.

> -Original Message-
> From: Will Spies/Towers Perrin [SMTP:[EMAIL PROTECTED]]
> Sent: &Dgr;&egr;&ugr;&tgr;&eacgr;&rgr;&agr;, 15 &Agr;&pgr;&rgr;&igr;&lgr;&iacgr;&ogr;&ugr; 2002 11:00 &mgr;&mgr;
> To: [EMAIL PROTECTED]
> Subject: IBM has struts counterpart?
>
>
> Anyone see this and have any comments -->
> http://alphaworks.ibm.com/tech/servletmanager
>
> I'm a little curious. Comments I've seen so far in how it compares to
> Struts is it has a nice workflow mechanism built in. Whadda ya think?
>
>
> ___
> Will Spies
> Towers Perrin
> Phone: (215)246-7145
> e-mail: [EMAIL PROTECTED]
>

--
To unsubscribe, e-mail:

For additional commands, e-mail:




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




RE: IDE for EJB2.0 development

2002-04-17 Thread Sandeep Takhar

funny that James Gosling, or one of the gods at sun
made a comment about how ide's were useless and how
all good developers used emacs.

i probably took him out of context, but I remember
that he got into a lot of trouble over it...  i also
think that the general gist of the message was as I
mentioned (or maybe it was that ides were built for
bad developers?).

hopefully I got the right person, it may have been
Bill Joy, but anyways it was someone I consider
famous...

interesting comment though i still use ide's as
long as I have the resources...

i don't consider myself to be the most productive
developer and I'm not "old-school"

whatever gets the job done.

sandeep
--- "Schneider, Eric" <[EMAIL PROTECTED]>
wrote:
> I'm enjoying the 'my tool is better than your tool'
> rant.
> 
> Your talk of assembly line workers reminds me of
> analogies I've read in
> engineering books.  Many have references to the
> industrial revolution and
> how productivity and efficiency skyrocketed with the
> use of assembly lines.
> But I guess that's only true for uninteresting
> factory crap.
> 
> e.
> 
> > -Original Message-
> > From: Galbreath, Mark
> [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 17, 2002 3:24 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: IDE for EJB2.0 development
> > 
> > 
> > A more appropriate analogy would be hand-made
> furniture vs. 
> > the crap you buy
> > from a factory.  And carpenters are much more
> interesting people than
> > assembly-line workers. (hint-hint)
> > 
> > Mark
> > 
> > -Original Message-
> > From: James Mitchell
> [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 17, 2002 3:15 PM
> > To: Struts Users Mailing List
> > Subject: RE: IDE for EJB2.0 development
> > 
> > 
> > No no, I have to agree with Mark.  Real
> programmers use text 
> > editors just
> > like "Real" construction workers use pitch forks
> and shovels 
> > and not those
> > fancy bull dozers and front-end loaders.
> > 
> > What happened to the good-ole days where it took a
> year and 
> > half to build a
> > house!!!
> > 
> > JM
> > 
> > 
> > 
> > 
> > 
> > 
> > > -Original Message-
> > > From: Chappell, Simon P
> [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, April 17, 2002 1:35 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: IDE for EJB2.0 development
> > >
> > >
> > > I have to go there  even if it isn't Friday!
> :-)
> > >
> > > REAL programmers use vi. EMACS is an operating
> system trying to
> > > pass itself off as a text editor (M ... LISP
> as your
> > > scripting language!).
> > >
> > > As an aside, even a relevent aside, I have been
> tinkering with
> > > jEdit (http://www.jedit.org) and have found it
> to be a very good
> > > general text editor. It has a growing collection
> of plugins that
> > > utilise such goodies as syntax highlighting, ant
> and refactoring
> > > support. Check it out!
> > >
> > > Simon
> > >
> > >
>
-
> > > Simon P. Chappell
> [EMAIL PROTECTED]
> > > Java Programming Specialist 
> www.landsend.com
> > > Lands' End, Inc.
>   (608) 935-4526
> > >
> > >
> > > >-Original Message-
> > > >From: Galbreath, Mark
> [mailto:[EMAIL PROTECTED]]
> > > >Sent: Wednesday, April 17, 2002 11:53 AM
> > > >To: 'A mailing list for Java(tm) 2 Platform,
> Enterprise Edition'
> > > >Cc: Struts (E-mail); Bartles, Todd; Bronner,
> Bryon; Harter, David;
> > > >Kerstetter, Shawn; Mannam, Ram; Pakiru,
> Vamshidhar; Tony 
> > (E-mail); Veni
> > > >(E-mail)
> > > >Subject: RE: IDE for EJB2.0 development
> > > >
> > > >
> > > >Real programmers use EMACS or VI. Period.
> > > >
> > >
> >http://www.pbm.com/~lindahl/real.programmers.html
> > > >
> > > >Mark
> > > >
> > > >--
> > > >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:
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > 
> [EMAIL PROTECTED]>
> > For 
> > additional commands, 
> > e-mail:
> 
> > 
> 
> 
>
**
> This message, including any attachments, contains
> confidential information intended for a specific
> individual and purpose, and is protected by law.  If
> you are not the intended recipient, please contact
> sender immediately by reply e-mail and destroy all
> copies.  You are hereby notified that any
> disclosure, copying, or distribution of this
> message, or the taking of any action based on it, is
> strictly prohibited.

RE: [Q] select : Option - Urgent Help required.

2002-04-17 Thread dhay



We always use the options tag -

eg if I have a collection of beans with getters and setters for label and value
attributes in my form bean, I have the following in jsp:



   


1.1 also has a new tag to avoid the bean:define, but we haven't migrated yet.

Cheers,

Dave





"Galbreath, Mark" <[EMAIL PROTECTED]> on 04/17/2002
09:58:51 AM

Please respond to "Struts Users Mailing List"
  <[EMAIL PROTECTED]>

To:   "'Struts Users Mailing List'"
  <[EMAIL PROTECTED]>
cc:(bcc: David Hay/Lex/Lexmark)
Subject:  RE: [Q] select : Option - Urgent Help required.



No one on my team has been able to get the Collections iterator to work for
 so we are doing as I posted.  If you have some insight into
getting it to work, I'm all eyes!

Also, the iterate name should not be enclosed in JSP session variable
delimiters unless a method is being called to get the value.

Mark

-Original Message-
From: Stuart Jameson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 9:34 AM

You could use the  tag

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: 17 April 2002 13:45

I'm not totally clear on your Region or bean attributes, but the idea is
something like:

// bean property to set/get

// List to iterate, type is fully-qualified path,
// id is arbitrary, property is List element
  
// set the option value

// set the option label
  

  


Mark

-Original Message-
From: Sanjay Choudhary [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 8:23 AM

> Need help with select option
>
> I have a formBean called RegionForm
>
> RegionForm contain attribute selectedregion:String
> and
> regions:ArrayList.
>
> regions:ArrayList is collection of object of class
> Region.
>
> Region class has attributes id and String.
>
> I wish to display on the form select option in the
> drop down box and populate it with all the items in
> the regions:Arraylist and display id attribute.
> Selected value should populate selectedregion:String
> in RegionForm.
>
> I tried nested:select and html:select but no
> success.

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








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




RE: IDE for EJB2.0 development

2002-04-17 Thread Kevin . Bedell




Yes productivity skyrocketed.

They tied workeds to the assembly lines and had them mindlessly churning
out parts 12 hours a day 7 days a week.

Gosh - I long for those days...

Still using emacs,

FWIW -
Kevin





"Schneider, Eric" <[EMAIL PROTECTED]> on 04/17/2002 03:50:10 PM

Please respond to "Struts Users Mailing List"
  <[EMAIL PROTECTED]>

To:   "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
cc:
Subject:  RE: IDE for EJB2.0 development


I'm enjoying the 'my tool is better than your tool' rant.

Your talk of assembly line workers reminds me of analogies I've read in
engineering books.  Many have references to the industrial revolution and
how productivity and efficiency skyrocketed with the use of assembly lines.
But I guess that's only true for uninteresting factory crap.

e.

> -Original Message-
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 3:24 PM
> To: 'Struts Users Mailing List'
> Subject: RE: IDE for EJB2.0 development
>
>
> A more appropriate analogy would be hand-made furniture vs.
> the crap you buy
> from a factory.  And carpenters are much more interesting people than
> assembly-line workers. (hint-hint)
>
> Mark
>
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 3:15 PM
> To: Struts Users Mailing List
> Subject: RE: IDE for EJB2.0 development
>
>
> No no, I have to agree with Mark.  Real programmers use text
> editors just
> like "Real" construction workers use pitch forks and shovels
> and not those
> fancy bull dozers and front-end loaders.
>
> What happened to the good-ole days where it took a year and
> half to build a
> house!!!
>
> JM
>
>
>
>
>
>
> > -Original Message-
> > From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 17, 2002 1:35 PM
> > To: Struts Users Mailing List
> > Subject: RE: IDE for EJB2.0 development
> >
> >
> > I have to go there  even if it isn't Friday! :-)
> >
> > REAL programmers use vi. EMACS is an operating system trying to
> > pass itself off as a text editor (M ... LISP as your
> > scripting language!).
> >
> > As an aside, even a relevent aside, I have been tinkering with
> > jEdit (http://www.jedit.org) and have found it to be a very good
> > general text editor. It has a growing collection of plugins that
> > utilise such goodies as syntax highlighting, ant and refactoring
> > support. Check it out!
> >
> > Simon
> >
> > -
> > Simon P. Chappell [EMAIL PROTECTED]
> > Java Programming Specialist  www.landsend.com
> > Lands' End, Inc.   (608) 935-4526
> >
> >
> > >-Original Message-
> > >From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> > >Sent: Wednesday, April 17, 2002 11:53 AM
> > >To: 'A mailing list for Java(tm) 2 Platform, Enterprise Edition'
> > >Cc: Struts (E-mail); Bartles, Todd; Bronner, Bryon; Harter, David;
> > >Kerstetter, Shawn; Mannam, Ram; Pakiru, Vamshidhar; Tony
> (E-mail); Veni
> > >(E-mail)
> > >Subject: RE: IDE for EJB2.0 development
> > >
> > >
> > >Real programmers use EMACS or VI. Period.
> > >
> > >http://www.pbm.com/~lindahl/real.programmers.html
> > >
> > >Mark
> > >
> > >--
> > >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:
> 
>
> --
> To unsubscribe, e-mail:
>  [EMAIL PROTECTED]>
> For
> additional commands,
> e-mail: 
>


**
This message, including any attachments, contains confidential information
intended for a specific individual and purpose, and is protected by law.
If you are not the intended recipient, please contact sender immediately by
reply e-mail and destroy all copies.  You are hereby notified that any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.
TIAA-CREF
**

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







---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this commun

RE: employeelist Applicatiion

2002-04-17 Thread Singh, Sandeep
Title: RE: employeelist Applicatiion



Ranjan
Done 
precisely as you have suggested .getting the same Missing message for key 
index.title 
Attach is the 
files used
 
Thanks
 
 
 

  -Original Message-From: Pruthee, Ranjan 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, April 17, 2002 3:17 
  PMTo: Struts Users Mailing ListSubject: RE: employeelist 
  Applicatiion
  I 
  have modified ur default engine file. Rename it to "default.servlet_engine" 
  and use it. I am assuming ur directory structure is - if not then copy them to 
  the directory structure mentioned below-
   
  employeelist
  |
  |---servlets (copy employeelist.webapp here)
  |    |
  |    |__web_inf ( *.xml files here)
  |
  |---web (copy all ur jsps here)
      |
      |__web_inf (copy all ur tlds . Struts 
  specific)
   
  Let 
  me know if it works..
   
  -R
   
  -Original Message-From: Singh, Sandeep 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, April 17, 2002 12:10 
  PMTo: 'Struts Users Mailing List'Subject: RE: 
  employeelist Applicatiion
  Ranjan when I am typing this URL I am 
  getting the same error message,Missing message for key 
  index.title 
  http://localhost:8080/employeelist/web-inf/index1.jsp 
  
  Somehow I typed below url when I said that the Missing key 
  meessage has gone http://localhost:8080/employeelist//web-inf/index1.jsp 
  
  and I was getting this meessage 
  org.apache.jasper.JasperException: C:\Program 
  Files\IBM\VisualAge for Java\ide\project_resources\IBM WebSphere Test 
  Environment\temp\JSP1_1\employeelist\web_2D_inf\_index1_xjsp_debug.java:1: 
  Identifier expected.
  package .web_2D_inf;    ^ C:\Program Files\IBM\VisualAge for Java\ide\project_resources\IBM 
  WebSphere Test 
  Environment\temp\JSP1_1\employeelist\web_2D_inf\_index1_xjsp_debug.java:24: 
  Superclass HttpJspBase of class _index1_xjsp_debug not found.
  public class _index1_xjsp_debug extends HttpJspBase { 
      
  ^ C:\Program Files\IBM\VisualAge for 
  Java\ide\project_resources\IBM WebSphere Test 
  Environment\temp\JSP1_1\employeelist\web_2D_inf\_index1_xjsp_debug.java:52: 
  Invalid escape character.
      
  FileInputStream fin = new FileInputStream("C:\\Program Files\\IBM\\VisualAge 
  for Java\\ide\\project_resources\\IBM WebSphere Test 
  Environment\\temp\\JSP1_1\\employeelist\\etc\\\web_2D_inf\\_index1_xjsp_debug.dat");
  -Original Message- From: 
  Pruthee, Ranjan [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, April 17, 2002 12:19 PM To: Struts Users Mailing List Subject: RE: 
  VisualAge for java + employeelist Applicatiion(HELP.) 
  did copying fix it or u tried something else ? 
  -R -Original Message- 
  From: Singh, Sandeep [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 11:22 AM To: 
  'Struts Users Mailing List' Subject: RE: VisualAge for 
  java + employeelist Applicatiion(HELP.) 
  graet Ranajan...That message has gone. Appreciate your help 
  Sandeep 
  -Original Message- From: 
  Pruthee, Ranjan [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, April 17, 2002 11:29 AM To: Struts Users Mailing List Subject: RE: 
  VisualAge for java + employeelist Applicatiion(HELP.) 
  did u copy it to  (resourcefile)   serverroot/default_host/employeelist/     let me 
  know it it works.   -R   -Original 
  Message- From: Singh, Sandeep [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 10:04 AM To: 
  'Struts Users Mailing List' Subject: RE: VisualAge for 
  java + employeelist Applicatiion(HELP.) 
  Thanks Ranjan 
  I am attaching the employeelist.webapp file.In the resouces 
  tab it is directly associated to Project named 
  employeelist. So it should direct to employeelist 
  Project. 
  In Web Sphere Test Environment the file is located at 
  
  serverroot/default_host/employeelist/servlets/employeelist.webapp 
  
  -Original Message- From: 
  Pruthee, Ranjan [ mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, April 17, 2002 10:23 AM 
  To: Struts Users Mailing List Subject: RE: VisualAge for java + employeelist Applicatiion(HELP.) 
  
  Check your *.webapp file for the path of the application 
  resource. It is defaulted to Struts resource package. 
  U need to specify the actual package hierarchy that u 
  specified in the resource tab. like com.testcom.myapp.resources.ApplicationResource. Also copy this file 
  in directory \employeelist also. 
  I hope this helps! -Ranjan. 

  -Original Message- From: 
  Singh, Sandeep [ mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 8:30 AM To: 
  'Struts Users Mailing List' Subject: VisualAge for 
  java + employeelist Applicatiion(HELP.) Importance: High 
  I am new to struts.I am trying to run employeelist example 
  given by IBM. I am getting Below message: 
  javax.servlet.jsp.JspException: Missing message for key 
  index.title 
  I have added the ApplicationResources.properties files into 
  Resource tab of my Visua

RE: IDE for EJB2.0 development

2002-04-17 Thread Chappell, Simon P

Can we at least all agree what we're enjoying arguing over? :-)

I was trying to start a good old fashioned vi/emacs flamewar and none of you are 
joining in! :-)

Simon

>-Original Message-
>From: James Mitchell [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, April 17, 2002 3:03 PM
>To: Struts Users Mailing List
>Subject: RE: IDE for EJB2.0 development
>
>
>Actually, its a 'my tool is better than your lack of one' rant :-)
>
>JM
>
>> -Original Message-
>> From: Schneider, Eric [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, April 17, 2002 3:50 PM
>> To: 'Struts Users Mailing List'
>> Subject: RE: IDE for EJB2.0 development
>> 
>> 
>> I'm enjoying the 'my tool is better than your tool' rant.
>> 
>> Your talk of assembly line workers reminds me of analogies 
>I've read in
>> engineering books.  Many have references to the industrial 
>revolution and
>> how productivity and efficiency skyrocketed with the use of 
>> assembly lines.
>> But I guess that's only true for uninteresting factory crap.
>> 
>> e.
>> 
>> > -Original Message-
>> > From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
>> > Sent: Wednesday, April 17, 2002 3:24 PM
>> > To: 'Struts Users Mailing List'
>> > Subject: RE: IDE for EJB2.0 development
>> > 
>> > 
>> > A more appropriate analogy would be hand-made furniture vs. 
>> > the crap you buy
>> > from a factory.  And carpenters are much more interesting 
>people than
>> > assembly-line workers. (hint-hint)
>> > 
>> > Mark
>> > 
>> > -Original Message-
>> > From: James Mitchell [mailto:[EMAIL PROTECTED]]
>> > Sent: Wednesday, April 17, 2002 3:15 PM
>> > To: Struts Users Mailing List
>> > Subject: RE: IDE for EJB2.0 development
>> > 
>> > 
>> > No no, I have to agree with Mark.  Real programmers use text 
>> > editors just
>> > like "Real" construction workers use pitch forks and shovels 
>> > and not those
>> > fancy bull dozers and front-end loaders.
>> > 
>> > What happened to the good-ole days where it took a year and 
>> > half to build a
>> > house!!!
>> > 
>> > JM
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > > -Original Message-
>> > > From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
>> > > Sent: Wednesday, April 17, 2002 1:35 PM
>> > > To: Struts Users Mailing List
>> > > Subject: RE: IDE for EJB2.0 development
>> > >
>> > >
>> > > I have to go there  even if it isn't Friday! :-)
>> > >
>> > > REAL programmers use vi. EMACS is an operating system trying to
>> > > pass itself off as a text editor (M ... LISP as your
>> > > scripting language!).
>> > >
>> > > As an aside, even a relevent aside, I have been tinkering with
>> > > jEdit (http://www.jedit.org) and have found it to be a very good
>> > > general text editor. It has a growing collection of plugins that
>> > > utilise such goodies as syntax highlighting, ant and refactoring
>> > > support. Check it out!
>> > >
>> > > Simon
>> > >
>> > > -
>> > > Simon P. Chappell [EMAIL PROTECTED]
>> > > Java Programming Specialist  www.landsend.com
>> > > Lands' End, Inc.   (608) 935-4526
>> > >
>> > >
>> > > >-Original Message-
>> > > >From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
>> > > >Sent: Wednesday, April 17, 2002 11:53 AM
>> > > >To: 'A mailing list for Java(tm) 2 Platform, Enterprise Edition'
>> > > >Cc: Struts (E-mail); Bartles, Todd; Bronner, Bryon; 
>Harter, David;
>> > > >Kerstetter, Shawn; Mannam, Ram; Pakiru, Vamshidhar; Tony 
>> > (E-mail); Veni
>> > > >(E-mail)
>> > > >Subject: RE: IDE for EJB2.0 development
>> > > >
>> > > >
>> > > >Real programmers use EMACS or VI. Period.
>> > > >
>> > > >http://www.pbm.com/~lindahl/real.programmers.html
>> > > >
>> > > >Mark
>> > > >
>> > > >--
>> > > >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:
>> > 
>> > 
>> > --
>> > To unsubscribe, e-mail:   
>> >  [EMAIL PROTECTED]>
>> > For 
>> > additional commands, 
>> > e-mail: 
>> > 
>> 
>> 
>> 
>**
>> This message, including any attachments, contains confidential 
>> information intended for a specific individual and purpose, and 
>> is protected by law.  If you are not the intended recipient, 
>> please contact sender immediately by reply e-mail and destroy all 
>> copies.  You are hereby notified that any disclosure, copying, or 
>> distribution of this message, or the taking of any action based 
>> on it, is strictly prohibited.

[Q] bean:define dynamically

2002-04-17 Thread Sanjay Choudhary

Hi guys,

I wish to define a bean:id as
  "].region_ent"
type="java.util.ArrayList" scope="session"/>


I tried giving <%= elementNo%>
   
but it didn't work.

Is there a way to do this?

FYI,
where RegionForm has attribute

java.util.ArrayList regions;
String elementNo;  // get populated on selection
default="0"

regions is a list of class type Region.

Region class has attribute
java.util.ArrayList region_ent;



__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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




RE: IDE for EJB2.0 development

2002-04-17 Thread James Mitchell

Actually, its a 'my tool is better than your lack of one' rant :-)

JM

> -Original Message-
> From: Schneider, Eric [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 3:50 PM
> To: 'Struts Users Mailing List'
> Subject: RE: IDE for EJB2.0 development
> 
> 
> I'm enjoying the 'my tool is better than your tool' rant.
> 
> Your talk of assembly line workers reminds me of analogies I've read in
> engineering books.  Many have references to the industrial revolution and
> how productivity and efficiency skyrocketed with the use of 
> assembly lines.
> But I guess that's only true for uninteresting factory crap.
> 
> e.
> 
> > -Original Message-
> > From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 17, 2002 3:24 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: IDE for EJB2.0 development
> > 
> > 
> > A more appropriate analogy would be hand-made furniture vs. 
> > the crap you buy
> > from a factory.  And carpenters are much more interesting people than
> > assembly-line workers. (hint-hint)
> > 
> > Mark
> > 
> > -Original Message-
> > From: James Mitchell [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 17, 2002 3:15 PM
> > To: Struts Users Mailing List
> > Subject: RE: IDE for EJB2.0 development
> > 
> > 
> > No no, I have to agree with Mark.  Real programmers use text 
> > editors just
> > like "Real" construction workers use pitch forks and shovels 
> > and not those
> > fancy bull dozers and front-end loaders.
> > 
> > What happened to the good-ole days where it took a year and 
> > half to build a
> > house!!!
> > 
> > JM
> > 
> > 
> > 
> > 
> > 
> > 
> > > -Original Message-
> > > From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, April 17, 2002 1:35 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: IDE for EJB2.0 development
> > >
> > >
> > > I have to go there  even if it isn't Friday! :-)
> > >
> > > REAL programmers use vi. EMACS is an operating system trying to
> > > pass itself off as a text editor (M ... LISP as your
> > > scripting language!).
> > >
> > > As an aside, even a relevent aside, I have been tinkering with
> > > jEdit (http://www.jedit.org) and have found it to be a very good
> > > general text editor. It has a growing collection of plugins that
> > > utilise such goodies as syntax highlighting, ant and refactoring
> > > support. Check it out!
> > >
> > > Simon
> > >
> > > -
> > > Simon P. Chappell [EMAIL PROTECTED]
> > > Java Programming Specialist  www.landsend.com
> > > Lands' End, Inc.   (608) 935-4526
> > >
> > >
> > > >-Original Message-
> > > >From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> > > >Sent: Wednesday, April 17, 2002 11:53 AM
> > > >To: 'A mailing list for Java(tm) 2 Platform, Enterprise Edition'
> > > >Cc: Struts (E-mail); Bartles, Todd; Bronner, Bryon; Harter, David;
> > > >Kerstetter, Shawn; Mannam, Ram; Pakiru, Vamshidhar; Tony 
> > (E-mail); Veni
> > > >(E-mail)
> > > >Subject: RE: IDE for EJB2.0 development
> > > >
> > > >
> > > >Real programmers use EMACS or VI. Period.
> > > >
> > > >http://www.pbm.com/~lindahl/real.programmers.html
> > > >
> > > >Mark
> > > >
> > > >--
> > > >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:
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> >  [EMAIL PROTECTED]>
> > For 
> > additional commands, 
> > e-mail: 
> > 
> 
> 
> **
> This message, including any attachments, contains confidential 
> information intended for a specific individual and purpose, and 
> is protected by law.  If you are not the intended recipient, 
> please contact sender immediately by reply e-mail and destroy all 
> copies.  You are hereby notified that any disclosure, copying, or 
> distribution of this message, or the taking of any action based 
> on it, is strictly prohibited.
> TIAA-CREF
> **
> 
> --
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
> 
> 

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




RE: IDE for EJB2.0 development

2002-04-17 Thread Schneider, Eric

I'm enjoying the 'my tool is better than your tool' rant.

Your talk of assembly line workers reminds me of analogies I've read in
engineering books.  Many have references to the industrial revolution and
how productivity and efficiency skyrocketed with the use of assembly lines.
But I guess that's only true for uninteresting factory crap.

e.

> -Original Message-
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 3:24 PM
> To: 'Struts Users Mailing List'
> Subject: RE: IDE for EJB2.0 development
> 
> 
> A more appropriate analogy would be hand-made furniture vs. 
> the crap you buy
> from a factory.  And carpenters are much more interesting people than
> assembly-line workers. (hint-hint)
> 
> Mark
> 
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 3:15 PM
> To: Struts Users Mailing List
> Subject: RE: IDE for EJB2.0 development
> 
> 
> No no, I have to agree with Mark.  Real programmers use text 
> editors just
> like "Real" construction workers use pitch forks and shovels 
> and not those
> fancy bull dozers and front-end loaders.
> 
> What happened to the good-ole days where it took a year and 
> half to build a
> house!!!
> 
> JM
> 
> 
> 
> 
> 
> 
> > -Original Message-
> > From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 17, 2002 1:35 PM
> > To: Struts Users Mailing List
> > Subject: RE: IDE for EJB2.0 development
> >
> >
> > I have to go there  even if it isn't Friday! :-)
> >
> > REAL programmers use vi. EMACS is an operating system trying to
> > pass itself off as a text editor (M ... LISP as your
> > scripting language!).
> >
> > As an aside, even a relevent aside, I have been tinkering with
> > jEdit (http://www.jedit.org) and have found it to be a very good
> > general text editor. It has a growing collection of plugins that
> > utilise such goodies as syntax highlighting, ant and refactoring
> > support. Check it out!
> >
> > Simon
> >
> > -
> > Simon P. Chappell [EMAIL PROTECTED]
> > Java Programming Specialist  www.landsend.com
> > Lands' End, Inc.   (608) 935-4526
> >
> >
> > >-Original Message-
> > >From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> > >Sent: Wednesday, April 17, 2002 11:53 AM
> > >To: 'A mailing list for Java(tm) 2 Platform, Enterprise Edition'
> > >Cc: Struts (E-mail); Bartles, Todd; Bronner, Bryon; Harter, David;
> > >Kerstetter, Shawn; Mannam, Ram; Pakiru, Vamshidhar; Tony 
> (E-mail); Veni
> > >(E-mail)
> > >Subject: RE: IDE for EJB2.0 development
> > >
> > >
> > >Real programmers use EMACS or VI. Period.
> > >
> > >http://www.pbm.com/~lindahl/real.programmers.html
> > >
> > >Mark
> > >
> > >--
> > >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:
> 
> 
> --
> To unsubscribe, e-mail:   
>  [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: 
> 


**
This message, including any attachments, contains confidential information intended 
for a specific individual and purpose, and is protected by law.  If you are not the 
intended recipient, please contact sender immediately by reply e-mail and destroy all 
copies.  You are hereby notified that any disclosure, copying, or distribution of this 
message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**

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




RE: Connection reset by peer: socket write error

2002-04-17 Thread James Mitchell

Not sure if this helps, but you can force this error by hitting the stop
button on your browser before the page has finished loading.

I was thinking that something in the response stream was causing this on the
client side.

Good Luck
JM

> -Original Message-
> From: Struts Developer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 11:31 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Connection reset by peer: socket write error
>
>
> To date I have never received a resolution from this mailing list
> for this
> problem.
>
> The problem has gone away, however. I do not know for sure what
> caused it or
> what caused it to stop. I would suggest making sure that all your
> mappings
> in struts-config are correct. I think what was causing our problem was a
> form bean associated to a JSP that had no data fields coming in, in other
> words the navigation.jsp has no need of a form bean and yet one
> was mapped
> to it. That mapping has been removed and, oh by the way, we
> aren't getting
> the error anymore. But I can't say that removing this mapping
> error cleared
> up that problem.
>
> Did I muddy the water enough with that answer?
>
> HTH,
> Mark N.
>
>
> >From: "Vijaya Meyyappan" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Subject: Connection reset by peer: socket write error
> >Date: Tue, 16 Apr 2002 09:51:36 +0800
> >
> >Hi,
> >
> >I visited the following site.
> >http://archive.covalent.net/jakarta/struts-user/2002/04/0272.xml
> >
> >Iam getting the same message in my log file. (connection reset by peer:
> >socket write error)
> >
> >Can you pls. pass me the resolution?
> >
> >It would be of great help.
> >
> >Thanks in advance!!
> >
> >Regards
> >Vijaya Meyyappan
> >
>
>
> _
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
>


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




RE: IDE for EJB2.0 development

2002-04-17 Thread Galbreath, Mark

A more appropriate analogy would be hand-made furniture vs. the crap you buy
from a factory.  And carpenters are much more interesting people than
assembly-line workers. (hint-hint)

Mark

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 3:15 PM
To: Struts Users Mailing List
Subject: RE: IDE for EJB2.0 development


No no, I have to agree with Mark.  Real programmers use text editors just
like "Real" construction workers use pitch forks and shovels and not those
fancy bull dozers and front-end loaders.

What happened to the good-ole days where it took a year and half to build a
house!!!

JM






> -Original Message-
> From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 1:35 PM
> To: Struts Users Mailing List
> Subject: RE: IDE for EJB2.0 development
>
>
> I have to go there  even if it isn't Friday! :-)
>
> REAL programmers use vi. EMACS is an operating system trying to
> pass itself off as a text editor (M ... LISP as your
> scripting language!).
>
> As an aside, even a relevent aside, I have been tinkering with
> jEdit (http://www.jedit.org) and have found it to be a very good
> general text editor. It has a growing collection of plugins that
> utilise such goodies as syntax highlighting, ant and refactoring
> support. Check it out!
>
> Simon
>
> -
> Simon P. Chappell [EMAIL PROTECTED]
> Java Programming Specialist  www.landsend.com
> Lands' End, Inc.   (608) 935-4526
>
>
> >-Original Message-
> >From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, April 17, 2002 11:53 AM
> >To: 'A mailing list for Java(tm) 2 Platform, Enterprise Edition'
> >Cc: Struts (E-mail); Bartles, Todd; Bronner, Bryon; Harter, David;
> >Kerstetter, Shawn; Mannam, Ram; Pakiru, Vamshidhar; Tony (E-mail); Veni
> >(E-mail)
> >Subject: RE: IDE for EJB2.0 development
> >
> >
> >Real programmers use EMACS or VI. Period.
> >
> >http://www.pbm.com/~lindahl/real.programmers.html
> >
> >Mark
> >
> >--
> >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:


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




Handling long processes?

2002-04-17 Thread Greg Hess

Hi,

I have an Action that takes a minute or two to process and I need to display
a "please wait page" to my clients while processing their request. What is
the best way to  provide this functionality?

Thanks,
Greg


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




RE: employeelist Applicatiion

2002-04-17 Thread Pruthee, Ranjan
Title: RE: employeelist Applicatiion



I have 
modified ur default engine file. Rename it to "default.servlet_engine" and use 
it. I am assuming ur directory structure is - if not then copy them to the 
directory structure mentioned below-
 
employeelist
|
|---servlets (copy employeelist.webapp here)
|    |
|    |__web_inf ( *.xml files here)
|
|---web (copy all ur jsps here)
    |
    |__web_inf (copy all ur tlds . Struts 
specific)
 
Let me 
know if it works..
 
-R
 
-Original Message-From: Singh, Sandeep 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, April 17, 2002 12:10 
PMTo: 'Struts Users Mailing List'Subject: RE: employeelist 
Applicatiion
Ranjan when I am typing this URL I am 
getting the same error message,Missing message for key 
index.title 
http://localhost:8080/employeelist/web-inf/index1.jsp 

Somehow I typed below url when I said that the Missing key 
meessage has gone http://localhost:8080/employeelist//web-inf/index1.jsp 

and I was getting this meessage 
org.apache.jasper.JasperException: C:\Program 
Files\IBM\VisualAge for Java\ide\project_resources\IBM WebSphere Test 
Environment\temp\JSP1_1\employeelist\web_2D_inf\_index1_xjsp_debug.java:1: 
Identifier expected.
package .web_2D_inf;    ^ C:\Program 
Files\IBM\VisualAge for Java\ide\project_resources\IBM WebSphere Test 
Environment\temp\JSP1_1\employeelist\web_2D_inf\_index1_xjsp_debug.java:24: 
Superclass HttpJspBase of class _index1_xjsp_debug not found.
public class _index1_xjsp_debug extends HttpJspBase { 
    
^ C:\Program Files\IBM\VisualAge for 
Java\ide\project_resources\IBM WebSphere Test 
Environment\temp\JSP1_1\employeelist\web_2D_inf\_index1_xjsp_debug.java:52: 
Invalid escape character.
    
FileInputStream fin = new FileInputStream("C:\\Program Files\\IBM\\VisualAge for 
Java\\ide\\project_resources\\IBM WebSphere Test 
Environment\\temp\\JSP1_1\\employeelist\\etc\\\web_2D_inf\\_index1_xjsp_debug.dat");
-Original Message- From: 
Pruthee, Ranjan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 12:19 PM To: 
Struts Users Mailing List Subject: RE: VisualAge for 
java + employeelist Applicatiion(HELP.) 
did copying fix it or u tried something else ? 
-R -Original Message- 
From: Singh, Sandeep [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 11:22 AM To: 
'Struts Users Mailing List' Subject: RE: VisualAge for 
java + employeelist Applicatiion(HELP.) 
graet Ranajan...That message has gone. Appreciate your help 
Sandeep 
-Original Message- From: 
Pruthee, Ranjan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 11:29 AM To: 
Struts Users Mailing List Subject: RE: VisualAge for 
java + employeelist Applicatiion(HELP.) 
did u copy it to  (resourcefile)   serverroot/default_host/employeelist/     let me know 
it it works.   -R 
  -Original 
Message- From: Singh, Sandeep [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 10:04 AM To: 
'Struts Users Mailing List' Subject: RE: VisualAge for 
java + employeelist Applicatiion(HELP.) 
Thanks Ranjan 
I am attaching the employeelist.webapp file.In the resouces tab 
it is directly associated to Project named employeelist. 
So it should direct to employeelist Project. 
In Web Sphere Test Environment the file is located at 

serverroot/default_host/employeelist/servlets/employeelist.webapp 

-Original Message- From: 
Pruthee, Ranjan [ mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 10:23 AM To: 
Struts Users Mailing List Subject: RE: VisualAge for 
java + employeelist Applicatiion(HELP.) 
Check your *.webapp file for the path of the application 
resource. It is defaulted to Struts resource package. U 
need to specify the actual package hierarchy that u 
specified in the resource tab. like com.testcom.myapp.resources.ApplicationResource. Also copy this file 
in directory \employeelist also. 
I hope this helps! -Ranjan. 
-Original Message- From: Singh, 
Sandeep [ mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 17, 2002 8:30 AM To: 'Struts Users Mailing List' Subject: 
VisualAge for java + employeelist Applicatiion(HELP.) Importance: High 
I am new to struts.I am trying to run employeelist example given 
by IBM. I am getting Below message: 
javax.servlet.jsp.JspException: Missing message for key 
index.title 
I have added the ApplicationResources.properties files into 
Resource tab of my Visual Age project.This file is also 
there in \employeelist\web-inf\classes\ApplicationResources.properties. 

I do not have ApplicationResources.properties files any where in 
any other project in VAge. 
I checked the Mailing Archive,but not of any help 
Can somebody help me out 
-Original Message- From: 
Cakalic, James [ mailto:[EMAIL PROTECTED]] 
Sent: Friday, April 12, 2002 1:18 PM To: 'Struts Users Mailing List' Subject: RE: 
Friday funny -- Jim Cakalic 
Hi. 
I am Jim Cakalic. 
A man goes into a pet shop to buy a parrot. The s

RE: IDE for EJB2.0 development

2002-04-17 Thread James Mitchell

No no, I have to agree with Mark.  Real programmers use text editors just
like "Real" construction workers use pitch forks and shovels and not those
fancy bull dozers and front-end loaders.

What happened to the good-ole days where it took a year and half to build a
house!!!

JM






> -Original Message-
> From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 1:35 PM
> To: Struts Users Mailing List
> Subject: RE: IDE for EJB2.0 development
>
>
> I have to go there  even if it isn't Friday! :-)
>
> REAL programmers use vi. EMACS is an operating system trying to
> pass itself off as a text editor (M ... LISP as your
> scripting language!).
>
> As an aside, even a relevent aside, I have been tinkering with
> jEdit (http://www.jedit.org) and have found it to be a very good
> general text editor. It has a growing collection of plugins that
> utilise such goodies as syntax highlighting, ant and refactoring
> support. Check it out!
>
> Simon
>
> -
> Simon P. Chappell [EMAIL PROTECTED]
> Java Programming Specialist  www.landsend.com
> Lands' End, Inc.   (608) 935-4526
>
>
> >-Original Message-
> >From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, April 17, 2002 11:53 AM
> >To: 'A mailing list for Java(tm) 2 Platform, Enterprise Edition'
> >Cc: Struts (E-mail); Bartles, Todd; Bronner, Bryon; Harter, David;
> >Kerstetter, Shawn; Mannam, Ram; Pakiru, Vamshidhar; Tony (E-mail); Veni
> >(E-mail)
> >Subject: RE: IDE for EJB2.0 development
> >
> >
> >Real programmers use EMACS or VI. Period.
> >
> >http://www.pbm.com/~lindahl/real.programmers.html
> >
> >Mark
> >
> >--
> >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: 




RE: paging taglib and struts?

2002-04-17 Thread Mattos, John

Malcolm

I've been reading throughthe documentation for the taglib, and I'm getting
the impression that the collectionof things I'm interating over has to exist
in it's entirety in server memory. Is that true? This is slightly
problematic for me because it's a large collection of data (I know, I should
push back on the user...it's along story)

My questions are
1. how does it know what the collection is that I'm iterating
through
2. what are you using the ""
for?

currently ,y 
I've included my jsp for reference...

Any help is appreciated.

John Mattos
Sr. Developer and Architect
iNDEMAND
345 Hudson St. 16th Floor
New York, New York
10014

--- My JSP--- 



View Valid Transactions


Type
Status
Org Id
Org Name
Channel
Product Title
Signal Type
Event #
Deal
Retail
Buys
Amount Due
Post Date





<%=buyTransaction.getType()%> 
<%=buyTransaction.getStatus()%> 
<%=buyTransaction.getOrgId()%>
<%=buyTransaction.getAffiliateFullName().trim()%> 
<%=buyTransaction.getChannel()%> 
<%=buyTransaction.getAssetTitle()%> 
<%=buyTransaction.getTiertype()%> 
<%=buyTransaction.getIndAsstId()%> 
<%=buyTransaction.getDealTerm()%> 
$<%=buyTransaction.getTransAmt()%> 
<%=buyTransaction.getBuys()%> 
$<%=buyTransaction.getTotalTransAmt()%>
<%=buyTransaction.getPostDate()%> 






 

  

  [ (<%= pageNumber %>) << Previous ]


   <%= pageNumber %> 


  [ Next >> (<%= pageNumber %>) ]

  




--- END ---

-Original Message-
From: Malcolm Wise [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 4:32 AM
To: 'Struts Users Mailing List'
Subject: RE: paging taglib and struts?


John,

I am using this taglib quite extensively and it works very well with Struts.
Below is a fairly basic example jsp.
Essentially, the pager url attribute specifies the destination when any of
the navigation links is clicked.  Request parameters required by the action
class can be specified using the param tag.  These can be literals
(value="search") as in my example or use  and specify the value
attribute as the resulting variable (value="<%=expr%>").  The item tag
defines each row to be displayed, and needs to be enclosed within
.  The index tag defines the navigation bar (prev, next etc)
as a series of hyperlinks.  The maxIndexPages attribute of the pager tag
defines how many page numbers will be displayed in the navigation bar, i.e
the below example will display

[<>]

assuming there are 10 pages worth of data.  [<>] only
display if there are previous or more pages.  The maxPageItems attribute
specifies how many detail rows per page to be displayed.

I'm happy to answer any further questions or give examples.

Cheers
Malc


  

   
   
   
 




 
 

   
  
  
  
  
   

 
  
  
  
 
 

[<< Prev]


   
   
   <%=pageNumber%>
   
   
   <%= pageNumber %>
   
 
 [Next >>]
 
  
  
   

 
  
   


-Original Message-
From: John Menke [mailto:[EMAIL PROTECTED]]
Sent: 03 March 2002 02:08
To: struts-user
Subject: paging taglib and struts?


Does anyone any suggestions for implementing paging with struts? I have
searched the archive and karl basel posted this:



There's a good pager taglib at jsptags.com. I've used it in a struts app and
does the job quite well when embedded in the iterate tags.


   
   Item Details
   





I have downloaded this pager and the documentation is not providing enough
info

Re: Design Advice - Relational Databases & Java Objects.

2002-04-17 Thread Francisco Hernandez

excellent explanation, this should be of help to many people and exactly as
I have implemented it in my own apps.


- Original Message -
From: "Robert Taylor" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 17, 2002 4:41 AM
Subject: RE: Design Advice - Relational Databases & Java Objects.


> Rob,
>
> Sun's blue prints are an excellent resource to get an idea of how to
handle
> data access via the web tier.
> In general, I use the Struts action classes as proxies to my business
> objects and my business objects serve
> as proxies to my data access objects and I pass data across tiers using
DTO
> (DataTransportObject [use to be ValueObject]).
> In this fashion, I can keep my business logic reusable in say a Java
> Swing client as well as an HTML client.
>
> IMO, I would not access DAO (data access objects) directly in the Struts
> action classes. This means you
> would have to manage transaction boundries (getting JDBC connection or JDO
> PersistanceManager)
> in your web tier where as it would probably be better to isolate
> these details to your business tier.
>
> We don't use EJB, so the general data flow is as follows:
>
> Client ===> Action ===> BusinessObject ===> DataAccessObject(s) ===>
> Database
>
>
> This keeps BusinessObjects resuseable among Action classes and DAO
> objects reusable in BusinessObjects.
> The BusinessObject manages the transaction boundries and the DAO just uses
> the JDBC connection.
> We maintain all SQL as static final Strings in the DAO's. (reduces object
> creation)
> The BusinessObjects and DAO don't maintain any state, so they are
> singletons. (reduces object creation)
>
> So for example if I wanted to retrieve and display a customer list.
>
> 1. Client sends HTTP request
> 2. Struts delegates request to ShowCustomersAction
> 3. ShowCustomersAction delegates to CustomerBO
> 4. CustomerBO starts a transaction
> 5. CustomerBO delegates  to CustomerDAO
> 6. CustomerDAO executes the query and gets results
> 7. CustomerDAO maps results into a collection of CustomerDTO
> (DataTransportObject)
> 8. CustomerDAO returns collection to CustomerBO
> 9. CustomerBO ends transaction
> 10. CustomerBO returns collection to ShowCustomerAction
> 11. ShowCustomersAction places the connection in the HttpServletRequest as
> an attribute
> 12. ShowCustomersAction forwards to showCustomersView (some jsp)
> 13. ShowCustomersView accesses customer collection using a custom tag
> 14. ShowCustomersView renders customer list
>
>
> I'm sure everyone has there own way of accomplishing the use case above,
but
> this is how I have approached it.
>
> HTH,
>
> robert
>
> PS. If we did switch to using EJB, then the BusinessObjects become
> BusinessDelegates to actual EJBs and
> nothing in the web tier has to change and both DAOs and DTOs can be
reused.
>
>
> > -Original Message-
> > From: rob [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 17, 2002 6:31 AM
> > To: [EMAIL PROTECTED]
> > Subject: Design Advice - Relational Databases & Java Objects.
> >
> >
> > I'm hoping that as many people as possible will contribute their
> > own personal
> > experience and methods to this post.
> >
> > I have a relational database that contains information used to
> > build java objects
> > during runtime,  I'm curious about:
> >
> > - In what classes in struts do people typically connect to
> > the database
> > and build java objects from the database.
> > - Do the objects have interfaces which receive database connections
> > and build themselves from the inside out? or do
> > people make the
> > necessary querys for the information and then pass
> > the data to the
> > constructor?
> > - Any other methods or ideas that might aide my goal of elegance
> > (and simplicity).
> >
> > Please be verbose I'm trying to find an elegant way to do it and
> > though I've tried
> > both perhaps someone here can offer some insight.
> >
> > Examples, Explanations all appreciated.
> >
> > Thanks
> >
> >
> > --
> > 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: 




RE: Design Advice - Relational Databases & Java Objects.

2002-04-17 Thread Sandra Cann

For a O-R mapping patterns solution that is integrated with Struts, have a
look at the open source Expresso Framework at www.jcorporate.com.


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




RE: Problem in Html:options tag

2002-04-17 Thread Voytek . Jarnot

In 1.1b1, I'm using html:optionsCollection without any problems; here's a
jsp snippet


 
  
 


Where statusLookup is an application scope bean which has a
getStatusCollection() method which returns a Collection of
org.apache.struts.util.LabelValueBean

It all works, am I missing something?

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 1:14 PM
To: 'Struts Users Mailing List'
Subject: RE: Problem in Html:options tag


You have to use the "collection" property of the options tag - read the tag
spec:

http://jakarta.apache.org/struts/struts-bean.html

but it's not going to work

Mark


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




RE: Design Advice - Relational Databases & Java Objects.

2002-04-17 Thread Kyle Brown

Go read the O-R mapping patterns on Martin Fowler's site
http://www.martinfowler.com/isa.  This covers these questions and a whole
lot more...

Kyle

[EMAIL PROTECTED] on 04/17/2002 01:53:22 PM

Please respond to "Struts Users Mailing List"
   <[EMAIL PROTECTED]>

To:[EMAIL PROTECTED]
cc:
Subject:RE: Design Advice - Relational Databases & Java Objects.



I'm sure you've got many useful replies already, but let me add my two
cents:

I'm using Torque as an Object-Relational persistence mechanism, and am
getting a lot of mileage out of it.  It's *part* of the Jakarta Turbine
project, is easy to use, and works well.  Among other things, it generates
an object model from a data model.  This object model is easily used from
either your Struts Action classes, or possibly from some class(es) your
Action classes delegate to.

Cheers,
David

-Original Message-
From: rob [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 3:31 AM
To: [EMAIL PROTECTED]
Subject: Design Advice - Relational Databases & Java Objects.

I'm hoping that as many people as possible will contribute their own
personal
experience and methods to this post.

I have a relational database that contains information used to build java
objects
during runtime,  I'm curious about:

 - In what classes in struts do people typically connect to the
database
and build java objects from the database.
 - Do the objects have interfaces which receive database connections
and build themselves from the inside out? or do people make the
necessary querys for the information and then pass the data to
the
constructor?
 - Any other methods or ideas that might aide my goal of elegance
(and simplicity).

Please be verbose I'm trying to find an elegant way to do it and though
I've
tried
both perhaps someone here can offer some insight.

Examples, Explanations all appreciated.

Thanks


--
To unsubscribe, e-mail:

For additional commands, e-mail:


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




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




RE: Problem in Html:options tag

2002-04-17 Thread Galbreath, Mark

You have to use the "collection" property of the options tag - read the tag
spec:

http://jakarta.apache.org/struts/struts-bean.html

but it's not going to work

Mark

-Original Message-
From: Sidhartha Jain [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 2:00 PM
To: [EMAIL PROTECTED]
Subject: Problem in Html:options tag


Hi
I have an options tag which gets a list of values somehwre around 
111 in number.But while displaying the page it gives an error and 
page is not shown.Everything in my code is correct.Just wanted to 
know is there any restriction on the number of options we can show 
in select box or is there some other way to make it around.





I have GetFamilyList which builds up a list from the table and the 
SetFamilyList and GetFamily and setFamily methods which works 
correctly when I select less values.
Is there any other way to achieve this.

Any help would be appreciated.

Thanks
Sidhartha Jain





--
To unsubscribe, e-mail:

For additional commands, e-mail:


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




RE: Problem in Html:options tag

2002-04-17 Thread Voytek . Jarnot

What's the error?

-Original Message-
From: Sidhartha Jain [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 1:00 PM
To: [EMAIL PROTECTED]
Subject: Problem in Html:options tag


Hi
I have an options tag which gets a list of values somehwre around 
111 in number.But while displaying the page it gives an error and 
page is not shown.Everything in my code is correct.Just wanted to 
know is there any restriction on the number of options we can show 
in select box or is there some other way to make it around.





I have GetFamilyList which builds up a list from the table and the 
SetFamilyList and GetFamily and setFamily methods which works 
correctly when I select less values.
Is there any other way to achieve this.

Any help would be appreciated.

Thanks
Sidhartha Jain





--
To unsubscribe, e-mail:

For additional commands, e-mail:


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




Problem in Html:options tag

2002-04-17 Thread Sidhartha Jain

Hi
I have an options tag which gets a list of values somehwre around 
111 in number.But while displaying the page it gives an error and 
page is not shown.Everything in my code is correct.Just wanted to 
know is there any restriction on the number of options we can show 
in select box or is there some other way to make it around.





I have GetFamilyList which builds up a list from the table and the 
SetFamilyList and GetFamily and setFamily methods which works 
correctly when I select less values.
Is there any other way to achieve this.

Any help would be appreciated.

Thanks
Sidhartha Jain





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




RE: Design Advice - Relational Databases & Java Objects.

2002-04-17 Thread David . A . Ventimiglia

I'm sure you've got many useful replies already, but let me add my two
cents:

I'm using Torque as an Object-Relational persistence mechanism, and am
getting a lot of mileage out of it.  It's *part* of the Jakarta Turbine
project, is easy to use, and works well.  Among other things, it generates
an object model from a data model.  This object model is easily used from
either your Struts Action classes, or possibly from some class(es) your
Action classes delegate to.  

Cheers,
David

-Original Message-
From: rob [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 17, 2002 3:31 AM
To: [EMAIL PROTECTED]
Subject: Design Advice - Relational Databases & Java Objects.

I'm hoping that as many people as possible will contribute their own
personal
experience and methods to this post.

I have a relational database that contains information used to build java
objects
during runtime,  I'm curious about:

- In what classes in struts do people typically connect to the
database
and build java objects from the database.
- Do the objects have interfaces which receive database connections
and build themselves from the inside out? or do people make the
necessary querys for the information and then pass the data to
the
constructor?
- Any other methods or ideas that might aide my goal of elegance
(and simplicity).

Please be verbose I'm trying to find an elegant way to do it and though I've
tried
both perhaps someone here can offer some insight.

Examples, Explanations all appreciated.

Thanks


--
To unsubscribe, e-mail:

For additional commands, e-mail:


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




RE: [Q] select : Option - Urgent Help required.

2002-04-17 Thread Galbreath, Mark

We already discussed this earlier today - we cannot get the Struts
Collections iterator to work correctly.

Mark

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 1:28 PM
To: Struts Users Mailing List
Subject: RE: [Q] select : Option - Urgent Help required.




It's much better to stick your info in a collection so you can use the
 tag!!

Dave





"Galbreath, Mark" <[EMAIL PROTECTED]> on 04/17/2002
08:44:31 AM

Please respond to "Struts Users Mailing List"
  <[EMAIL PROTECTED]>

To:   "'Struts Users Mailing List'"
  <[EMAIL PROTECTED]>
cc:(bcc: David Hay/Lex/Lexmark)
Subject:  RE: [Q] select : Option - Urgent Help required.



I'm not totally clear on your Region or bean attributes, but the idea is
something like:

// bean property to set/get

// List to iterate, type is fully-qualified path,
// id is arbitrary, property is List element
  
// set the option value

// set the option label
  

  


Mark

-Original Message-
From: Sanjay Choudhary [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 8:23 AM

> Need help with select option
>
> I have a formBean called RegionForm
>
> RegionForm contain attribute selectedregion:String
> and
> regions:ArrayList.
>
> regions:ArrayList is collection of object of class
> Region.
>
> Region class has attributes id and String.
>
> I wish to display on the form select option in the
> drop down box and populate it with all the items in
> the regions:Arraylist and display id attribute.
> Selected value should populate selectedregion:String
> in RegionForm.
>
> I tried nested:select and html:select but no
> success.

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




RE: IDE for EJB2.0 development

2002-04-17 Thread Chappell, Simon P

I have to go there  even if it isn't Friday! :-)

REAL programmers use vi. EMACS is an operating system trying to pass itself off as a 
text editor (M ... LISP as your scripting language!).

As an aside, even a relevent aside, I have been tinkering with jEdit 
(http://www.jedit.org) and have found it to be a very good general text editor. It has 
a growing collection of plugins that utilise such goodies as syntax highlighting, ant 
and refactoring support. Check it out!

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526


>-Original Message-
>From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, April 17, 2002 11:53 AM
>To: 'A mailing list for Java(tm) 2 Platform, Enterprise Edition'
>Cc: Struts (E-mail); Bartles, Todd; Bronner, Bryon; Harter, David;
>Kerstetter, Shawn; Mannam, Ram; Pakiru, Vamshidhar; Tony (E-mail); Veni
>(E-mail)
>Subject: RE: IDE for EJB2.0 development
>
>
>Real programmers use EMACS or VI. Period.
>
>http://www.pbm.com/~lindahl/real.programmers.html
>
>Mark
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>
>
>

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




RE: [Q] select : Option - Urgent Help required.

2002-04-17 Thread dhay



It's much better to stick your info in a collection so you can use the
 tag!!

Dave





"Galbreath, Mark" <[EMAIL PROTECTED]> on 04/17/2002
08:44:31 AM

Please respond to "Struts Users Mailing List"
  <[EMAIL PROTECTED]>

To:   "'Struts Users Mailing List'"
  <[EMAIL PROTECTED]>
cc:(bcc: David Hay/Lex/Lexmark)
Subject:  RE: [Q] select : Option - Urgent Help required.



I'm not totally clear on your Region or bean attributes, but the idea is
something like:

// bean property to set/get

// List to iterate, type is fully-qualified path,
// id is arbitrary, property is List element
  
// set the option value

// set the option label
  

  


Mark

-Original Message-
From: Sanjay Choudhary [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 8:23 AM

> Need help with select option
>
> I have a formBean called RegionForm
>
> RegionForm contain attribute selectedregion:String
> and
> regions:ArrayList.
>
> regions:ArrayList is collection of object of class
> Region.
>
> Region class has attributes id and String.
>
> I wish to display on the form select option in the
> drop down box and populate it with all the items in
> the regions:Arraylist and display id attribute.
> Selected value should populate selectedregion:String
> in RegionForm.
>
> I tried nested:select and html:select but no
> success.

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








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




Re: Data source

2002-04-17 Thread @Basebeans.com

Subject: Re: Data source
From: Vic Cekvenich <[EMAIL PROTECTED]>
 ===
OK, then unit test the bean on Linux. Something like a missing oracle 
jar in libs, classpath. Struts or App. Server will not make a non-tested 
  (non-working) bean work. Fastest way to develop is to unit test the 
modules. Call the same methods in you unit test that you would call from 
your action. Ex: Connect, populate, get, etc.
I assure you that if the bean works in a console app, it will work in 
the action. After you tested the bean, test the action. Do a bunch of 
system outs in there.
You should consider developing in Linux, if deploying to Linux.
good luck
Vic

Daniel WAMARA wrote:

> Thanks for the answer but I've forgottent to say that it works fine on my 
>workstation (NT4) but I got this on a Linux server.
> 
> D.
> 
> -
> 
> Unit test the beans outside of Struts.
> Just write a System main console app that calls your bean.
> hth,
> Vic
> 
> Daniel WAMARA wrote:
> 
> 
>>Could someone tell me what that is, I got this message when trying to work with my 
>application (The datasource data are in the Struts-config file)
>>
>>"2002-04-17 03:35:12 - Ctx( /hermes ): Exception in: R( /hermes + /login.do + null) 
>- javax.servlet.ServletException: Exception initializing application data source 
>org.apache.struts.action.DATA_SOURCE
>>at 
>org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:1080)
>>at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
>>at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>>at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
>>at org.apache.tomcat.core.Handler.init(Handler.java:215)
>>at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
>>at org.apache.tomcat.core.Handler.service(Handler.java:254)
>>at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>>at 
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
>>at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>>at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
>>at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>>at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>>at java.lang.Thread.run(Thread.java:484)
>>Root cause:
>>java.sql.SQLException: 0½£F(´£ï?½ï?½PªD@ÛB¨ÞBC@
>>
>>at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
>>at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1597)
>>at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:354)
>>at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:249)
>>at 
>oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
>>at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
>>at 
>org.apache.struts.util.GenericDataSource.createConnection(GenericDataSource.java:731)
>>at org.apache.struts.util.GenericDataSource.open(GenericDataSource.java:668)
>>at 
>org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:1077)
>>at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
>>at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>>at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
>>at org.apache.tomcat.core.Handler.init(Handler.java:215)
>>at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
>>at org.apache.tomcat.core.Handler.service(Handler.java:254)
>>at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>>at 
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
>>at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>>at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
>>at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>>at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>>at java.lang.Thread.run(Thread.java:484)"
>>
>>Thanks for the help.
>>
>>Daniel
>>
>>
>>
> 
> 


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




Data source

2002-04-17 Thread Daniel WAMARA

Thanks for the answer but I've forgottent to say that it works fine on my workstation 
(NT4) but I got this on a Linux server.

D.

-

Unit test the beans outside of Struts.
Just write a System main console app that calls your bean.
hth,
Vic

Daniel WAMARA wrote:

> Could someone tell me what that is, I got this message when trying to work with my 
>application (The datasource data are in the Struts-config file)
>
> "2002-04-17 03:35:12 - Ctx( /hermes ): Exception in: R( /hermes + /login.do + null) 
>- javax.servlet.ServletException: Exception initializing application data source 
>org.apache.struts.action.DATA_SOURCE
> at 
>org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:1080)
> at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
> at org.apache.tomcat.core.Handler.init(Handler.java:215)
> at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
> at org.apache.tomcat.core.Handler.service(Handler.java:254)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at 
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
> Root cause:
> java.sql.SQLException: 0½£F(´£ï?½ï?½PªD@ÛB¨ÞBC@
>
> at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
> at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1597)
> at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:354)
> at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:249)
> at 
>oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
> at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
> at 
>org.apache.struts.util.GenericDataSource.createConnection(GenericDataSource.java:731)
> at org.apache.struts.util.GenericDataSource.open(GenericDataSource.java:668)
> at 
>org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:1077)
> at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
> at org.apache.tomcat.core.Handler.init(Handler.java:215)
> at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
> at org.apache.tomcat.core.Handler.service(Handler.java:254)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at 
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)"
>
> Thanks for the help.
>
> Daniel
>
>




Re: Data source

2002-04-17 Thread @Basebeans.com

Subject: Re: Data source
From: Vic Cekvenich <[EMAIL PROTECTED]>
 ===
Unit test the beans outside of Struts.
Just write a System main console app that calls your bean.
hth,
Vic

Daniel WAMARA wrote:

> Could someone tell me what that is, I got this message when trying to work with my 
>application (The datasource data are in the Struts-config file)
> 
> "2002-04-17 03:35:12 - Ctx( /hermes ): Exception in: R( /hermes + /login.do + null) 
>- javax.servlet.ServletException: Exception initializing application data source 
>org.apache.struts.action.DATA_SOURCE
> at 
>org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:1080)
> at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
> at org.apache.tomcat.core.Handler.init(Handler.java:215)
> at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
> at org.apache.tomcat.core.Handler.service(Handler.java:254)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at 
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
> Root cause:
> java.sql.SQLException: 0½£F(´£ï?½ï?½PªD@ÛB¨ÞBC@
> 
> at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
> at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1597)
> at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:354)
> at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:249)
> at 
>oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
> at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
> at 
>org.apache.struts.util.GenericDataSource.createConnection(GenericDataSource.java:731)
> at org.apache.struts.util.GenericDataSource.open(GenericDataSource.java:668)
> at 
>org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:1077)
> at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
> at org.apache.tomcat.core.Handler.init(Handler.java:215)
> at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
> at org.apache.tomcat.core.Handler.service(Handler.java:254)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at 
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)"
> 
> Thanks for the help.
> 
> Daniel
> 
> 


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




Re: [Q] select : Option - Urgent Help required.

2002-04-17 Thread @Basebeans.com

Subject: Re: [Q] select : Option - Urgent Help required.
From: Vic Cekvenich <[EMAIL PROTECTED]>
 ===

http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg26863.html

Yes, vi!

Vic
Galbreath, Mark wrote:

> No one on my team has been able to get the Collections iterator to work for
>  so we are doing as I posted.  If you have some insight into
> getting it to work, I'm all eyes!
> 
> Also, the iterate name should not be enclosed in JSP session variable
> delimiters unless a method is being called to get the value.
> 
> Mark
> 
> -Original Message-
> From: Stuart Jameson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 9:34 AM
> 
> You could use the  tag
> 
> -Original Message-
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> Sent: 17 April 2002 13:45
> 
> I'm not totally clear on your Region or bean attributes, but the idea is
> something like:
> 
> // bean property to set/get
> 
> // List to iterate, type is fully-qualified path,
> // id is arbitrary, property is List element
> property="id"
>  type="Region"
>  id="region">
> // set the option value
> 
> // set the option label
>   
> 
>   
> 
> 
> Mark
> 
> -Original Message-
> From: Sanjay Choudhary [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 8:23 AM
> 
> 
>>Need help with select option
>>
>>I have a formBean called RegionForm
>>
>>RegionForm contain attribute selectedregion:String
>>and
>>regions:ArrayList.  
>>
>>regions:ArrayList is collection of object of class
>>Region.
>>
>>Region class has attributes id and String.
>>
>>I wish to display on the form select option in the
>>drop down box and populate it with all the items in
>>the regions:Arraylist and display id attribute.
>>Selected value should populate selectedregion:String
>>in RegionForm.
>>
>>I tried nested:select and html:select but no
>>success.
>>
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 


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




RE: employeelist Applicatiion

2002-04-17 Thread Singh, Sandeep
Title: RE:  employeelist Applicatiion





Ranjan
when I am typing this URL I am getting the same 
error message,Missing message for key index.title


http://localhost:8080/employeelist/web-inf/index1.jsp


Somehow I typed below url when I said that the Missing key meessage has gone
http://localhost:8080/employeelist//web-inf/index1.jsp


and I was getting this meessage


org.apache.jasper.JasperException: C:\Program Files\IBM\VisualAge for Java\ide\project_resources\IBM WebSphere Test Environment\temp\JSP1_1\employeelist\web_2D_inf\_index1_xjsp_debug.java:1: Identifier expected.

package .web_2D_inf;
   ^
C:\Program Files\IBM\VisualAge for Java\ide\project_resources\IBM WebSphere Test Environment\temp\JSP1_1\employeelist\web_2D_inf\_index1_xjsp_debug.java:24: Superclass HttpJspBase of class _index1_xjsp_debug not found.

public class _index1_xjsp_debug extends HttpJspBase {
    ^
C:\Program Files\IBM\VisualAge for Java\ide\project_resources\IBM WebSphere Test Environment\temp\JSP1_1\employeelist\web_2D_inf\_index1_xjsp_debug.java:52: Invalid escape character.

    FileInputStream fin = new FileInputStream("C:\\Program Files\\IBM\\VisualAge for Java\\ide\\project_resources\\IBM WebSphere Test Environment\\temp\\JSP1_1\\employeelist\\etc\\\web_2D_inf\\_index1_xjsp_debug.dat");


-Original Message-
From: Pruthee, Ranjan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 12:19 PM
To: Struts Users Mailing List
Subject: RE: VisualAge for java + employeelist Applicatiion(HELP.)



did copying fix it or u tried something else ?


-R
-Original Message-
From: Singh, Sandeep [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 11:22 AM
To: 'Struts Users Mailing List'
Subject: RE: VisualAge for java + employeelist Applicatiion(HELP.)



graet Ranajan...That message has gone.
Appreciate your help



Sandeep




-Original Message-
From: Pruthee, Ranjan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 11:29 AM
To: Struts Users Mailing List
Subject: RE: VisualAge for java + employeelist Applicatiion(HELP.)



did u copy it to  (resourcefile)
 
serverroot/default_host/employeelist/
 
 
let me know it it works.
 
-R
 
-Original Message-
From: Singh, Sandeep [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 10:04 AM
To: 'Struts Users Mailing List'
Subject: RE: VisualAge for java + employeelist Applicatiion(HELP.)




Thanks Ranjan 


I am attaching the employeelist.webapp file.In the resouces tab 
it is directly associated to Project named employeelist. 
So it should direct to employeelist Project. 


In Web Sphere Test Environment the file is located at 


serverroot/default_host/employeelist/servlets/employeelist.webapp 





-Original Message- 
From: Pruthee, Ranjan [ mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 17, 2002 10:23 AM 
To: Struts Users Mailing List 
Subject: RE: VisualAge for java + employeelist Applicatiion(HELP.) 



Check your *.webapp file for the path of the application resource. It is
defaulted to Struts resource package. U need to specify the actual package
hierarchy that u specified in the resource tab. like
com.testcom.myapp.resources.ApplicationResource. Also copy this file in
directory \employeelist also. 


I hope this helps! 
-Ranjan. 


-Original Message- 
From: Singh, Sandeep [ mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 17, 2002 8:30 AM 
To: 'Struts Users Mailing List' 
Subject: VisualAge for java + employeelist Applicatiion(HELP.) 
Importance: High 



I am new to struts.I am trying to run employeelist example given by IBM. 
I am getting Below message: 


javax.servlet.jsp.JspException: Missing message for key index.title 


I have added the ApplicationResources.properties files into Resource tab 
of my Visual Age project.This file is also there in 
\employeelist\web-inf\classes\ApplicationResources.properties. 


I do not have ApplicationResources.properties files any where in any 
other project in VAge. 


I checked the Mailing Archive,but not of any help 


Can somebody help me out 





-Original Message- 
From: Cakalic, James [ mailto:[EMAIL PROTECTED]] 
Sent: Friday, April 12, 2002 1:18 PM 
To: 'Struts Users Mailing List' 
Subject: RE: Friday funny -- Jim Cakalic 



Hi. 


I am Jim Cakalic. 


A man goes into a pet shop to buy a parrot. The shop owner points to three 
identical looking parrots on a perch and says, "the parrot on the left costs


500 dollars". 


"Why does the parrot cost so much," asks the man. 
The shop owner says, "well, the parrot knows how to use a computer". 


The man then asks about the next parrot to be told that this one costs 1,000


dollars because it can do everything the other parrot can do plus it knows 
how to use the UNIX operating system. 


Naturally, the increasingly startled man asks about the third parrot to be 
told that it costs 2,000 dollars. Needless to say this begs the ques

Re: Data source

2002-04-17 Thread Vic Cekvenich

Unit test the beans outside of Struts.
Just write a System main console app that calls your bean.
hth,
Vic

Daniel WAMARA wrote:

> Could someone tell me what that is, I got this message when trying to work with my 
>application (The datasource data are in the Struts-config file)
> 
> "2002-04-17 03:35:12 - Ctx( /hermes ): Exception in: R( /hermes + /login.do + null) 
>- javax.servlet.ServletException: Exception initializing application data source 
>org.apache.struts.action.DATA_SOURCE
> at 
>org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:1080)
> at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
> at org.apache.tomcat.core.Handler.init(Handler.java:215)
> at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
> at org.apache.tomcat.core.Handler.service(Handler.java:254)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at 
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
> Root cause:
> java.sql.SQLException: 0½£F(´£ï?½ï?½PªD@ÛB¨ÞBC@
> 
> at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
> at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1597)
> at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:354)
> at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:249)
> at 
>oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
> at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
> at 
>org.apache.struts.util.GenericDataSource.createConnection(GenericDataSource.java:731)
> at org.apache.struts.util.GenericDataSource.open(GenericDataSource.java:668)
> at 
>org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:1077)
> at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
> at org.apache.tomcat.core.Handler.init(Handler.java:215)
> at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
> at org.apache.tomcat.core.Handler.service(Handler.java:254)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at 
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)"
> 
> Thanks for the help.
> 
> Daniel
> 
> 



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




RE: Urgent Websphere and location of Struts-Config.xml file

2002-04-17 Thread Steven Banks

On os/390 the value is found in was.conf for the server.   I do not believe this file 
exists on the NT version.  Which platform are you running on?  Mainframe, nt, or Unix?



Steven Banks
368-0566

>>> "subhendukumar mohanty" <[EMAIL PROTECTED]> 04/17/02 11:34AM >>>
Where to set the properties for "appserver.compliance.mode" .
So that i can check both of my server to find out the differences.
Thanks,
Subhendu

-Original Message-
From: Steven Banks [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 16, 2002 10:40 AM
To: subhendukumar mohanty; [EMAIL PROTECTED] 
Subject: Re: Urgent Websphere and location of Struts-Config.xml file


I had some problems with the location of the xml files on OS/390.  It was caused 
because one server had Servlet 2.2 full compatibilty turned off.  


When  appserver.compliance.mode=false  "the default value"

 InputStream input = getServletContext().getResourceAsStream(config); 

found the xml file in the following directory:   
   u/mywebs/dev/train/WEB-INF/classes/WEB-INF/struts-config.xml


When  appserver.compliance.mode=true,   the xml file had to be moved to
 /u/mywebs/dev/train/web/WEB-INF/struts-config.xml


Steven Banks
368-0566

>>> "subhendukumar mohanty" <[EMAIL PROTECTED]> 04/16/02 10:49AM >>>
Hi 

I am using struts with websphere 3.5.5. In one of the application server i have kept 
the struts-config.xml in default_host\webapplicationame\servlets . It is working fine. 
The same setup is not working in other machine . In that server the apploication is 
looking for the strits-config.xml file default_host\webapplicationame\web\web-inf 
folder. 

I could not find out what is the difference. Both the server has same setup and having 
same version of struts. The action servlet in the both the server has same init 
parameter for struts-config.xml.

If anybody has any idea on this let me know. 

Thanks,
Subhendu



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




RE: IDE for EJB2.0 development

2002-04-17 Thread Galbreath, Mark

Real programmers use EMACS or VI. Period.

http://www.pbm.com/~lindahl/real.programmers.html

Mark

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




Help needed on Design

2002-04-17 Thread B Manikandan

Hi..
I have to design an application with the following layout.



  | HEADER
MENU  |---
  |TABS

1)The header is common for a menu and all the tabs in that menu.
2)When a particular tab is selected and some input has been given in the
body,I need to submit the body along with the header info.

I plan to achieve the general layout using tiles.

The question is how to submit the common header along with the
body(which varies for each tab) to the server.

TIA,
Mani



**Disclaimer
  


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 



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


CactusStrutsTestCase problem

2002-04-17 Thread Rakesh N R

Hi,

 I was trying to run the example application of CactusStrutsTestCase but
i get an exception. What could be the reason for the same.

D:\cactus\strutstest\examples>java junit.textui.TestRunner
servletunit.struts.ex
amples.cactus.TestCactusLoginAction
.E.E
Time: 0.33
There were 2 errors:
1)
testSuccessfulLogin(servletunit.struts.examples.cactus.TestCactusLoginAction)

javax.servlet.ServletException: Error instanciating class
[servletunit.struts.ex
amples.cactus.TestCactusLoginAction(testSuccessfulLogin)]
at
org.apache.cactus.server.AbstractTestCaller.getTestClassInstance(Abst
ractTestCaller.java:311)
at
org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTestCaller
.java:130)
at
org.apache.cactus.server.AbstractTestController.handleRequest(Abstrac
tTestController.java:122)
at
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedi
rector.java:134)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:105)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:361)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
2)
testFailedLogin(servletunit.struts.examples.cactus.TestCactusLoginAction)

javax.servlet.ServletException: Error instanciating class
[servletunit.struts.ex
amples.cactus.TestCactusLoginAction(testFailedLogin)]
at
org.apache.cactus.server.AbstractTestCaller.getTestClassInstance(Abst
ractTestCaller.java:311)
at
org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTestCaller
.java:130)
at
org.apache.cactus.server.AbstractTestController.handleRequest(Abstrac
tTestController.java:122)
at
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedi
rector.java:134)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:105)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:361)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

FAILURES!!!
Tests run: 2,  Failures: 0,  Errors: 2

Rakesh



**Disclaimer
  


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 



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


Dynamically updating Arraylist value

2002-04-17 Thread siraj

hi ,

  i have a problem in setting value in the bean from a arraylis
 this is how i have written my jsp code



 

 


 

and method in bean is 

public void setFieldvalue(int k, String str){

System.out.println("inside setFieldvalue "+str+"***"+k);

this.fieldvalue.set(k,str);

}

in set method only one value is set and stops without setting the other value

some one have any idea ?

Regards

  Siraj 




Re: How can I forward to another action with userspecific data

2002-04-17 Thread Victor Hadianto

Yes,

Try:

String next =  mapping.findForward("ActionB").getPath();
next = next + "?data=1&data=2";

// don't pass the true parameter if not redirection.
return new ActionForward(next, true); 


-- 
Victor

On Wed, 17 Apr 2002 18:09, you wrote:
> Hi,
>
> I would like to do the following
>
> I have a ActionA wich has to forward to a action ActionB but has to submit
> some data from ActionA
>
> ActionA calls->/actionB.do?data1=1&data2=2
>
> within the action ActionA.
>
> Is that somehow possible ?
>
> Thanks !!
>
>
> --
> To unsubscribe, e-mail:  
>  For additional
> commands, e-mail: 


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




RE: How can I forward to another action with userspecific data

2002-04-17 Thread Maris Orbidans



You can add attributes to HTTP request.
// Action A
request.setAttribute("DATA1","1");

// Action B
String attr = (String) request.getAttribute("DATA1");


Maris


> -Original Message-
> From: Dirk Storck [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 11:09 AM
> To: Struts User (E-Mail)
> Subject: How can I forward to another action with userspecific data
> 
> 
> Hi,
> 
> I would like to do the following
> 
> I have a ActionA wich has to forward to a action ActionB but 
> has to submit
> some data from ActionA
> 
> ActionA calls->/actionB.do?data1=1&data2=2
> 
> within the action ActionA.
> 
> Is that somehow possible ?
> 
> Thanks !!
> 
> 
> --
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 



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




How can I forward to another action with userspecific data

2002-04-17 Thread Dirk Storck

Hi,

I would like to do the following

I have a ActionA wich has to forward to a action ActionB but has to submit
some data from ActionA

ActionA calls->/actionB.do?data1=1&data2=2

within the action ActionA.

Is that somehow possible ?

Thanks !!


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




RE: Resin JSPException with Template Taglib

2002-04-17 Thread Robert Parker

Members Equity Email System

I ended up swapping over to the Tiles taglib rather than Template. All works
fine now!

regards

Rob


MEMBERS EQUITY PTY LTD ABN 56 070 887 679

This email and any attachments are confidential. If you are not the
intended recipient, you must not disclose, distribute, copy or use the
information contained in this e-mail or any attachments. If you have
received this email in error, please tell us immediately by return email
and delete this e-mail and any attachments.

This message should not be removed.



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


How can I fill a form from within another action?

2002-04-17 Thread Dirk Storck

Hi,

I need your help.

I have a form FormA and a action ActionA (for login purpose) wich do some
usercheck and is used as session data and I have a second form FormB and
ActionB (for registration).
The Form- and ActionA are called from a login.jsp if an existing used logins
in.
The Form- and ActionB are called from a registration.jsp.

Now my problem.
If an user registers new I would like to have that the user is automaticaly
logged in. The problem is that the ActionA expects that FormA exists with
the entered login data from that user. At that point no bean of type FormA
exists and so a call/forward to the ActionA does not work.

Any suggestions how to solve the problem ?

Thanks !

___

Bitte beachten Sie unsere neue Adresse

Dirk Storck, Dipl.-Ing. (FH) t e c m a t h   A G
 Content Management Systems Division
Telefon 0631 303-5290   Europaallee 10, 67657 Kaiserslautern
Telefax 0631 303-5209 http://www.tecmath.com





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




RE: Resin JSPException with Template Taglib

2002-04-17 Thread Jesse Alexander (KADA 12)

doEndTag...

I saw something similar when somebody commented out parts of the 
jsp-file to evaluate different ways to do something...

App worked like a charm in Tomcat but choked on JRun31...

so, check whether you have commented jsp-tags or java-scriplets
and remove them...

hope this helps
Alexander Jesse

-Original Message-
From: Robert Parker [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 16. April 2002 02:03
To: 'Struts Users Mailing List'
Subject: Resin JSPException with Template Taglib


Members Equity Email System
I'm trying to get Struts 1.02 working with Resin 2.1.0.

I have an app which works fine under Tomcat, but throws a JSPException under
Resin. The stacktrace shows the error occurs in the doEndTag method. Is this
a known problem? Are there any work arounds?

Thanks

Rob

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