Re: Convert scriptlets into Tags

2003-08-14 Thread Daniel Jaffa
Bad use of Yoda you use, yes.  Ye

Converting scriplets into tags does not an MVC application make.

James Childers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Converting scriplets into tags does not an MVC application make. If your
goal is to be consistent with the MVC pattern, you'll want to move code such
as that listed below into an Action.

 -= J

  -Original Message-
  From: Dirk Behrendt [mailto:[EMAIL PROTECTED]
  Sent: Monday, August 11, 2003 10:05 AM
  To: [EMAIL PROTECTED]
  Subject: Convert scriptlets into Tags
 
 
  Hello!
 
  I have to write a session variable in a JSP
 
 %session.setAttribute(name,value);%
 
  How can I convert this scriptlet into Struts Tags to fulfil the MVC
  concept?
 
 
 
  Dirk
 




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



Re: OT FRIDAY: Is it Friday yet? Monkeys are cool.

2003-06-06 Thread Daniel Jaffa
What do you mean by, FRIDAY has been cancelled
Andrew Hill [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I thought friday had been cancelled?

 We really need a friday newsgroup/mailing list.
 Realtime chat groups, IRC arent much good for those of us in other
timezones
 who want to join the fun...


 -Original Message-
 From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
 Sent: Friday, 6 June 2003 10:19
 To: [EMAIL PROTECTED]
 Subject: OT FRIDAY: Is it Friday yet? Monkeys are cool.


 This even has a monkey. ( note to self:  get monkey to talk to formBean )
  A monkey basket says ...  . That's sweet. I smell you.
 We need what? Teamwork!

 http://www.campchaos.com/cartoons/ttoo/ttoo02.html


 .V

 ps: was it irc?



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




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



Re: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Daniel Jaffa
But just remember MEN you can always can get the last words with your wife.

yes dear, I will do it right away

or if you are in a hurry

yes dear

well do just fine

Daniel Jaffa
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, April 04, 2003 11:49 AM
Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start


 On Fri, 2003-04-04 at 11:38, Chappell, Simon P wrote:
  Yup. And then I'm out-numbered ... a wife and two daughters. It's funny
how bossy my three year old can be, she told me to stop working on my laptop
(daddy's pewger) and sit on the couch with her while she eat her snack!
:-)

 LOLthat's exactly how my 3 year old says it too!!!

 
  Simon
 
  -Original Message-
  From: Robert Taylor [mailto:[EMAIL PROTECTED]
  Sent: Friday, April 04, 2003 10:32 AM
  To: Struts Users Mailing List
  Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
  
  
  LOL! I learned that I'm it's my fault and I'm wrong.
  
  robert
  
   -Original Message-
   From: James Mitchell [mailto:[EMAIL PROTECTED]
   Sent: Friday, April 04, 2003 11:19 AM
   To: Struts Users Mailing List
   Subject: Re: [OT] Re: 12 month contract - Toronto - immediate start
  
  
  
   On the topic of gender bashing.
  
   When my wife and I married, I knew I was marrying Miss Right, what I
   didn't know was that her first name is 'Always'!!!
  
  
  
  
   On Fri, 2003-04-04 at 11:12, Melissa L Kelley wrote:
On 4 Apr 2003, Scott Barr wrote:
   
Being female, I had to chuckle at that one ;)
   

 Thats because being males, we can only do one thing at a time!!

 Scott
 www.exergonic.com.au


 On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
  I'll be 46 years old before I qualify for that job :) .
 
  Andrew Hill wrote:
 
  I see no struts here.
  
  And their minimum required experience adds up to 21 years...
  
  
   
   
-- stu: www.stuology.net
It just no longer is plain simple safe fun
when it's the psycho chimp that has the ray gun

Stuology -- A million monkeys can't be wrong
   
   
   
  -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
  [EMAIL PROTECTED]
   --
   James Mitchell
   Software Developer/Struts Evangelist
   http://www.open-tools.org
  
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 --
 James Mitchell
 Software Developer/Struts Evangelist
 http://www.open-tools.org




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



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



Re: [OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Daniel Jaffa
Dump WLS and go over to JBOSS in production.  We are currenly going to save
something like
500k  by not upgrading to wls 7.0 or wls 8.0 and go directly to Jboss in
production.

- Original Message -
From: Piper, James D CECOM SEC EPS [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 04, 2003 11:51 AM
Subject: [OT] intermittent build and deploy Struts application to WLS pro
blem


 This is a bit OT (probably has nothing to do with struts), but the problem
 has gone from an irritation to annoying to really starting to tick me off.
I
 hope that since many of you are working with similar environments that you
 may be able to help me out here:

 Problem
 ---
 Intermittently when I deploy to WLS I will receive anywhere from 1 to
about
 40 errors of the form: 'Public class blah blah blah must be defined in a
 file called blah blah blah' (I think these errors are thrown when the WLS
is
 attempting to recompile my EJB JAR within the server, not sure about that
 though).  The clinker is that if I change no source code, recompile and
 redeploy again, then occasionally I will not have the errors and
everything
 will run fine from there on in.

 There have been times where I have gone through the hair pulling process
of
 running my ant clean, ant build scripts, and attempting to deploy 10 times
 before all of the sudden Blamo, it works only to fail again the next
 time I need to recompile.

 Environment description
 ---
 1. I edit source, compile and build WAR, EJB JAR, support class JAR, and
EAR
 on Windows 2K using ant.  I use the manifest.update feature to put class
 path info about classes used in both EJBs and Servlets into the EAR file.
 2. ANT_HOME = \apache-ant-1.5.3Beta1 (also tried 1.5.2  and 1.5.1)
 3. JAVA_HOME = \j2sdk_forte\jdk1.4.0 (also tried 1.3.1)
 4. Attempting to deploy EAR to BEA Web Logic Server 6.1 sp4 (also tried
sp2)
 running on a Sun server using WLS browser based admin tool.
 5. The application uses Struts, log4j, rowtag among other things.

 Some Observations
 -
 1. The size of my EAR file changes each time I run my ant build script.
 Looking inside the EAR I see that the compressed sizes of my WAR and EJB
 JAR, and support class JAR files change each time the EAR build is run
 (while the sizes of the original WAR and JARs remain the same - and the
 original and compressed sizes of all my 3rd party JARs also remain the
 same).

 2. Also I notice that when the size of the EAR gets smaller then the app
is
 more likely to deploy ok.

 3. If I attempt to redeploy the same EAR file over and over then I will
get
 the same number of errors each time.  If I recompile and deploy I will get
a
 different number of errors (or none).  If I have an EAR file that works
then
 I can redeploy that EAR file over and over and never get an error.

 4. Have never seen the error when I deploy to JBOSS on my local Win 2K
 machine.

 Some Things I've tried
 --
 1. change time out settings on http within WLS
 2. deleting the old .ear file from WLS before redeploy
 3. deleting the .wlnotdelete file from WLS before deploy
 4. restarting the wls
 5. undeploying, refreshing wls view, compiling, redeploying all in
different
 orders
 6. holding my breath and crossing my fingers
 7. not watching the deployment dos screen
 8. watching the deployment dos screen
 9. manually ftping the file to wls
 10. wls running in debug mode
 11. wls running in production mode
 12. wls update from 6.1 to 6.1.4 something
 13. removing all dos crlf from java and jsp in ant
 14. touching all java and jsp files in ant
 15. browsing ear and jar files for clues
 16. asking wls admin for help
 17. tracking size of ear files
 18. noticing that ear file size changes even when no source has changed
 19. suspecting something screwey with build process
 20. stop wls during build
 21. starting wls duing build
 22. changed structure of EAR file
 23. removed common classes from WAR and JAR and put in EAR with Manifest
 24. put shared classes in a common JAR
 25. updated from ant version 5.0 to 5.2

 I've been living with this for months now, but my patience with it is
 wearing out the closer I get to the due date.

 Any help very much appreciated.

 - Jim Piper






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



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



Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Daniel Jaffa
So you have been working with Oracle 9i for 5 years.
- Original Message -
From: Micael [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]; 'Struts
Users Mailing List' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 12:41 PM
Subject: RE: 12 month contract - Toronto - immediate start


Why would anyone be offended because they have special requirements.  What
they need, clearly, is a very well trained and affable Java enterprise
coder.  They are being clear that you should not waste your time if you are
not qualified.  I like that.  I am sort of peripherally qualified for this
position and have appreciated the candor.

Micael

At 10:13 AM 4/4/03 -0500, apachep2 wrote:
One thing offends me the most is

Excellent communication skills, both oral and written (10/10 essential)

Looks like they are looking for Winston Churchill.

-Original Message-
From: Scott Barr [mailto:[EMAIL PROTECTED]
Sent: April 3, 2003 11:16 PM
To: Struts Users Mailing List
Subject: Re: 12 month contract - Toronto - immediate start


Thats because being males, we can only do one thing at a time!!

Scott
www.exergonic.com.au


On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
  I'll be 46 years old before I qualify for that job :) .
 
  Andrew Hill wrote:
 
  I see no struts here.
  
  And their minimum required experience adds up to 21 years...
  
  
  -Original Message-
  From: V. Cekvenich [mailto:[EMAIL PROTECTED]
  Sent: Friday, 4 April 2003 10:19
  To: [EMAIL PROTECTED]
  Subject: Re: 12 month contract - Toronto - immediate start
  
  
  Does this have anything to do with Struts?
  .V
  
  
  Jack Nodel wrote:
  
  
  Hi All,
  
  My name is Jack Nodel, I work with ARES consulting. Recently one of
my
  clients has asked me to locate contractors for a Toronto based 12
month
  contract.
  
  The following is the list of required technical skills. Excellent
  communication is an absolute must.
  
  
  We are searching for a subject matter expert with extensive
knowledge of
  
  
  BEA
  
  
  WLI to assist and provide guidance. To qualify, the candidate must
have:
  £ 5+ years experience in the information technology industry
  £ 3 years of development experience on J2EE platform
  £ Hands on experience with E-Commerce design and application design
  £ Expert technical knowledge of the BEA workflow product
  £ Good technical architecture
  £ Good Java programming skills
  £ Experience with BEA Weblogic and Commerce Server exposure (nice to
have)
  £ Excellent communication skills, both oral and written (10/10
essential)
  
  MUST HAVE SKILLS:
  . J2EE development experience (Min. Experience 2-5yrs)
  . Enterprise Java Bean Development (Min. Experience of 2-5 yrs)
  . Oracle 9i (Min. Experience of 2-5 yrs)
  . WLI (Min. Experience of 1-2 yrs)
  . SQL (Min. Experience of 2-5 yrs)
  . XMLSpy (Min. Experience of 2-5 yrs)
  . CVS (Min. Experience of 1-2 yrs)
  . Java IDE: Eclipse (Min. Experience of 1-2 yrs)
  
  If you are interested PLEASE FORWARD RESUMES TO
  [EMAIL PROTECTED]
  
  I can also be reached at 416.480.2700 ext224.
  
  Thanks,
  
  Jack
  
  
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


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


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



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain
information belonging to the sender which may be confidential and legally
privileged.  This information is intended only for the use of the
individual or entity to whom this electronic mail transmission was sent as
indicated above. If you are not the intended recipient, any disclosure,
copying, distribution, or action taken in reliance on the contents of the
information contained in this transmission is strictly prohibited.  If you
have received this transmission in error, please delete the message.  Thank
you



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


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



Re: [OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Daniel Jaffa
But you still need a license for each developer, and for a large project
this is alot of money
- Original Message -
From: Karr, David [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:26 PM
Subject: RE: [OT] intermittent build and deploy Struts application to WLS
pro blem


 Another alternative would be to use WebLogic Express, which is WebLogic
 without the EJB container.  It should be much cheaper than WebLogic
 platform, and will satisfy the suits.

  -Original Message-
  From: Miriam Aguirre [mailto:[EMAIL PROTECTED]
 
   we're currently struggling with this as well, I'm all for dumping
 iplanet
  and move to jboss, but other people in the organization do not feel
  comfortable with switching over to a non-sun-certified-freeware-app
  server..
  so far, so what, it's better! is not working, any suggestions from
 the
  group??
 
  -Original Message-
  From: Daniel Jaffa [mailto:[EMAIL PROTECTED]
 
  Dump WLS and go over to JBOSS in production.  We are currenly going to
  save
  something like
  500k  by not upgrading to wls 7.0 or wls 8.0 and go directly to Jboss
 in
  production.

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



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



Re: About the checkLogonTag of the example application

2003-04-03 Thread Daniel Jaffa
But if you do not have access to filters, this might be a good way to do it.
- Original Message -
From: Stefan Krompaß [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 10:35 AM
Subject: Re: About the checkLogonTag of the example application


 Struts Users Mailing List [EMAIL PROTECTED] schrieb am
03.04.03 17:27:26:
 
   The checkLogonTag of the Struts application checks
   if the user has logged in the application before
   displaying a JSP page.
   Therefore it manages a part of the security of the
   application.
   I would like to know if this tag is a good practice ?
   If it can be used in a real world J2EE application ?
   If it is J2EE compliant and MVC compliant ?
 
  I think that right before you display a JSP is *way* too late to be
checking
  to see if someone is logged in or not.  I do it in a Filter and they
never
  even get to the .do Action if they haven't logged in.
 
  --
  Wendy Smoak
  Applications Systems Analyst, Sr.
  Arizona State University PA Information Resources Management
 

 Could you please give an example for that?

 Stefan


__
 Mit der Multi-SMS von WEB.DE FreeMail koennen Sie 760 Zeichen versenden.
 Informationen unter http://freemail.web.de/features/?mc=021184


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



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



Re: [OT] Struts + JSF vs Swing

2003-03-31 Thread Daniel Jaffa
You could also add the amount of time that it takes to build and support a
Swing application.  I would guess that a swing app take 1.5X to 2X longer to
build as well as the fact that with jsp that you can use a Web designer to
build the look and feel and leave the code development to the Development
group.


- Original Message -
From: P K [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 1:56 PM
Subject: [OT] Struts + JSF vs Swing



 We have just started using Struts whereas another group here is developing
front ends for web-based applications using Swing. My manager has asked me
to come up with a document listing why we are going this route and are not
inclined to use Swing. What do you guys think of this?

 TIA.

 ===

 Developing User Interfaces using Struts as opposed to a Swing GUI with
Java Web Start.

 · Swing needs a Java Virtual Machine (JVM) to be installed on Client
Machines. This could potentially lead to compatibility issues if a Swing GUI
is developed using components from a newer version of Java - the JVM will
need to be upgraded on all client machines. Struts applications output HTML,
which will be displayed in a browser.

 · Struts is a framework that provides several built-in components that can
be incorporated into an application declaratively (as opposed to
programmatically), such as exception handling, validation,
internationalization. These types of components will need to be developed
for Swing based applications.

 · Swing is only a GUI technology. As mentioned above Struts provides other
components as well.

 · Swing provides a richer set of GUI components whereas Struts currently
only allows User Interfaces to be HTML based. But, developing applications
with Struts will allow us to take advantage of the new JavaServer Faces
(JSF) specification (http://java.sun.com/j2ee/javaserverfaces/). The
Reference Implementation (Early Access) for JSF is already available. From
the page at the above link:

  Designed to be flexible, JavaServer Faces technology leverages existing,
standard UI and web-tier concepts without limiting developers to a
particular mark-up language, protocol, or client device.

 · Using Struts + JSF is much more flexible than using just Swing. It will
be very difficult for us to provide a Swing GUI on RF devices, if at all.
This means that for applications such as PF Retrieve we would need to
develop a separate GUI for RF devices if we were to use Swing. JSF will
eliminate this problem. Current Struts JSP pages will need to be changed to
use JSF tags instead of the current Struts tags. But, JSF will probably take
at least a year to mature and deliver this functionality.

 =



 -
 Do you Yahoo!?
 Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!



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



STRECL

2003-03-26 Thread Daniel Jaffa
Has any one tried out STRECL.  From the info on the site it seams like a
good addition to Eclisp, but i would some feedback about it.

http://www.strecl.com/products.do;jsessionid=A37646B36061478341E1945240F188B
1


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



Re: [ANN] - Struts-Atlanta meeting

2003-03-25 Thread Daniel Jaffa
Now this is great if you live in Atlanta, but what about us that live in New
York. :(
I have heard of a group in Jersy, but not the city.

Dan
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Struts Users List [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 12:00 PM
Subject: [ANN] - Struts-Atlanta meeting


 If you are interested in coming to the Struts Atlanta users group
 meeting, it is tonight.

 Complete details about presentation and directions are available on our
 web site:
  http://struts.sourceforge.net/struts-atlanta/

 Plan to be there early if you want a seat.


 --
 James Mitchell
 Software Developer/Struts Evangelist
 http://www.open-tools.org




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



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



New York City Struts Group

2003-03-25 Thread Daniel Jaffa
How many people would be intrested in the formation of a New York City
Struts User group.
If Atlanta GA, New Jersey can have one so should we.

Daniel Jaffa


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



Re: help.. what do i charge

2003-03-19 Thread Daniel Jaffa
You should charge just enough not to make them say that they do not want
your product.
How much do you think they would pay for the code + support.

Charge x for the software, charge y for support. And Charge xyz to any
upgrade request.

So if you think they can afford $3000, charge them that + 500 support.
Then have them pay u by the hour for any upgrades they want in the future.
Make sure u have it in contract that support is not the same as upgrading
the software.  You know it is not a bug it is a feature.


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



Re: unwanted emty lines in produced html

2003-03-12 Thread Daniel Jaffa
Then you have totally unreadable and unmanageable html.


- Original Message -
From: du Plessis, Corneil C [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 11:01 AM
Subject: RE: unwanted emty lines in produced html


 The biggest program is taglibs within logic:iterate if you try something
 like:
 logic:iterate ...trtdbean:message  //td/tr/logic:iterate

 instead of:
 logic:iterate ...
 trtdbean:message  //td/tr
 /logic:iterate

 You will find you get a lot fewer blank lines.

 -Original Message-
 From: Brian Lee [mailto:[EMAIL PROTECTED]
 Sent: 12 March, 2003 17:41
 To: [EMAIL PROTECTED]
 Subject: Re: unwanted emty lines in produced html


 Hundreds of blank lines affect rendering speed of a browser and can affect
 performance of heavily hit sites. Although each line is negligible with
 thousands of users you end up paying for the extra bandwidth.

 Plus browsers still have some quirks with blank lines. I.e. it can make an
 image look misaligned or cause a link's underline to extend beyong the
text.

 BAL

 From: David Graham [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: unwanted emty lines in produced html
 Date: Wed, 12 Mar 2003 08:24:57 -0700
 
 How are empty lines affecting the display of the html?  AFAIK, browsers
 ignore blank lines.
 
 David
 
 
 
 From: Igor Lyubimov [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: unwanted emty lines in produced html
 Date: Wed, 12 Mar 2003 16:17:07 +0100
 
 Hallo!
 
 I use struts-tiles framework for my web application.
 
 When I look in produced html code, I see wery much empty lines. In this
 case I become broken design. (Some divs have incorrect size, table cells
 are broken etc.)
 
 As I understand this problem, this emty lines are produced by embedded
 java statements and struts/tiles tags like:
 
 % ... %
 %@ ... %
 ...
 tiles:useAttribute ... /
 
 So, how can I control the output? I need to be able to use in my code
 constructions (as stated above) and I do not like to have one emty line
 per construction. I do not like to have very long lines in my code too.
 
 Have anybody solution for this problem?
 
 Thanks a lot,
 
 --
 _
   |   |
   | knipp |   Knipp  Medien und Kommunikation GmbH
---   Technologiepark
  Martin-Schmeisser-Weg 9
  D-44227 Dortmund
   Dipl.-Mathematiker Igor Lyubimov   Fon: +49-231-9703-0
   [EMAIL PROTECTED] Fax: +49-231-9703-200
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
C e B I T  2003   Besuchen Sie uns
H a n n o v e r   auf unserem Stand:
12.3.-19.3.2003   Halle 6, C 52/560
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 _
 Protect your PC - get McAfee.com VirusScan Online
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


 _
 Protect your PC - get McAfee.com VirusScan Online
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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

 __

 Disclaimer and confidentiality note


 Everything in this e-mail and any attachments relating to the official
business of
 Standard Bank Group Limited is proprietary to the company. It is
confidential, legally
 privileged and protected by law. Standard Bank does not own and endorse
any other content.
 Views and opinions are those of the sender unless clearly stated as being
that of Standard Bank.

 The person addressed in the e-mail is the sole authorised recipient.
Please notify the sender
 immediately if it has unintentionally reached you and do not read,
disclose or use the content
 in any way.

 Standard Bank can not assure that the integrity of this communication has
been maintained nor
 that it is free of errors, virus, interception or interference.

 __

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



-
To unsubscribe, 

Re: [ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-11 Thread Daniel Jaffa
A good way to tell if win zip will open your archive is to create a shortcut
on your desktop to winzip.  Try to open the shortcut while dragging the file
that you want to open.  This works for Jar, War, Zip, Tar, Exe (That where
created in winzip) and many other compressed file types.
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 2:50 PM
Subject: RE: [ANN] Struttin' With Struts beta (newbies esp. welcome)


 Winzip will open all of these and probably more:
 arc
 arj
 b64
 bhx
 cab
 hqx
 lzh
 mim
 tar
 tgz
 gz
 z
 jar
 war
 ear
 sar
 uu
 uue
 xxe

 --
 James Mitchell
 Software Developer/Struts Evangelist
 http://struts.sourceforge.net/struts-atlanta/



  -Original Message-
  From: Phil Steitz [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, March 11, 2003 2:44 PM
  To: Struts Users Mailing List
  Subject: Re: [ANN] Struttin' With Struts beta (newbies esp. welcome)
 
 
  Mark Zeltser wrote:
   Rick,
  
   Good job, somehow I can't unzip war files, I am getting
  corrupt zip file
   exception.
  
   Mark.
 
 
  Use jar -xf war file name
 
  War files are jar files, not zips.  Your JDK should include the jar
  utility in its /bin directory.
 
 
  
   Rick Reumann wrote:
  
  
  I created a web site that walks new Struts users step by step
  through the development of three VERY simple web
  applications in three
  lessons. Each lesson adds a few more features so that they
  build upon
  each other yet each stands alone such that if you follow
  the steps in
  any lesson you'll have built a very basic application regardless of
  which lesson you start with.
  
  I created these because there seemed to be lacking some more recent
  walk through Struts tutorials geared toward the very new Struts
  developer. I think real newbies will find them especially
  useful, but
  then again I could be way wrong:)
  
  I'm considering the site a beta because I'm sure there
  will be some
  mistakes. If anyone sees something I'm doing in a lesson that is way
  off (or a very bad practice) please let me know. Some of the stuff I
  know could be done in a more best practice way, but for
  the sake of
  trying to also keep the lessons small and simple some ideas weren't
  included (ie- I didn't use a constants interface for my forward
  definitions).
  
  If anyone wants to contribute, reword, or add anything please let me
  know. The site is there to help others. I got really lazy
  in a lot of
  places and didn't say much about certain things that I
  would have liked
  to. Hopefully over time the site will improve.
  
  Struttin' with Struts:
  
  http://www.reumann.net/do/struts/main
  
  --
  Rick
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
   --
   NOTICE: If received in error, please destroy and notify
  sender.  Sender
   does not waive confidentiality or privilege, and use is prohibited.
  
  
  
  
  -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


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



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



Re: Wanted: struts-calendar

2003-02-28 Thread Daniel Jaffa
Check out all you can do with this.  Matt Kruse rocks. 


Also give the man a tip
- Original Message - 
From: David Bolsover [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 4:23 PM
Subject: RE: Wanted: struts-calendar


 cool
 
 thnx
 
  -Original Message-
  From: Raible, Matt [mailto:[EMAIL PROTECTED]
  Sent: 27 February 2003 20:14
  To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
  Subject: RE: Wanted: struts-calendar
  
  
  #2 on this page is my favorite:
  
  http://www.mattkruse.com/javascript/calendarpopup/
  
   -Original Message-
   From: David Bolsover [mailto:[EMAIL PROTECTED]
   Sent: Thursday, February 27, 2003 1:10 PM
   To: Struts User
   Subject: Wanted: struts-calendar
   
   
   Does anyone know of a good pop-up style calendar that will 
   work with struts html:text ... ?
   
   Ideally I need somthing that will support the notion of locales.
   
   
   
   db 
   
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

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



Re: websites that use Struts..

2003-02-27 Thread Daniel Jaffa
www.vonage.com it is a voip.


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



Re: Tomcat servlets calling weblogic EJB's

2003-02-11 Thread Daniel Jaffa
Ok, i am doing this right now,  and it works

Put the weblogic.jar is the  C:\Program Files\Apache Group\Tomcat
4.1\shared\lib dir.

I had no problem what so ever, and have this working on 3 of my coworkers
machines

- Original Message -
From: Wendy Cameron [EMAIL PROTECTED]
To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED]
Sent: Monday, February 10, 2003 11:22 PM
Subject: Tomcat servlets calling weblogic EJB's


I have a problem connecting a a front end running under Tomcat, which
connects up to an EJB back end running on a weblogic server.  If add in the
weblogic.jar file into the tomcat class path, all of the JSP's break and i
get servlet exceptions with NoSuchMethod exception being the root cause.

I can seem to find appropriate jar file for just the weblogic client.

Can anyone provide insight.

Regards Wendy

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


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




Re: [OT] Modeling tools

2003-02-10 Thread Daniel Jaffa
I guess someone remark last week that all of the conversations eventually go
to beer is right,  and the only better think than a large white board is a
two large white boards. (Incase it is a large project)

PS IMHO  US beer is really good, but when you compare it to some of the
breweries that have been making beer longer than USA has been around we are
put to shame.  But we are catch up quickly, just look at the quality of
Californian wines, they sucked in the 80's and now that are almost as tasty
as French wines.

- Original Message -
From: Mark Galbreath [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, February 10, 2003 12:31 PM
Subject: RE: [OT] Modeling tools


Woah, mon ami!  I'm a homebrewer and I make some very tasty beverages!


Mark Galbreath
Principal Consultant
Workflow Process Engineering and Systems Integration

http://www.QAT.com
410-703-367 / 800-799-8545

Never attribute to malice that which can be adequately explained by
stupidity.  ~Hanlon's Razor



-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 11:38 AM
To: Struts Users Mailing List
Subject: RE: [OT] Modeling tools


And we all know that in the U.S. that there is no such thing as a good beer!
:-P

-Original Message-
From: Robert McIntosh [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 10:27 AM
To: Struts Users Mailing List
Subject: Re: [OT] Modeling tools


I agree, especially for collaboration. A whiteboard is a good
developer's best friend (short of a good beer)...

- Robert

Chappell, Simon P wrote:

It's called a whiteboard (or greaseboard if you fixate about
not refering to colours when describing inanimate objects) and
it does a better job of what I use Rose for than Rose does.



-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 9:30 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Modeling tools


There is no alternative to Rose.

Mark Galbreath
Principal Consultant, Workflow Process Engineering and Systems
Integration
http://www.QAT.com
410-703-367 / 800-799-8545

Never attribute to malice that which can be adequately explained by
stupidity.  ~Hanlon's Razor



-Original Message-
From: Durham David Cntr 805CSS/SCBE
[mailto:[EMAIL PROTECTED]]
Sent: Monday, February
10, 2003 10:04 AM
To: [EMAIL PROTECTED]
Subject: [OT] Modeling tools


Wondering what kind of modeling tools you would recommended.
I'm looking
for alternatives to Rational Rose and Poseidon.  Thanks.

-Dave

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



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





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





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



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



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


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




Re: [OT] Modeling tools

2003-02-10 Thread Daniel Jaffa
To name a few at my house, but I agree that French wines are better. But
California is getting close.  And Australia is also getting close.

Diamond Creek 1985 VH Cabernet Sauvignon, , Beringer 1997 Private Reserve
Cabernet Sauvignon, Opus One 1999 Opus One



  But we are catch up quickly, just look at the quality of
 Californian wines, they sucked in the 80's and now that are almost as
tasty
  as French wines.

 I don't think you can compare with nice french wines (or you have
 try only bad french wine) ;)
 Let's drink a Mouton Rotschild, Pétrus, Chateau Margaux 

 
 
  Mark Galbreath
  Principal Consultant
  Workflow Process Engineering and Systems Integration
 
  http://www.QAT.com
  410-703-367 / 800-799-8545
 
  Never attribute to malice that which can be adequately explained by
  stupidity.  ~Hanlon's Razor
 
 
 
  -Original Message-
  From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 10, 2003 11:38 AM
  To: Struts Users Mailing List
  Subject: RE: [OT] Modeling tools
 
 
  And we all know that in the U.S. that there is no such thing as a good
 beer!
  :-P
 
  -Original Message-
  From: Robert McIntosh [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 10, 2003 10:27 AM
  To: Struts Users Mailing List
  Subject: Re: [OT] Modeling tools
  
  
  I agree, especially for collaboration. A whiteboard is a good
  developer's best friend (short of a good beer)...
  
  - Robert
  
  Chappell, Simon P wrote:
  
  It's called a whiteboard (or greaseboard if you fixate about
  not refering to colours when describing inanimate objects) and
  it does a better job of what I use Rose for than Rose does.
  
  
  
  -Original Message-
  From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 10, 2003 9:30 AM
  To: 'Struts Users Mailing List'
  Subject: RE: [OT] Modeling tools
  
  
  There is no alternative to Rose.
  
  Mark Galbreath
  Principal Consultant, Workflow Process Engineering and Systems
  Integration
  http://www.QAT.com
  410-703-367 / 800-799-8545
  
  Never attribute to malice that which can be adequately explained by
  stupidity.  ~Hanlon's Razor
  
  
  
  -Original Message-
  From: Durham David Cntr 805CSS/SCBE
  [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February
  10, 2003 10:04 AM
  To: [EMAIL PROTECTED]
  Subject: [OT] Modeling tools
  
  
  Wondering what kind of modeling tools you would recommended.
  I'm looking
  for alternatives to Rational Rose and Poseidon.  Thanks.
  
  -Dave
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


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



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




Re: [OT] Modeling tools

2003-02-10 Thread Daniel Jaffa
Here, Here, Here.  I did not say this as well, but well said (Spec the
CakeBread)

Dan
- Original Message -
From: Mark Galbreath [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, February 10, 2003 2:59 PM
Subject: RE: [OT] Modeling tools


The best California wines in my long flirtation with the nectar are anything
from Cakebread Cellars, and any cabernet sauvignon (Bordeaux grape) from the
Russian River Valley.  These vineyards truly rival the best the French have,
and you don't have to get upset drinking them because the growers support
getting rid of Suddam Insane.


Mark Galbreath
Principal Consultant
Workflow Process Engineering and Systems Integration
http://www.QAT.com
410-703-367 / 800-799-8545
Never attribute to malice that which can be adequately explained by
stupidity.  ~Hanlon's Razor


-Original Message-
From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 2:53 PM
To: Struts Users Mailing List
Subject: Re: [OT] Modeling tools


To name a few at my house, but I agree that French wines are better. But
California is getting close.  And Australia is also getting close.

Diamond Creek 1985 VH Cabernet Sauvignon, , Beringer 1997 Private Reserve
Cabernet Sauvignon, Opus One 1999 Opus One



  But we are catch up quickly, just look at the quality of Californian
 wines, they sucked in the 80's and now that are almost as
tasty
  as French wines.

 I don't think you can compare with nice french wines (or you have
 try only bad french wine) ;) Let's drink a Mouton Rotschild, Pétrus,
 Chateau Margaux 

 
 
  Mark Galbreath
  Principal Consultant
  Workflow Process Engineering and Systems Integration
 
  http://www.QAT.com
  410-703-367 / 800-799-8545
 
  Never attribute to malice that which can be adequately explained by
  stupidity.  ~Hanlon's Razor
 
 
 
  -Original Message-
  From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 10, 2003 11:38 AM
  To: Struts Users Mailing List
  Subject: RE: [OT] Modeling tools
 
 
  And we all know that in the U.S. that there is no such thing as a
  good
 beer!
  :-P
 
  -Original Message-
  From: Robert McIntosh [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 10, 2003 10:27 AM
  To: Struts Users Mailing List
  Subject: Re: [OT] Modeling tools
  
  
  I agree, especially for collaboration. A whiteboard is a good
  developer's best friend (short of a good beer)...
  
  - Robert
  
  Chappell, Simon P wrote:
  
  It's called a whiteboard (or greaseboard if you fixate about
  not refering to colours when describing inanimate objects) and it
  does a better job of what I use Rose for than Rose does.
  
  
  
  -Original Message-
  From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 10, 2003 9:30 AM
  To: 'Struts Users Mailing List'
  Subject: RE: [OT] Modeling tools
  
  
  There is no alternative to Rose.
  
  Mark Galbreath
  Principal Consultant, Workflow Process Engineering and Systems
  Integration http://www.QAT.com
  410-703-367 / 800-799-8545
  
  Never attribute to malice that which can be adequately explained
  by stupidity.  ~Hanlon's Razor
  
  
  
  -Original Message-
  From: Durham David Cntr 805CSS/SCBE
  [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February
  10, 2003 10:04 AM
  To: [EMAIL PROTECTED]
  Subject: [OT] Modeling tools
  
  
  Wondering what kind of modeling tools you would recommended. I'm
  looking for alternatives to Rational Rose and Poseidon.  Thanks.
  
  -Dave
  
  -
  
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  -
  
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  
  --
  ---
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  
  ---
  --
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


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

Re: [OT] Geek Code

2003-01-31 Thread Daniel Jaffa
With out Beer, why code
- Original Message -
From: Daniel Joshua [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, January 31, 2003 1:47 AM
Subject: RE: [OT] Geek Code


 Why does everthing revolve around beer?

 Regards,
 Daniel


 -Original Message-
 From: Andrew Hill [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 31, 2003 11:51 AM
 To: Struts Users Mailing List
 Subject: RE: [OT] Geek Code


 You must be from the eastern states mate.
 The figure on the civilised side of the continent is closer to 70% less
 spending power nowadays,
 and anyway ...
 we can spell Mum correctly,
 and we know how to pronounce herbs correctly,
 and we like cricket,
 and most important of all - our beer is better!
 Mmmm... Beer. drool/ TGIF!

 (Not that I can get much decent beer since Im living OS ATM (Well I can
get
 VB, but it aint half as good as EB))

 -Original Message-
 From: Todd Pierce [mailto:[EMAIL PROTECTED]]
 Sent: Friday, 31 January 2003 11:35
 To: 'Struts Users Mailing List'
 Subject: RE: [OT] Geek Code


 A stupid Australian is just a stupid American with 40% less spending power

 -Original Message-
 From: Andrew Hill [mailto:[EMAIL PROTECTED]]
 Sent: Friday, 31 January 2003 2:29 PM
 To: Struts Users Mailing List
 Subject: RE: [OT] Geek Code


 Ill have you know Im a stupid Australian not a stupid American.

 Now run along and bother my oh so superior person no further thou ignorant
 plebian who groketh not the ;- smiley, or I shall have to insult you a
 second time. (Or say ni to you...)

 btw
 For anyone who didnt quite parse my comment correctly, the kill the
latin
 reference referred to the use of the language latin in signatures. (Of
 course if I could actually read or write latin my opinion on its use in
sigs
 would be quite different...)
 /btw


 -Original Message-
 From: alexj [mailto:[EMAIL PROTECTED]]
 Sent: Friday, 31 January 2003 03:52
 To: Struts Users Mailing List; [EMAIL PROTECTED]
 Subject: Re: [OT] Geek Code


 pff you just song like a stupid man who think he have all the rigth
 and the other people didn't have the rigth to have a different opinon
 stupid american 

 - Original Message -
 From: Andrew Hill [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Thursday, January 30, 2003 4:42 AM
 Subject: RE: [OT] Geek Code


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

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


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

 

Re: [OT] Obscure Programming Languages

2003-01-29 Thread Daniel Jaffa
(((nOT(LISP)
- Original Message -
From: Mark Galbreath [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, January 28, 2003 11:31 AM
Subject: RE: [OT] Obscure Programming Languages


 Close:

 http://www.paulgraham.com/jargon96.html

 I have the hard copy of this book - it's great!

 POP-11?

 -Original Message-
 From: Jacob J. Hookom [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 28, 2003 11:24 AM

 LISP - Lots of InSignifigant Parens

 Prolog is where it's at :-)

 - Original Message -
 From: Chappell, Simon P [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]

 Not something to admit in public!

 Actually, I really enjoyed learning POP-11 back at university. Ahh, those
 were the days.

 -Original Message-
 From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 28, 2003 10:14 AM
 
 I actually taught myself Scheme (the MIT version) on the Macintosh in
 the early 90s  :-)
 
 -Original Message-
 From: James Turner [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 28, 2003 10:35 AM
 
  LISP boy is correct, and I brought this subject up about a year ago
  and Craig answered pretty definitively - try a search on
  synchronization in the archive:
 
 LISP Boy?  Do I get the power to warp men's minds using my LISPParens?
 Can I self-modify code in a single bound?  Does this make me the
 sidekick of SchemeMan?
 
 Holy PDL Stack Overflow, SchemeMan!



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



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




Re: regular expression help

2003-01-20 Thread Daniel Jaffa
by the way check out
http://builder.cnet.com/webbuilding/pages/Programming/Kahn/050698/toolrei.ht
ml
- Original Message -
From: Raible, Matt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, January 17, 2003 11:38 AM
Subject: RE: regular expression help


 Damn, I meant to say sounds like *it'll* work - is it lunchtime yet?!

 -Original Message-
 From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 17, 2003 9:23 AM
 To: 'Struts Users Mailing List'
 Subject: RE: regular expression help


 Well if it sounds like work, I hope you're getting paid ;)
 here it is in validator format

   constant
 constant-nameconst/constant-name
 constant-value^(\+|\-|\s)$/constant-value
   /constant

 if you want to allow multiple characters (+ +-), use (\+|\-|\s)*

 --
 Voytek Jarnot
 Quidquid latine dictum sit, altum viditur.


 -Original Message-
 From: Raible, Matt [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 17, 2003 10:04 AM
 To: 'Struts Users Mailing List'
 Subject: RE: regular expression help


 Sounds like it's work, I'm trying to create a constant for the validator -
 where a field can only have +, - or  

   constant
 constant-namezip/constant-name
 constant-value^\d{5}\d*$/constant-value
   /constant


 -Original Message-
 From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 17, 2003 8:14 AM
 To: 'Struts Users Mailing List'
 Subject: RE: regular expression help


 how about (\+|\-|\s)

 --
 Voytek Jarnot
 Quidquid latine dictum sit, altum viditur.


 -Original Message-
 From: Raible, Matt [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 17, 2003 8:04 AM
 To: '[EMAIL PROTECTED]'
 Subject: regular expression help


 Anyone know a good regular expression translator - or the equivalent of
 allowing +, - or  ?

 Thanks,

 Matt


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

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


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

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


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



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




Re: Struts application

2003-01-17 Thread Daniel Jaffa
That is a great picture of what you are doing, but your question does not
help anyone help you.

1 Did you do any logging in your action to see where the null pointer is
being generated.  At least put some System.err.println(); in you code to see
where you are failing.
2. Are you sure that it is even getting to you action.
3. Is your manager causing the problem.

I use weblogic 6.1sp2 and use Log4J to log my app, if you are not currently
using it I would suggest that you do.
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, January 16, 2003 6:18 PM
Subject: Struts application


 I applied struts in the simplest form and received the below error
message.
 This application resides on a Weblogic 6.0 server.

 Scenario:
 It involves two JSP's, two form classes and an action class.  The
Index.jsp
 is loaded first where you key in the username and click the ok submit
 button. It takes you to the other jsp, accept.jsp, which displays the user
 name.

 In the backend, when you click the button on the index.jsp, the value of
 the username is taken to the form bean and in the action class the data
 from the form bean of the index.jsp is retrieved and stored in the form
 bean of the the accept.jsp and the jsp is loaded.  It automatically gets
 the data from the form bean and displays  it on  the accept.jsp.


 Problem:
 The problem I'm having is once I click on the ok button from the index.jsp
 I get the following error message displayed from weblogic:




 Jan 16, 2003 3:46:10 PM EST Error HTTP
 [WebAppServletContext(6821348,wrox-struts,/wrox-struts)] Servlet failed
 with Exception java.lang.NullPointerException





 It's set up in the below structure:







  (Embedded image moved to file: pic04734.gif)







 Can anyone help??

 Thanks.

 CONFIDENTIAL MATERIAL.  This electronic message contains information from
 Princeton eCom Corporation, is confidential and may be privileged.  It is
 intended for the use of the addressee only.  If you are not the addressee
 indicated in this message (or responsible for delivery of the message to
 such person), any disclosure, copy, distribution or use of the contents of
 this message is prohibited.  Please destroy this message and notify us
 immediately if this is the case by sending a reply to this message or by
 sending an e-mail to [EMAIL PROTECTED] and by destroying all
 copies of this message and any attachments. Thank you.  For more
 information about Princeton eCom Corporation, please visit us at
 http://www.princetonecom.com








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


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




Re: Bean problems

2002-12-26 Thread Daniel Jaffa
public String getgeozoneID()

***888 this should be   public String getGeozoneID()  **

public void setgeozoneID(String geozoneID)

* this should be public void setGeozoneID(String geozoneID)
***


- Original Message -
From: David Rothschadl [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, December 26, 2002 3:41 PM
Subject: RE: Bean problems



 I have tried setting things up right, using all combinations that I can
think of, but I still get the error,

 Error Message: No getter method for property geozoneID of bean
org.apache.struts.taglib.html.BEAN

 Here is what I have now..

 Relevant code from the JSP:

 html:form action=GeoZoneAction focus=geozoneID

  blah, blah, blah,

 html:text property=geozoneID size=3 maxlength=3/

 Here is the relevant code from the Action Form:

 package tgt.transportation.points.form;

 import java.util.Vector;

 import javax.servlet.http.HttpServletRequest;

 import org.apache.struts.action.ActionError;

 import org.apache.struts.action.ActionErrors;

 import org.apache.struts.action.ActionForm;

 import org.apache.struts.action.ActionMapping;

 /**

 * Form Bean for Geographic Zone Maintenance

 */

 public class GeoZoneForm extends ActionForm {

 protected String geozoneID = null;



 protected String geozoneName = null;





 /**

 * The maintenance action we are performing (Create or Edit).

 */

 private String action = Edit;

 /**

 * Should we auto-connect at startup time?

 */

 private boolean autoConnect = false;

 /**

 * The host name.

 */

 private String host = null;



 /**

 * Gets the geozoneID

 * @return Returns a String

 */

 public String getgeozoneID()

 {return this.geozoneID;}

 /**

 * Sets the geozoneID

 * @param geozoneID The geozoneID to set

 */

 public void setgeozoneID(String geozoneID)

 {this.geozoneID = geozoneID;}



 /**

 * Gets the geozoneName

 * @return Returns a String

 */

 public String getgeozoneName()

 {return this.geozoneName;}

 /**

 * Sets the geozoneName

 * @param geozoneName The geozoneName to set

 */

 public void setgeozoneName(String geozoneName)

 {this.geozoneName = geozoneName;}



 // --- Properties



 /**

 * Return the maintenance action.

 */

 public String getAction() {

 return (this.action)

 }.





 /**

 * Set the maintenance action.

 *

 * @param action The new maintenance action.

 */

 public void setAction(String action) {

 this.action = action;

 }



 /**

 * Return the auto-connect flag.

 */

 public boolean getAutoConnect() {

 return (this.autoConnect);

 }



 /**

 * Set the auto-connect flag.

 *

 * @param autoConnect The new auto-connect flag

 */

 public void setAutoConnect(boolean autoConnect) {

 this.autoConnect = autoConnect;

 }



 /**

 * Return the host name.

 */

 public String getHost() {

 return (this.host);

 }





 /**

 * Set the host name.

 *

 * @param host The host name

 */

 public void setHost(String host) {

 this.host = host;

 }



 /**

 * Reset all properties to their default values.

 *

 * @param mapping The mapping used to select this instance

 * @param request The servlet request we are processing

 */



 public void reset(ActionMapping mapping, HttpServletRequest request) {

 this.action = Edit;

 this.autoConnect = false;

 this.host = null;

 this.geozoneID = null;

 this.geozoneName = null;

 }





 /**

 * Validate the properties that have been set from this HTTP request,

 * and return an codeActionErrors/code object that encapsulates any

 * validation errors that have been found. If no errors are found, return

 * codenull/code or an codeActionErrors/code object with no

 * recorded error messages.

 *

 * @param mapping The mapping used to select this instance

 * @param request The servlet request we are processing

 */

 public ActionErrors validate(ActionMapping mapping,

 HttpServletRequest request) {

 ActionErrors errors = new ActionErrors();

 if ((geozoneID == null) || (geozoneID.length()  1))

 errors.add(geozoneID, new ActionError(error.geozoneID.required));

 if ((geozoneName == null) || (geozoneName.length()  1))

 errors.add(geozoneName, new ActionError(error.geozoneName.required));

 return errors;

 }

 }

 Here is the relevant config file code:

 form-beans

 !-- Geographic Zone Maintenance form bean --

 form-bean name=GeoZoneForm

 type=tgt.transportation.points.form.GeoZoneForm/



 !-- Transportation Points Relationship Maintenance form bean --

 form-bean name=TransPointsRelMaintForm

 type=tgt.transportation.points.form.TransPointsRelMaintForm/



 /form-beans

 action-mappings

 blah, blah, blah



 !-- Geographic Zone Maintenance Action --

 action path=/GeoZoneAction

 type=tgt.transportation.points.action.GeoZoneAction

 name=GeoZoneForm

 scope=request

 validate=true

 input=/iGeoZoneMaint.jsp

   forward name=Menu path=/Menu.jsp/

   forward name=GeoZoneMaint 

Re: kiosk mode browser

2002-12-20 Thread Daniel Jaffa
We should all try to protect users from themselves.

- Original Message -
From: Chappell, Simon P [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, December 20, 2002 11:47 AM
Subject: RE: kiosk mode browser


Agreed. Public websites should never try to use kiosk mode or any of the
other evil things they can do.

Internal web applications, however, can and I would say should, use kiosk
mode to help protect the users from themselves.

Simon

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




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




Re: Weblogic Page Compilation.

2002-11-22 Thread Daniel Jaffa
Why not get a bigger machine, our jsp take almost no time to compile
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, November 22, 2002 9:52 AM
Subject: Re: Weblogic Page Compilation.






 One option may be the Ant task defined for this purpose.

 http://jakarta.apache.org/ant/manual/OptionalTasks/wljspc.html


 I've not used this -

 Kevin

 http://www.strutskickstart.com




 Cristian Cardenas [EMAIL PROTECTED] on 11/22/2002
 10:16:10 AM

 Please respond to Struts Users Mailing List
[EMAIL PROTECTED]

 To:Struts Users Mailing List [EMAIL PROTECTED]
 cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
 Subject:Re: Weblogic Page Compilation.


 no, how can i do it?

 - Original Message -
 From: Davide Bruzzone [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Thursday, November 21, 2002 7:48 PM
 Subject: RE: Weblogic Page Compilation.


  Are you precompiling your pages?
 
  Dave
 
  -Original Message-
  From: Cristian Cardenas [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 21, 2002 2:59 PM
  To: Struts Users Mailing List
  Subject: Weblogic Page Compilation.
 
 
  This is not an Struts specific question:
 
  Somebody knows an posible optimization to Weblogic 6.1 on Windows 2000
to
  accelerate the JSP compilation time. Because, in my configuration it
 takes
 a
  lot...
 
  Thanks.
  Cristian.
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


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







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



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




Problem with forward

2002-11-18 Thread Daniel Jaffa
Ok, i have an action that creates a pdf.  The action then forwards it self
to a Servlet that should display the just generatered PDF.

When i call the servlet directly it works fine
http://10.132.240.33:82/domesticviolence/GenPDF/

but when my Action forwards to the servlet nothing happens
forward name=dataLoaded path=/GenPDF/ redirect=true/

I get no error messages, or any HTML error page.

I know that ie has a problem with the length of the response object but i am
handling that correctly.

Any idea on how to fix the problem.

Daniel Jaffa


public class Transform
{

 public void Transform() {}
 private static Logger logger = Logger.getLogger(Transform.class);
 public static void action (HttpServletRequest request, HttpServletResponse
response)
 {
   javax.servlet.ServletOutputStream ostream;
   FileInputStream fis;
   byte[] theByte;

 try {
  String orderNumber = (String) request.getAttribute(orderNumber);
  String formApprovedID = (String) request.getAttribute(formApprovedID);
  RegistryBean myForm = (RegistryBean) request.getAttribute(myForm);
  theByte = FileByte.convertFileToByte(/pdf/myfile.pdf);
  ostream = response.getOutputStream();
  response.setContentType(application/pdf);
  ostream = response.getOutputStream();
  ByteArrayOutputStream baos = new ByteArrayOutputStream();

  FileInputStream from = new FileInputStream(/pdf/myfile.pdf);

  byte[] buffer = new byte[4096];
  int bytes_read;
  while((bytes_read = from.read(buffer)) != -1)
  {
   baos.write(buffer, 0, bytes_read);
  }
  response.setContentLength( baos.size());
  baos.writeTo(ostream);
  ostream.flush();
  ostream.close();
  response.flushBuffer();
  logger.debug(Buffer Size + response.getBufferSize());
  logger.debug(isCommitted() + response.isCommitted());
  } catch( Exception e) {System.err.println(e);}





  }
  }



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




Re: Problem with forward

2002-11-18 Thread Daniel Jaffa
This would be fine and groovey, but i the code for the file will be replaced
with a blob in the very near future.
- Original Message -
From: edgar [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, November 18, 2002 5:58 PM
Subject: RE: Problem with forward


 I am doing this and the way that I found that works is to actually
 output the file to filename.pdf.  Then redirect to the created file.
 I am not sure why.

 Edgar

 -Original Message-
 From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
 Sent: Monday, November 18, 2002 4:43 PM
 To: 'Struts Users Mailing List'
 Subject: Problem with forward


 Ok, i have an action that creates a pdf.  The action then forwards it
 self to a Servlet that should display the just generatered PDF.

 When i call the servlet directly it works fine
 http://10.132.240.33:82/domesticviolence/GenPDF/

 but when my Action forwards to the servlet nothing happens forward
 name=dataLoaded path=/GenPDF/ redirect=true/

 I get no error messages, or any HTML error page.

 I know that ie has a problem with the length of the response object but
 i am handling that correctly.

 Any idea on how to fix the problem.

 Daniel Jaffa


 public class Transform
 {

  public void Transform() {}
  private static Logger logger = Logger.getLogger(Transform.class);
  public static void action (HttpServletRequest request,
 HttpServletResponse
 response)
  {
javax.servlet.ServletOutputStream ostream;
FileInputStream fis;
byte[] theByte;

  try {
   String orderNumber = (String) request.getAttribute(orderNumber);
   String formApprovedID = (String)
 request.getAttribute(formApprovedID);
   RegistryBean myForm = (RegistryBean) request.getAttribute(myForm);
   theByte = FileByte.convertFileToByte(/pdf/myfile.pdf);
   ostream = response.getOutputStream();
   response.setContentType(application/pdf);
   ostream = response.getOutputStream();
   ByteArrayOutputStream baos = new ByteArrayOutputStream();

   FileInputStream from = new FileInputStream(/pdf/myfile.pdf);

   byte[] buffer = new byte[4096];
   int bytes_read;
   while((bytes_read = from.read(buffer)) != -1)
   {
baos.write(buffer, 0, bytes_read);
   }
   response.setContentLength( baos.size());
   baos.writeTo(ostream);
   ostream.flush();
   ostream.close();
   response.flushBuffer();
   logger.debug(Buffer Size + response.getBufferSize());
   logger.debug(isCommitted() + response.isCommitted());
   } catch( Exception e) {System.err.println(e);}





   }
   }



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


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



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




Re: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-14 Thread Daniel Jaffa
Well i know of a job opening in new york city.

So it is not all bad
- Original Message -
From: Davide Bruzzone [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, November 14, 2002 12:23 PM
Subject: RE: [OT] Where can I find a Struts / J2EE Jobs?


Khalid,

 This is all just common sense really, but it helped
 me when I was laid off at the end of June (BTW, I
 was working again in five weeks, and as much as I'd
 like to think that I'm a rock star, I think I was
 monumentally lucky)... However, if it can help you
 or someone else on the list...

 I live in Colorado and as I said, I was laid off
 from a telecom company at the end of June... I found
 my new job through a Yahoo job board (specifically
 the Rocky Mountain Internet Users' Group Job board -
 which you won't care about given that you live in
 the UK...). Anyway, here's what I learned:

 - There seem to be a lot of job bots out there. My
 current employer didn't post the opening on the
 board where I found it. They posted it on Dice from
 where it was eventually scraped. I personally didn't
 have much luck with the big job sites (Monster,
 Dice, etc.). There didn't seem to be very many
 postings there, and they seemed to be fairly
 stale/stagnant. OTOH, smaller, more informal job
 boards seemed to have a steady trickle of new
 postings.

Thank you sir! I presume you are talking about
DICE.com

Yes.

You said that you didn't find it on Dice, but it
was found somewhere else. You didn't
where you found the informal job boards.

Word of mouth. I started going to every career fair, Internet Chamber of
Commerce meeting, other meetings where unemployed IT people would
congregate, etc. I was officially unemployed for four weeks, and during that
time I managed to put together quite a collection of business cards. I also
had a layoff buddy (another guy from my team who was laid off when I was)
with whom I exchanged information, swapped leads, etc. Its just a matter of
knocking on every door you can think of.

What I think really sucks are the pay sites that are preying on people who
are in a situation where they don't have a lot of extra disposable income.
Interestingly, although these sites claim that their Fuzzy logic, neural
net, AI-based systems will find postings that you won't find anywhere else,
I found this not to be true. The free teaser posting titles that the pay
sites would e-mail me were exactly the same as those that I would find on
the free boards.

 - Keywords, keywords, keywords! My employer received
 800 resumes (or for those of you across the pond,
 CVs) for my position. They eliminated 90% of those
 without even looking at them (they used keyword
 search software). Companies are having to do this
 because of the ratio of available positions to
 available candidates.

Bloody hell! That is a huge ratio 800 to 1!
I had a suspicion about search keyword software but
I didn't realize. I will definitely update my CV to
be completely keyword specific. You know this is so
similar to static web design with META tags.
My CV is two pages long, and it is rather concise,
but I have had a request from an agency  a couple
of weeks ago to include my technologies and buzz
word keywords that increased to three pages.
Most of  the agents said I have good looking CV.
I have had interviews with many agencies, but I got
the feeling that they were just to polite sometimes.
When they had me in for the interview I felt they
were being a little cynical, and maybe that were
trawling the web for talent. I can understand,
because they are so few jobs and lots of agency
trying to change the commission for the candidate
who can exactly fit the required job specification.

One of my colleagues here mentioned something that I thought was a good
idea. Since resumes are supposed to be no more than two pages long, but IT
people frequently have a difficult time keeping theirs that short, he said
that he has one version where he adds everything that he does (Its five
pages long), and one abridged two page version. And yes, Web-based resumes
are a good place to put your long resume. I had even toyed with the idea of
putting together a fancy Web-based resume with collapsible sections so that
it could serve both purposes and could showcase my HTML skills, etc. Then I
found a job and got lazy... :-/

As far as employment agencies are concerned, I found that the ones that I
talked to here in the States  are fairly hungry. Times are lean for them
too. The problem they're having is a) There are so many candidates out
there, and so many other avenues that companies and candidates can take that
companies don't need them any more, and b) I found that when companies do
use them, they go to multiple agencies and pit them against each other.

 pre-screenings with the remaining 80 people, and
 eventually met about 10 of those 80 in person.
 The second page of my resume contains all my
 technical skills, and is very keyword rich. You're
 up against a 

Re: Mozilla asking to save *.do ?!

2002-11-11 Thread Daniel Jaffa
Is this a mime type problem,  check the registry hkey_classes_root.  I had
this problem with netscape about 4 or 5 years ago.

- Original Message -
From: Michael Delamere [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, November 11, 2002 12:27 PM
Subject: RE: Mozilla asking to save *.do ?!


Simon,

1.  I also think Mozilla is great
2.  Are you trying to insult me or my intelligence? ;-)

Regards,

Michael



-Original Message-
From: Chappell, Simon P [mailto:Simon.Chappell;landsend.com]
Sent: Montag, 11. November 2002 18:24
To: Struts Users Mailing List
Subject: RE: Mozilla asking to save *.do ?!

Are you trying to view stuff straight from your harddrive? *.do files
are only properly viewable when served up by an appropriate server. Your
symptoms suggest direct viewing to me.

+1 for Mozilla being great! :-)

Simon

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


-Original Message-
From: Eddie Bush [mailto:ekbush;swbell.net]
Sent: Monday, November 11, 2002 12:21 PM
To: Struts Users Mailing List
Subject: Re: Mozilla asking to save *.do ?!


I can't imagine it.  Mozilla is my primary browser - never had
an issue
with it.

Michael Delamere wrote:

Hi,

When calling a *.do URL in Mozilla, I am asked whether I want to save
the file or open it using an application!

I´m sure that this cannot be the kind of behaviour that one is looking
for, when writing an application which consists of about 90% of *.do
URLs.

Is there a way around this that I may not be aware of right now?  I
haven´t actually changed any settings in Mozilla, so this is
the default
behaviour!

Has anyone else experienced this?

Regards,

Michael


--
Eddie Bush





--
To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Daniel Jaffa
Now that jguru wants money to search their archives are people still using
it as much
- Original Message -
From: Ted Husted [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, November 07, 2002 3:45 PM
Subject: Re: [ANNOUNCE] Struts In Action now in print


 The best place to post any questions regarding the mechanics of
 the SIA book is the forum at the book's website at manning.com. I
 will be following up on any questions posted there.

 I will also be spending more time at the JGuru Struts forum now,
 to help take the heat off this much-burdened mailing list =:0)

 -Ted.



 --
 To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??????????

2002-11-06 Thread Daniel Jaffa
1. What about SSL,  SSL is on by default (port 6667).  Could this be the
issue.
Yes this is wrong of BEA, SSL should not be on by default, it should be
off and turned on only
if you need to use it.


2.  How do you shut down your weblogic servers.  Change and use the
following code.
you can add the classpath to the following line or just add the
weblogic.jar to your classpath of the server.
java weblogic.Admin -url t3://localhost:82 -username system -password
password SHUTDOWN 0
This is the clean way to shut down a server.


- Original Message -
From: Nekkalapudi, Viplava [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 6:22 PM
Subject: RE: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??


 Hi Daniel,
 Did you have a chance to read my last mail which I sent around 4:00PM.
 If there are 3 instances running for WEBLOGIC 6.1 SP2, then why it is
 not an issue with STRTUS 1.0.2?
 Our STRUTS 1.1 application also works fine with the Validatior Frame
 work, but only problem is with the port issue. We need to wait a minimum
of
 5/10 minutes.
 (May be to stop all these instances).

  But today we just modified the the DOC-TYPE in struts-config.xml file to
 refer STRUTS 1.1 DTD in our web application developed based on STRUTS
1.0.2.
 We started seeing this error.

 Thanks for your time.


 -Original Message-
 From: Daniel Jaffa [mailto:jaffad;courtinnovation.org]
 Sent: Tuesday, November 05, 2002 4:28 PM
 To: Struts Users Mailing List
 Subject: Re: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??


 netstat -a returns

 TCPproliant-ml370:82  proliant-ml370:0   LISTENING
 TCPproliant-ml370:90  proliant-ml370:0   LISTENING
 TCPproliant-ml370:94  proliant-ml370:0   LISTENING

 Which are the 3 instances of Weblogic Server 6.1 SP2.

 Eddie, this is not a Struts error and it is also not a BEA Weblogic error.
 I have configured Weblogic 6.1 with struts 1.1 b1 and b2.  This is a
config
 error not a
 application or framework error.

 Viplava,  please look at what your configuration is, I assure you that you
 have one small
 error that is snowballing you right now.


 Daniel Jaffa


 Sa' right
 Sa' write
 - Original Message -
 From: Eddie Bush [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Tuesday, November 05, 2002 5:40 PM
 Subject: Re: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??


  I believe it's inconceivable that this is a Struts issue.  Struts isn't
  causing any ports to be open - it just runs in your web container.  I
  have heard that running WebLogic as a service can cause this behavior
  though.  The suggestion I hear was When the install asks if you'd like
  the server to run as a service - just say NO!
 
  It *is* a WebLogic bug :-)  I guarantee you.
 
  As I recall (and my memory is fuzzy) WebLogic built some custom
  socket-handling code (native C-language stuff), to use in their server,
  and, apparantly, they didn't do a good job of freeing them up.  I find
  it odd that they don't show up under netstat -a, but the fact of the
  matter is that the server is the only animal in the zoo that will open
  that port :-)
 
  You asked for an idea:
 
  - complain *loudly* to your server vendor!  (file a bug if there
  isn't one outstanding)
  - find other people having this problem
  - organize and lobby to have it fixed
 
  ... that's my idea.
 
  Nekkalapudi, Viplava wrote:
 
  I already posted this some time back about the problem of server port
  already in use.
  We couldn't get away from this problem so we still use STRUTS 1.0.2 for
 our
  application.
  
  We seen that by just modifying the DTD reference from STRUTS 1.0 to
 STRUTS
  1.1 in the struts-config.xml, resulting the port bind error (at the end
 of
  this mail).
  We use Struts 1.0.2 with Weblogic Server 6.1 SP2.
  
  I wonder how Struts 1.1 DTD related with the Weblogic port bind error?
  
  If any one want to see this error with their application uses STRTUS
 1.0.2,
  Just modify the DTD reference in the struts-config.xml to STRUTS 1.1
DTD.
  Start weblogic server, shutdown and restart the server again.
  (The server binds the port correctly for the first time).
  
   Any Ideas???
  
  --
  Eddie Bush
 
 
 
 
  --
  To unsubscribe, e-mail:
 mailto:struts-user-unsubscribe;jakarta.apache.org
  For additional commands, e-mail:
 mailto:struts-user-help;jakarta.apache.org
 


 --
 To unsubscribe, e-mail:
 mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:struts-user-help;jakarta.apache.org

 --
 To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??????????

2002-11-06 Thread Daniel Jaffa
1.  On the console screen under the server.

When u run Strts 1.0.2, WLS 6.1, are u running on two servers or one.

I would love to help u but i am up to my eye balls in work.  Demo is due Nov
21,  I wanted it due Nov 26

State Judges here i come

- Original Message -
From: Nekkalapudi, Viplava [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 10:44 AM
Subject: RE: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??


 1. Where to set SSL to be turned OFF?
I am not sure about it.

 2. We do graceful shutdown of the server either from command line OR even
 from the console.
Still we get the Bind Exception.

  Again I am repeating this is not an issue with Struts 1.0.2/WLS 6.1 SP2
and
 only with
  Struts 1.1 B2/WLS 6.1 SP2.
  But even with Strts 1.0.2, WLS 6.1, just by modifying the
struts-config.xml
 to refer struts1.1 DTD we get this error.


 Can any one have a web application based on Struts 1.1 B2/Weblogic 6.1
 SP2/ANT 1.5.1 running successfully on WIN 2000?
 If so, and willing to help on this problem, we can discuss this off line.

 Thanks,   Vip.




 -Original Message-
 From: Daniel Jaffa [mailto:jaffad;courtinnovation.org]
 Sent: Wednesday, November 06, 2002 8:42 AM
 To: Struts Users Mailing List
 Subject: Re: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??


 1. What about SSL,  SSL is on by default (port 6667).  Could this be the
 issue.
 Yes this is wrong of BEA, SSL should not be on by default, it should
be
 off and turned on only
 if you need to use it.


 2.  How do you shut down your weblogic servers.  Change and use the
 following code.
 you can add the classpath to the following line or just add the
 weblogic.jar to your classpath of the server.
 java weblogic.Admin -url t3://localhost:82 -username system -password
 password SHUTDOWN 0
 This is the clean way to shut down a server.


 - Original Message -
 From: Nekkalapudi, Viplava [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Tuesday, November 05, 2002 6:22 PM
 Subject: RE: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??


  Hi Daniel,
  Did you have a chance to read my last mail which I sent around
4:00PM.
  If there are 3 instances running for WEBLOGIC 6.1 SP2, then why it
is
  not an issue with STRTUS 1.0.2?
  Our STRUTS 1.1 application also works fine with the Validatior Frame
  work, but only problem is with the port issue. We need to wait a minimum
 of
  5/10 minutes.
  (May be to stop all these instances).
 
   But today we just modified the the DOC-TYPE in struts-config.xml file
to
  refer STRUTS 1.1 DTD in our web application developed based on STRUTS
 1.0.2.
  We started seeing this error.
 
  Thanks for your time.
 
 
  -Original Message-
  From: Daniel Jaffa [mailto:jaffad;courtinnovation.org]
  Sent: Tuesday, November 05, 2002 4:28 PM
  To: Struts Users Mailing List
  Subject: Re: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??
 
 
  netstat -a returns
 
  TCPproliant-ml370:82  proliant-ml370:0   LISTENING
  TCPproliant-ml370:90  proliant-ml370:0   LISTENING
  TCPproliant-ml370:94  proliant-ml370:0   LISTENING
 
  Which are the 3 instances of Weblogic Server 6.1 SP2.
 
  Eddie, this is not a Struts error and it is also not a BEA Weblogic
error.
  I have configured Weblogic 6.1 with struts 1.1 b1 and b2.  This is a
 config
  error not a
  application or framework error.
 
  Viplava,  please look at what your configuration is, I assure you that
you
  have one small
  error that is snowballing you right now.
 
 
  Daniel Jaffa
 
 
  Sa' right
  Sa' write
  - Original Message -
  From: Eddie Bush [EMAIL PROTECTED]
  To: Struts Users Mailing List [EMAIL PROTECTED]
  Sent: Tuesday, November 05, 2002 5:40 PM
  Subject: Re: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??
 
 
   I believe it's inconceivable that this is a Struts issue.  Struts
isn't
   causing any ports to be open - it just runs in your web container.  I
   have heard that running WebLogic as a service can cause this behavior
   though.  The suggestion I hear was When the install asks if you'd
like
   the server to run as a service - just say NO!
  
   It *is* a WebLogic bug :-)  I guarantee you.
  
   As I recall (and my memory is fuzzy) WebLogic built some custom
   socket-handling code (native C-language stuff), to use in their
server,
   and, apparantly, they didn't do a good job of freeing them up.  I find
   it odd that they don't show up under netstat -a, but the fact of the
   matter is that the server is the only animal in the zoo that will open
   that port :-)
  
   You asked for an idea:
  
   - complain *loudly* to your server vendor!  (file a bug if there
   isn't one outstanding)
   - find other people having this problem
   - organize and lobby to have it fixed
  
   ... that's my idea.
  
   Nekkalapudi, Viplava wrote:
  
   I

Re: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??????????

2002-11-05 Thread Daniel Jaffa
netstat -a returns

TCPproliant-ml370:82  proliant-ml370:0   LISTENING
TCPproliant-ml370:90  proliant-ml370:0   LISTENING
TCPproliant-ml370:94  proliant-ml370:0   LISTENING

Which are the 3 instances of Weblogic Server 6.1 SP2.

Eddie, this is not a Struts error and it is also not a BEA Weblogic error.
I have configured Weblogic 6.1 with struts 1.1 b1 and b2.  This is a config
error not a
application or framework error.

Viplava,  please look at what your configuration is, I assure you that you
have one small
error that is snowballing you right now.


Daniel Jaffa


Sa' right
Sa' write
- Original Message -
From: Eddie Bush [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 5:40 PM
Subject: Re: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??


 I believe it's inconceivable that this is a Struts issue.  Struts isn't
 causing any ports to be open - it just runs in your web container.  I
 have heard that running WebLogic as a service can cause this behavior
 though.  The suggestion I hear was When the install asks if you'd like
 the server to run as a service - just say NO!

 It *is* a WebLogic bug :-)  I guarantee you.

 As I recall (and my memory is fuzzy) WebLogic built some custom
 socket-handling code (native C-language stuff), to use in their server,
 and, apparantly, they didn't do a good job of freeing them up.  I find
 it odd that they don't show up under netstat -a, but the fact of the
 matter is that the server is the only animal in the zoo that will open
 that port :-)

 You asked for an idea:

 - complain *loudly* to your server vendor!  (file a bug if there
 isn't one outstanding)
 - find other people having this problem
 - organize and lobby to have it fixed

 ... that's my idea.

 Nekkalapudi, Viplava wrote:

 I already posted this some time back about the problem of server port
 already in use.
 We couldn't get away from this problem so we still use STRUTS 1.0.2 for
our
 application.
 
 We seen that by just modifying the DTD reference from STRUTS 1.0 to
STRUTS
 1.1 in the struts-config.xml, resulting the port bind error (at the end
of
 this mail).
 We use Struts 1.0.2 with Weblogic Server 6.1 SP2.
 
 I wonder how Struts 1.1 DTD related with the Weblogic port bind error?
 
 If any one want to see this error with their application uses STRTUS
1.0.2,
 Just modify the DTD reference in the struts-config.xml to STRUTS 1.1 DTD.
 Start weblogic server, shutdown and restart the server again.
 (The server binds the port correctly for the first time).
 
  Any Ideas???
 
 --
 Eddie Bush




 --
 To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: WebLogic/Struts/JSP performance woes...

2002-11-03 Thread Daniel Jaffa
Have you tried looking at the Query that you using.  1760 rows from a
database may some time to transfer and query up.  You can sometimes shave
seconds from a query by just changing the order of the FROM clause and WHERE
conditions.
Since you said that only sometimes that the users need to see all the rows,
why do you not implement a paging by default.  Then have an option to see
all rows.


- Original Message -
From: Phil Steitz [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, November 02, 2002 12:34 PM
Subject: Re: WebLogic/Struts/JSP performance woes...


 David,

 Have you considered running some tests with Jmeter or some other testing
 tool that can tell you exactly how long it takes to deliver the HTML?
 This would enable you to determine whether the problem is on the server
 side or in the browser rendering.

 Regards,

 Phil





 --
 To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: PDF generation with Struts

2002-10-24 Thread Daniel Jaffa
I am using an cool product called xmlMill, you build an XML document then
you run a transformation on the xml page, and a PDF is gen'd.  Very cool,
very fast
dan
- Original Message -
From: Daniel Haynes [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 9:28 AM
Subject: RE: PDF generation with Struts


 Report Action from our app below

 Dan

 public ActionForward executeAction (ActionMapping mapping, ActionForm
form,
 HttpServletRequest request,

 HttpServletResponse response) throws Exception
{
 MessageResources messages = getResources(request);
 ActionMessages actionMessages = new ActionMessages();
   actionMessages.add(IConstants.SCREEN_TITLE_KEY, new
 ActionMessage(title.report));

 User user =
 (User)request.getSession().getAttribute(IConstants.USER_KEY);

 UserSession userSession =

(UserSession)request.getSession().getAttribute(IConstants.USER_SESSION_KEY);


 String userid = user.getUserid();
 String username = user.getUsername();
 String fmgid = user.getFmgID();
 String currentIntervalID = userSession.getIntervalID();
 String businessAreaID = userSession.getBusinessAreaID();
 String regionID = 1;
   String action = request.getParameter(action);
   ReportForm reportForm = (ReportForm)form;

   if (action.equals(New) || action.equals(Reset))
   {
 actionMessages.add(ActionMessages.GLOBAL_MESSAGE, new
 ActionMessage(report.welcometext));
  // Populate the drop down fields
  reportForm.setReports(getReports());
  reportForm.setIntervals(getDropDownIntervals());
  reportForm.setIndustries(getAllDropDownIndustries());
  reportForm.setQualities(getOverallDropDownQualities());
  reportForm.setFMGGroups(getDropDownFMGGroups());
  reportForm.setBrokers(getDropDownBrokers());
 reportForm.setBrokerGroup(All);
  reportForm.setInterval(userSession.getIntervalID());
  // Set defaults
 reportForm.setReportType(1);
  reportForm.setMarkets(getDropDownMarkets());
 reportForm.setMarket(IConstants.ALL_INDICATOR);
reportForm.setBrokers(getFMGBrokersByMarket(fmgid,
 reportForm.getMarket()));

   }

   // The user has changed the report selection, just re-display the
new
 form format
   if (action.equals(Change))
   {
  actionMessages.add(ActionMessages.GLOBAL_MESSAGE, new
 ActionMessage(report.welcometext));

 // Update the markets drop down to contain the
 correct list (with or without All)
 // and ensure that the list of brokers is correct
 for the market classification
 int reportType =
 Integer.parseInt(reportForm.getReportType());
 switch(reportType)
 {
 case 1:
 reportForm.setMarkets(getDropDownMarkets());
 break;
 case 4:

 reportForm.setMarket(IConstants.ALL_INDICATOR);

 reportForm.setBrokers(getFMGBrokersByMarket(fmgid,
 IConstants.ALL_INDICATOR));
 break;
 case 5:
 reportForm.setMarkets(getAllDropDownMarkets());

 reportForm.setBrokers(getFMGBrokersByMarket(fmgid,
reportForm.getMarket()));
 break;
 default:
 reportForm.setMarkets(getAllDropDownMarkets());
 break;
 }
   }

   if (action.equals(Create Report))
   {
   Report report = new Report();
   report.setFmgID(fmgid);
   report.setReportType(reportForm.getReportType());
   report.setMarketID(reportForm.getMarket());
   report.setIndustryID(reportForm.getIndustry());
   report.setIntervalID(reportForm.getInterval());
   report.setBrokerID(reportForm.getBroker());
   report.setQualityID(reportForm.getQuality());
  report.setFMGGroupID(reportForm.getFMGGroup());
   report.setBusinessAreaID(businessAreaID);
   report.setRegionID(regionID);
 report.setCurrentIntervalID(currentIntervalID);
   report.setBrokerGroup(reportForm.getBrokerGroup());
   setReportNames(report);
   ReportAdapterService service = new ReportAdapterService();
   ByteArrayOutputStream stream = null;
   stream = service.getStream(report);

   if(stream != null)
   {
 response.setHeader(Content-Disposition,
 inline;filename=MyReport.pdf; );
 response.setContentType(application/pdf);
 response.setContentLength(stream.size());

 ServletOutputStream out = response.getOutputStream();
 stream.writeTo(out);
 out.flush();
 out.close();
 return null;
  }
  else
  {
  actionMessages.add(IConstants.USER_ACTION_FEEDBACK, new
 ActionMessage(report.noreport));
  }

   }
   saveMessages(request, actionMessages);
   return mapping.findForward(IConstants.SUCCESS_KEY);
}

 -Original Message-
 From: Bruno Collet [mailto:b_collet;yahoo.com]
 Sent: 24 October 2002 14:23
 To: [EMAIL PROTECTED]
 Subject: PDF generation with Struts


 Hi all,
 Is there an easy way to generate PDF documents using
 Struts?
 Bruno

 __
 Do you Yahoo!?
 Y! Web 

Re: Weblogic6.1 + struts1.0 NoClassDefFoundError org.apache.strut s.action.Action

2002-10-21 Thread Daniel Jaffa
I have also deployed weblogic 6.1 sp2 with struts 1.0


Make sure that you web app is working correctly.  Try removing struts, put a
jar file in
/web-inf/lib and see if you can call a class from your jsp page.  If you can
you should be able to weblogic to work.

Also make sure that struts.jar is not hardcode in the startweblogic.cmd or
.sh
- Original Message -
From: Hohlen, John [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, October 21, 2002 10:34 AM
Subject: RE: Weblogic6.1 + struts1.0 NoClassDefFoundError org.apache.strut
s.ac tion.Action


 My team has successfully used Struts 1.0 with WL 6.1 SP2.  I think you
have
 sometype of classpath problem.  You also might want to check for typos in
 your Struts-Config.xml file.

 JOHN

 -Original Message-
 From: Yao Rong [mailto:yaorong;ncs.com.sg]
 Sent: Monday, October 21, 2002 6:18 AM
 To: '[EMAIL PROTECTED]'
 Subject: Weblogic6.1 + struts1.0 NoClassDefFoundError
 org.apache.struts.ac tion.Action


 I got a strange problem:
 I develop a web application on Weblogic 6.1 SP2 and I use apache struts
1.0.
 But when myJsp.jsp request myAction.class, NoClassDefFoundError occurs:
 org.apache.struts.action.Action is not found. FYI, I have struts.jar in
 mywebapp/WEB-INF/lib and my application works well on JBoss.
 I read BEA NewsWeb and find the answer: I need download patch to solve the
 problem.
 My question is: can Weblogic SP3 solve my problem? Where can I download
only
 the SP not include weblogic server? Thanks!


 --
 To unsubscribe, e-mail:
 mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:struts-user-help;jakarta.apache.org

 --
 To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: logic:present return false

2002-10-20 Thread Daniel Jaffa
A off hand response, try changing the scope of the object maybe to request
in both the action and the jsp page.  Also in the action try to put a name
like nameOfObject in

session.setAttribute(nameOfObject, employeeList );




- Original Message -
From: Tuan H. Le [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, October 20, 2002 3:56 PM
Subject: RE: logic:present return false


I even replaced the variable IConstants.USER_EMPLOYEE_LIST_KEY to the actual
value com.xyz.key.USER in the session.getAttribute( ... ) method, but
still have the same issue. Again, the for loop works just fine.

Thanks,
Tuan

-Original Message-
From: Tuan H. Le
Sent: Sunday, October 20, 2002 12:50 PM
To: Struts Users Mailing List
Subject: RE: logic:present return false


Hi David,

Thanks for your response!

IConstants.USER_EMPLOYEE_LIST_KEY is a string of value com.xyz.key.USER.
I'm not sure that's the issue, because the session.getAttribute returned a
correct ArrayList object employeeList and the for loop works fine.

Any ideas?

Thanks,
Tuan

-Original Message-
From: David M. Karr [mailto:dmkarr;earthlink.net]
Sent: Sunday, October 20, 2002 12:45 PM
To: [EMAIL PROTECTED]
Subject: Re: logic:present return false


 Tuan == Tuan H Le [EMAIL PROTECTED] writes:

Tuan Hi,
Tuan In my Action class I set an object in one of the session attribute
before forwarding to a JSP view. But, the logic:present in the JSP view
always return false on that object.

Tuan  My Action code ***

Tuan ...
Tuan session.setAttribute( USER_EMPLOYEE_LIST_KEY, employeeList );
Tuan // Forward to the appropriate View
Tuan return ( mapping.findForward( target ) );

Tuan * My JSP page *
Tuan %
Tuan   ArrayList employeeList = (ArrayList)session.getAttribute(
IConstants.USER_EMPLOYEE_LIST_KEY );
Tuan   // *
Tuan   // THIS CODE WORK, BUT THE logic:present does not work
Tuan   // *
Tuan   //for ( int i = 0; i  employeeList.size(); i++ ) {
Tuan   //  out.println( i =  + i + BR );
Tuan   // EmployeeVO e = (EmployeeVO)employeeList.get( i );
Tuan   // out.println( Employee ID --  + e.getEmployeeId() +
BR);
Tuan   //}
Tuan %

Tuan logic:present name=employeeList scope=session
Tuan   !-- Iterate over the results of the query --
Tuan   logic:iterate name=employeeList id=employee scope=session
type=com.phs.ezhr.business.vo.EmployeeVO indexId=idx
Tuan
Tuan   /logic:iterate
Tuan /logic:present

What is the value of IConstants.USER_EMPLOYEE_LIST_KEY?

--
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: [OT] Re: Determining

2002-10-18 Thread Daniel Jaffa

You never know, that could be where she works as a developer.


Online porn as a industry still pays very well for application development,
its annoying but you can get paid doing it.


- Original Message -
From: Adam Sherman [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 18, 2002 1:07 PM
Subject: [OT] Re: Determining


 Wendy Smoak wrote:
 
https://www.auth.server/page.html?callapp=http://www.xxx.com/dev/editContac
  t.do?key=4100action=edit

 FYI, using www.xxx.com in examples is a very bad habit... (-:

 A.

 --
 Adam Sherman
 Software Developer
 Teach and Travel Inc.
 +1.613.241.3103



 --
 To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??????????

2002-10-15 Thread Daniel Jaffa

Please post your config.xml file.  The file can be located under
\bea\wlserver6.1\config\nameofApp

Also try to get into the console for that port, if u can get it weblogic is
still up.  Make sure that weblogic is not running as a service, this has
gotten several people running weblogic on nt

Advice when it ask that it wants to be installed as a service, always anwser
NO

Daniel Jaffa




- Original Message -
From: Eddie Bush [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 1:13 PM
Subject: Re: Struts1.1 B2 BUG OR Weblogic 6.1 SP2 BUG??


 I honestly don't know :-/  If it's a Struts issue it needs a bug filed
 against it (I don't think I've seen one for this).  My bet is on it
 being a WebLogic and/or config issue though.  Unfortunately, I'm not
 sure where to point you for a solution :-(

 Hopefully someone that uses WebLogic can point you toward a solution.
  Could you post additional information that may help them assist you?
  It would be helpful to know how your server is setup probably - are you
 clustered as Kevin suggested?

 Good Luck!

 Nekkalapudi, Viplava wrote:

 Exactly, the server is not able to bind to the port and throws
 java.net.BindException.
 I couldn't guess why Weblogic didn't shut down clean with Struts1.1 B2.
 We tried to shutdown the server from the command line also (Not by
CTRL-C).
 And netstat -a is not showing the port I am using.
 

 --
 Eddie Bush




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



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




Re: [FRIDAY] The Legacy of Bacchus

2002-10-11 Thread Daniel Jaffa

I think that in my younger years that I was a normal on the scooter several
nights a week.

But what you did not mention was that occasionally that Hanger-Oners  some
time accompany one home which leads to WIYN (What is Your Name) and/Or WDW
(We Did What)


- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: Struts (E-mail) [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 6:45 PM
Subject: [FRIDAY] The Legacy of Bacchus


 (well, it's Friday in England, anyway)

 How many times have you woken up in the morning after a hard night of
 drinking and thought 'How did I get home?' As hard as you try, you cannot
 piece together your return journey from the bar to your home. The answer
to
 this puzzle is that you used a beer scooter. The beer scooter is a
mythical
 form of transport, owned and leased out to the drunk by Bacchus the Roman
 god of wine. Bacchus has branched out since the decrease in the worship of
 the Roman pantheon and bought a large batch of these magical devices.

 The beer scooter works in the following fashion: The passenger reaches a
 certain level of drunkenness and the slurring gland begins to give off a
 pheromone. Bacchus or one of his many sub-contractors detects the
Pheromone
 and sends down a winged beer scooter. The scooter scoops up the passenger
 and deposits them in their bedroom via a trans-dimensional portal.

 It is not cheap to run a beer scooter franchise, so a large portion of the
 passenger's in-pocket cash is taken as payment. This generates the Second
 question after a night out 'How did I spend so much money?' Beer Scooters
 have a poor safety record and are thought to be responsible for 90% of all
 UDI (Unidentified Drinking Injuries). An undocumented feature of the beer
 scooter is the destruction of time segments during the trip. The nature of
 trans-dimensional portals dictates that time will be lost, seemingly
 unaccounted for. This generates the third question after a night out 'What
 happened?' With good intentions, Bacchus opted for the EMIT (Embarrassing
 Moments In Time) add on, that automatically removes, in descending order,
 those parts in time regretted most. Unfortunately one person's EMIT is not
 necessarily the EMIT of another and quite often lost time is regained over
a
 suitable period.

 Independent studies have also shown that Beer Goggles cause the scooter's
 navigation system to malfunction thus sending the passenger to the wrong
 bedroom often with horrific consequences. With recent models including a
 GPS, Bacchus made an investment in a scooter drive-thru chain specializing
 in half eaten kebabs and pizza crusts. Another question answered!!

 For the family man, beer scooters come equipped with flowers picked from
 other people's garden and Thump-A- Lot Boots. These boots are designed in
 such a way that no matter how quietly you tip-toe, you are sure to wake up
 your other half. Special anti-gravity springs ensure that you bump into
 every wall and the CTSGS (Coffee Table Seeking Guidance System) explains
the
 ring barked shins.

 The final add-in Bacchus saw fit to invest in for some scooters is TAS
 (Tobacco Absorption System). This explains how one person can apparently
get
 through 260 Marlboro Lights in a single night.

 PS: Don't forget the on-board heater, which allows you to get home from
the
 bar in sub-zero temperatures wearing just a t-shirt.

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



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




Re: [FRIDAY] The Legacy of Bacchus

2002-10-11 Thread Daniel Jaffa

true

hanging Head,

only one leg left,

other is chewed off  :(

- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 9:09 AM
Subject: RE: [FRIDAY] The Legacy of Bacchus


 Yeah, forgot to mention the package of paper bags and suture supplies in
the
 tool compartment (1-bagger, 2-bagger, 3-bagger, or coyote-ugly).

 -Original Message-
 From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 9:04 AM

 I think that in my younger years that I was a normal on the scooter
several
 nights a week.

 But what you did not mention was that occasionally that Hanger-Oners  some
 time accompany one home which leads to WIYN (What is Your Name) and/Or WDW
 (We Did What)


 - Original Message -
 From: Galbreath, Mark [EMAIL PROTECTED]
 To: Struts (E-mail) [EMAIL PROTECTED]

  How many times have you woken up in the morning after a hard night of
  drinking and thought 'How did I get home?' As hard as you try, you
cannot
  piece together your return journey from the bar to your home. The answer
 to
  this puzzle is that you used a beer scooter. The beer scooter is a
 mythical
  form of transport, owned and leased out to the drunk by Bacchus the
Roman
  god of wine. Bacchus has branched out since the decrease in the worship
of
  the Roman pantheon and bought a large batch of these magical devices.
 
  The beer scooter works in the following fashion: The passenger reaches a
  certain level of drunkenness and the slurring gland begins to give off
a
  pheromone. Bacchus or one of his many sub-contractors detects the
 Pheromone
  and sends down a winged beer scooter. The scooter scoops up the
passenger
  and deposits them in their bedroom via a trans-dimensional portal.
 
  It is not cheap to run a beer scooter franchise, so a large portion of
the
  passenger's in-pocket cash is taken as payment. This generates the
Second
  question after a night out 'How did I spend so much money?' Beer
Scooters
  have a poor safety record and are thought to be responsible for 90% of
all
  UDI (Unidentified Drinking Injuries). An undocumented feature of the
beer
  scooter is the destruction of time segments during the trip. The nature
of
  trans-dimensional portals dictates that time will be lost, seemingly
  unaccounted for. This generates the third question after a night out
'What
  happened?' With good intentions, Bacchus opted for the EMIT
(Embarrassing
  Moments In Time) add on, that automatically removes, in descending
order,
  those parts in time regretted most. Unfortunately one person's EMIT is
not
  necessarily the EMIT of another and quite often lost time is regained
over
 a
  suitable period.
 
  Independent studies have also shown that Beer Goggles cause the
scooter's
  navigation system to malfunction thus sending the passenger to the wrong
  bedroom often with horrific consequences. With recent models including a
  GPS, Bacchus made an investment in a scooter drive-thru chain
specializing
  in half eaten kebabs and pizza crusts. Another question answered!!
 
  For the family man, beer scooters come equipped with flowers picked from
  other people's garden and Thump-A- Lot Boots. These boots are designed
in
  such a way that no matter how quietly you tip-toe, you are sure to wake
up
  your other half. Special anti-gravity springs ensure that you bump into
  every wall and the CTSGS (Coffee Table Seeking Guidance System) explains
 the
  ring barked shins.
 
  The final add-in Bacchus saw fit to invest in for some scooters is TAS
  (Tobacco Absorption System). This explains how one person can apparently
 get
  through 260 Marlboro Lights in a single night.
 
  PS: Don't forget the on-board heater, which allows you to get home from
 the
  bar in sub-zero temperatures wearing just a t-shirt.

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



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




Re: [OT - Java] How can I do this in Java?

2002-09-30 Thread Daniel Jaffa

Make sure your code in a  proper try and catch.  Using reflection spits out
nasty errors if  anything is not right.:(

ClassCastException
IllegalAccessException
NoSuchMethodException
InvocationTargetException

Daniel jaffa
- Original Message -
From: Jerry Jalenak [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, September 30, 2002 11:46 AM
Subject: RE: [OT - Java] How can I do this in Java?


 Jason - Thanks for the code snippet - worked like a charm first time!  I
 tend to get lost in JavaDoc sometimes, so this was a nice example to have
on
 how to wind my way through to the answer!  Thanks again!

 John - Thanks for the suggestion on using the HashMap.  I'm going to file
it
 away for now and use Jason's reflection method - but it never hurts to
have
 a couple of different methods to use on something like this!

 Thanks guys!

 Jerry

  -Original Message-
  From: Taylor, Jason [mailto:[EMAIL PROTECTED]]
  Sent: Monday, September 30, 2002 10:28 AM
  To: 'Struts Users Mailing List'
  Subject: RE: [OT - Java] How can I do this in Java?
 
 
  I don't happen to have any sample code that does exactly what
  you're doing,
  but off the top of my head (with a little help from sun's
  javadoc) I'd say
  it's something like:
 
  import java.lang.reflect.Field;
 
  String stateCode = AK;
  Class constantClass =
  Class.forName(com.yourdomain.yourapp.Constants);
  Field stateField = constantClass.getDeclaredField(stateCode);
  String stateRegExp = (String) stateField.get(constantClass);
  System.err.println(regexp for +stateCode+: +stateRegExp);
 
  I don't really know any more about reflection than you, I
  just followed the
  trail from java.lang.Class to java.lang.reflect.Field.  Once
  you've done it
  once, you see it's no mystery-- you're just doing runtime compiling.
 
  HTH-- This is just how I'd start, as I haven't tested or used
  this code.  If
  I'm wrong, I'm sure you can figure out what I missed by
  studying the API
  docs.  If, on the other hand, you don't like reading javadocs
  and generating
  your own test cases, LOL!
 
  -JT
 
  -Original Message-
  From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
  Sent: Monday, September 30, 2002 8:05 AM
  To: 'Struts Users Mailing List'
  Subject: RE: [OT - Java] How can I do this in Java?
 
 
  Jason,
 
  Thanks for the quick reply.  I just took at look at the
  API's, but don't yet
  understand enough about reflection to know how to implement it.  Just
  looking at the methods I don't see a way to do what I want -
  any chance that
  you'd have some sample code laying about?
 
  Jerry
 
   -Original Message-
   From: Taylor, Jason [mailto:[EMAIL PROTECTED]]
   Sent: Monday, September 30, 2002 9:59 AM
   To: 'Struts Users Mailing List'
   Subject: RE: [OT - Java] How can I do this in Java?
  
  
   sounds like a job for reflection (java.lang.reflect.*;) Have
   you looked at
   java.lang.Class and java.lang.reflect.Field?
  
   -Original Message-
   From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
   Sent: Monday, September 30, 2002 7:50 AM
   To: '[EMAIL PROTECTED]'
   Subject: [OT - Java] How can I do this in Java?
  
  
   OK - off topic, but Sun's java forum sucks, and there are an
   incredible
   number of Java guru's on this list, so I thought I'd throw
   this out here.
   (That and I am using this in a custom validation routine
   :-))Any help
   would be GREATLY appreciated!
  
   Here's the scenario - I've got a series of static constants
   that represent
   Java regular expressions.  These RE's are used to validate
   driver license
   formats for the 50 states + DC.  The strings look like this:
  
   public static final String AK = ^[0-9]{1,7}$;
   public static final String AL = ^[0-9]{7}$;
   public static final String AR = ^[0-9]{8,9}$;
   public static final String AZ =
   ^[0-9ABDY][0-9]{8}$|^[A-Z][0-9]{3,6}$|^[A-Z]{2}[0-9]{3,5}$;
   public static final String CA = ^[A-Z][0-9]{4,7}$;
   public static final String CO =
   ^[A-Z][0-9]{1,6}$|^[A-Z]{2}[0-9]{1,6}$|^[0-9]{9}$;
   etc. etc. etc.
  
   On my form I have a drop-down box of states, and a field for
   the license
   number.  In my custom validator routine, I pick up the value
   of the state,
   and build a string to represent the constant - i.e.
  
   private static boolean validateDriversLicenseNumber(String
   licenseState, String licenseNumber)
   {
   String licenseConstant = Constants. + licenseState;
  
   I then want to use licenseConstant in a Pattern / Match:
  
   Pattern p = Pattern.compile(licenseConstant,
   Pattern.CASE_INSENSITIVE);
   Match m = p.matcher(licenseNumber);
   return (m.find());
   }
  
   Obviously the line String licenseConstant = Constants. +
   licenseState;
   does not give me the value of Constant.state name; the
   question I have is,
   is there a method (or something) that will allow me to build
   such a string,
   and return the value (i.e. the regular expression

Re: [FRIDAY] [OT] Best misunderstanding of an acronym?

2002-09-27 Thread Daniel Jaffa

a quick search on the web and i found

THE ACRONYM DATABASE
Search for: YMMV among acronyms
YMMV
040: Your Mileage May Vary
040: Your Mileage May Vary (exclusion clause)
2 matching entries
Searched 21874 entries


http://www.ucc.ie/cgi-bin/acronym?YMMV


- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, September 27, 2002 10:55 AM
Subject: RE: [FRIDAY] [OT] Best misunderstanding of an acronym?


 ummm.. So what does it actually mean?

 -Original Message-
 From: Peter S. Hamlen [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 22:51
 To: Struts Users Mailing List
 Subject: [FRIDAY] [OT] Best misunderstanding of an acronym?


 Yesterday, I sent an email to a co-worker on a topic, and added at the
 bottom YMMV without bothering to explain the acronym.

 This morning (about ten minutes ago), she showed up and asked:
 What does YMMV mean? You Make Me Vomit? 

 Anyone else have any choice examples of misunderstood acronyms?

 -Peter




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


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



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




Re: all this traffic

2002-09-26 Thread Daniel Jaffa

Is what you want already on jguru.com.


- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, September 26, 2002 8:05 AM
Subject: RE: all this traffic


 Note I removed the [OT].  :-)  I think this is right on topic because
there
 have been many complaints from all level of users about the difficulty of
 finding useful information in the archive.  If the archive was better
 managed, list traffic could be substantially reduced.  For that matter,
just
 having the URL attached as part of the signature would probably greatly
 reduce traffic (and would remove the I didn't know there was an archive,
 or I didn't know how to find it excuses.

 But the idea of tagging questions and responses with some pre-defined
 elements is intriguing and certainly would add value to the archive.


 -Original Message-
 From: David Graham [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 25, 2002 7:59 PM
 To: [EMAIL PROTECTED]
 Subject: [OT] RE: all this traffic


 You get right to the point don't you Mark :-) ?  I think online forums are
 much easier to use than mailing lists because they're easier to search for
 previous questions and you can easily ignore uninteresting topics.
However,

 one practice I like is the use of [OT] to designate clearly off topic
 threads like this one.  I filter those mails to a different folder for
 convenience; I wish more people used that convention.

 Ironically this thread is only increasing the amount of traffic.

 Dave

 From: Galbreath, Mark [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Subject: RE: all this traffic
 Date: Wed, 25 Sep 2002 18:42:00 -0400
 
 You could also try unsubscribing when you are going to be away.  Or
simply
 hold your shift key, highlight the lot, and delete.  Why should the
list
 have to be inconvenienced because you lack management skills?
 
 -Original Message-
 From: Jonas Bjornerstedt [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 25, 2002 6:43 PM
 To: Struts Users Mailing List
 Subject: all this traffic
 
 
 Hello all,
 
 A couple of days away from my computer has resulted in 473 unread
postings.
 It's a bit frustrating trying to use a high traffic mailing list like
this
 one. Here are some suggestions:
 
 - Have a struts-answers mailing list. If I found a discussion
interesting -
 such as the one on container managed security - I could simply forward it
 to
 the answers list. The cost of asking a question could be to compile the
 answers and submit it to the list. This could be a cheap way of getting
 better documentation.
 
 - A struts-beginners list might be a good idea too. Sometimes the blind
are
 not all that bad at leading the blind.
 
 - One could also consider having a struts-tags list. With JSF coming,
there
 are going to be more people that are not interested in the Struts tags.
 
 Jonas
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




 _
 Join the world's largest e-mail service with MSN Hotmail.
 http://www.hotmail.com


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


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



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




Re: [OT] Excuse me !

2002-09-25 Thread Daniel Jaffa

Just Put this guy on you go right to trash can list, i have.

and i feel really good about it :)

Dan Jaffa
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 10:10 AM
Subject: RE: [OT] Excuse me !


 Get that damn fool off THIS line!

 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 24, 2002 10:00 PM

 Let's take this offline guys.

  -Original Message-
  From: Zahid Rahman [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, September 24, 2002 9:51 PM
 
  I happen to know three different architectures for web applications.
  Yes, I know Branching statements is an old fashioned saying.
 
  With regard to race!
  The very first time I logged on, my account was impersonated!!!
  Although I originate from the UK.
  I pointed  out to a Pakistani company that I am a Pakistani.
  The Pakistani firm replied their account have been impersonated too.
 
  90% of the people ask questions on mail list and
  reply to rehearsed answers.
 
  I have done the crawling and now I am in the process of walking
  just about to run.
 
  With regard to Bank ---
  Their cake and they will have to eat it!
 
  The question was an attitude test
   i.e. Know your enemy!
 
  - Original Message -
  From: Peter A. J. Pilgrim [EMAIL PROTECTED]
  To: Struts Users Mailing List [EMAIL PROTECTED]
  Sent: Wednesday, September 25, 2002 2:26 AM
  Subject: Re: This guy from the bank raised a question ?
 
 
   Zahid Rahman wrote:
Eddie Bush wrote that the designer of the architecture,  Craig R.
McClannahan is present on this line.
   
I was on the websphere line and Don Carlos, from DB.COM was talking
  about
it.
So I mentioned it.
   
  
   Although this late in the day, because I catching up 2500 emails after
   configuring my SOHO network for ADSL, I will respond
  
   Well it isn't surprised that you got DISSED in the end.
   And your type of attitude stinks to the extreme.
   This is the 21st century mate, we are using the Internet
   a form  that makes culture and race and dare I say colour
   very transparent. This is the great equaliser or super
   highway isn't it. I dont appreciate your patronising
   talks on race or culture and for the record, slavery
   (in the United States at least) was banned over hundred
   years ago.
  
   What do you do about the back button on the browser ?
   The answer being nothing.
  
   Your prose reveals your inexperience and ineptitude in all
   things HTML / HTTP and Java Server side technologies to the real
   experts on the list, the technologists who have and are living at
   the bleeding bloody edge. You should really calm down and
   spend time learning the technology better. How it works?
   Why people use it? How people used it to solve real problems?
   What are trying to solve? Does the technology fit the
   bill, is it the right solution?
   You cannot pick up this information , no I say, knowledge
   from a quick read of marketing department sales broshures.
   You cannot get it right, if you repeat the latest
   business lingo in terms of ..., in terms .
   Your project will fail if simply dont understand the mode
   (as in the french meaning fashion).
   This is open source dealing with real people with real life.
   This is where real cultural diversity is truly happening,
   fool. This is where the real synergies are?
   This is not human resources department.
   This is not a boardroom meeting of stuffy highly over-paid
   executives, although I'd gladly accept the wages from those guys.
   This is the boiler room or the mechanics garage or the engineering
   facility where people get their hands routinely dirty.
   Learn to crawl, before you walk, before you run.
  
   PS: And this from a ex-Deutsche bank employmee. It really
   does show that DB.com still don't know their left hand from
   their right foot, but there you go. It  happens, if
   the belief, culture and the motivation stagnates, and you lay off
   the really brillaint IT people in your organisation.
  
   --
   Peter Pilgrim +-\ +-+++++
   Java Technologist | | | ||||| 'n' Shine
  |  O  | | ||  --+| ---+
/\| ._  / | | \  \ ||
   /  \   | | \ \ | |+--  || ---+ A new day
  /_  _\  Up| | | | | ||||| is coming
||+-+ +-+ +-+++++
   home page=http://www.xenonsoft.demon.co.uk/; /
  
  
   --
   To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]



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

 --
 To unsubscribe, e-mail:

Re: [OT][WORKFLOW] Any best practice for back, save,continu e buttons?

2002-09-24 Thread Daniel Jaffa

But do you have to worry about people that disable javascript, check to see
if they do and if they do not tell them that they have to enable Javascript
to use your site.
- Original Message -
From: Eddie Bush [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, September 24, 2002 10:10 AM
Subject: Re: [OT][WORKFLOW] Any best practice for back, save, continu
e buttons?


 Yes, it does!  I can vouch for it!  I personally know two (highly
 educated) people that refuse to allow them.  They are ignorant about
 them, of course, but that doesn't change the fact that people *do*
 disable cookies/JavaScript!

 Now, if I know two people, then how many more people are there out
 there that are doing this?  Sorry to disagree - I view it as a fact of
 life.  Having said that though, I don't not use JavaScript because of
 it.  That's yet another opportunity to control things - it certainly
 does have applicability.

 Galbreath, Mark wrote:

 Ahhh yes, the bane of web app developers!  I solved this problem with
 JavaScript and cookies - no browser back operations allowed!
 
 And spare me the what if JavaScript is turned off noise - it just
doesn't
 happen in the REAL world.
 
 Mark
 
 -Original Message-
 From: Andrew Hill [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 24, 2002 3:02 AM
 
 (Incidentally, using the browsers back button in such a case results in a
 rather bad case of server state confusion!)
 

 --
 Eddie Bush




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



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




Re: [OT] XML Configuration Files

2002-09-11 Thread Daniel Jaffa

I use JDOM to populate a arrayList of  shipping  beans, then a factory to
send the arraylist to any action that want shipping.

the cool think is that if you code it right, u can get you code to reload if
the xml file changes (eg check the date of the xml file)
give
- Original Message -
From: Day, Michael-IBM/TT [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 1:48 PM
Subject: [OT] XML Configuration Files


 I'm working on an application that will use a database extensively.  In
 order to save some database hits, I'd like to offload some smaller bits of
 information into XML files.

 An example would be shipping methods.  There is a limited number of
shipping
 methods that a company could use.  I would like to define these in an XML
 file during deployment.  When the application starts up, I'd like all fo
the
 shipping methods to be loaded from the XML file into memory.  By doing
this,
 I save the database hits everytime the application needs to access the
 different shipping methods.

 Does anyone have any suggestions on an existing API that does this.  I'm
 sure something must be out there to assist developers that want to parse
XML
 configuration data for their applications.  Once I have this, what is the
 best way to have this information loaded on startup?  I am thinking of
 creating a singleton that manages the different shipping methods.  Do
better
 methods exist?

 Thanks for any help.

 __
 Michael Blake Day
 Nextel Communications, Inc.
 email: [EMAIL PROTECTED]
 desk: 678.966.4792

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



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




Re: General Struts Question [LET US BE KINDER AND MORE SOPHISTICATED?]

2002-09-11 Thread Daniel Jaffa

If you look very hard,  i do not know where i found it
but u can down load a free beta book called Struts Fast Track by Vic
Cekvenich

There are nice people out there

Daniel Jaffa

I was new to struts only 9 months ago

- Original Message -
From: Pat Quinn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 3:49 PM
Subject: Re: General Struts Question [LET US BE KINDER AND MORE
SOPHISTICATED?]


 I know how to search in google and I have ordered a book (Mastering Struts
 by James Goodwill) on this topic. but I just wanted to make sure it was a
 decent book as I'm living on a student allowance.



 From: Eddie Bush [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: Re: General Struts Question [LET US BE KINDER AND MORE
 SOPHISTICATED?]
 Date: Wed, 11 Sep 2002 14:48:08 -0500
 
 LMAO - she said that?!  LOL ... that will last me THE REST OF THE WEEK!!!
 I *love* it!!
 
 micael wrote:
 
 Sometimes we forget how much we know and are not kind to those who are
 where we once were.  There is no point in giving this guy trouble.  He
 correctly identified his question, and he could have been redirected
 easily.  I remember my first day in a programming class.  I had to ask
 another student, a woman, how to turn the computer on.  I simply said
How
 do you turn these on?  She said I am MARRIED!  Sometimes we forget
the
 obvious is the hardest thing to find out.  How do you find out, if you
 don't know, how to make a space on the keyboard?
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




 _
 Join the world's largest e-mail service with MSN Hotmail.
 http://www.hotmail.com


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



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




Re: General Struts Question [LET US BE KINDER AND MORE SOPHISTICA TED?]

2002-09-11 Thread Daniel Jaffa

Sorry, just downloaded the book 3 weeks ago, never read it since i am
waiting for James book.

I guess i can delete it from my machine then
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 4:16 PM
Subject: RE: General Struts Question [LET US BE KINDER AND MORE SOPHISTICA
TED?]


 I've read Chuck's draft (edited half of it) and am half-way through James'
 book.  James' book is definitely the book with which to start a new user.

 Mark the Smelly One

 -Original Message-
 From: Eddie Bush [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 4:14 PM

 I haven't read James' book. Mark is in the process of reviewing it and
 sharing his experience with us. In the meantime, let Chuck's book
 suffice. It's free for download (the review chapters are anyway), and it
 will really flesh things out for you (I'll be *very* surprised if it
 doesn't help emensly).

 Having not read James' book, and having seen the example chapters out of
 Chuck's, I would tend to recommend Chuck's. I'm not sure how long ago
 James' book became available, but there could also be issues related to
 new functionality in Struts 1.1 not having made it into James' book.
 Mark could tell you more about that. I know Chuck's book really shed
 good light on some of the more advanced features for me though. Thus, I
 recommend it to everyone. Ted's book will probably be quite good too.
 The tips he puts out are small excerpts from his book. Having found
 several of them handy, I recon his book will be too. I wish I knew more
 about James' book ...

 Chuck said something about how each of the books' authors had a
 different background, and how he figured, while there would be some
 overlap, each of them would cover different things.

 Regards,

 Eddie

 Pat Quinn wrote:

  I know how to search in google and I have ordered a book (Mastering
  Struts by James Goodwill) on this topic? but I just wanted to make
  sure it was a decent book as I?m living on a student allowance?




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

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



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




Re: Classloader issue with Weblogic 6.1sp3

2002-08-22 Thread Daniel Jaffa

I have had similar problems with weblogic and the way that the classloader
acts.
I have been told that 7.0 fixes all the problems, and that when 7.1 comes
out that we are
going to switch over to it.

(this info was gotten from a little BEA birdie)
(by the way the way that 5.1 handled class loading was even worse bea is
getting better)

- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, August 22, 2002 8:39 AM
Subject: Re: Classloader issue with Weblogic 6.1sp3


 Are you using any type of XML parser in your extensions?
 I was just thinking about something I read on the BEA
 site?

 Chuck
 
  I'm having a problem deploying an application on Weblogic(WL) 6.1sp3,
using
  Struts, and extending MessageResourcesFactory and MessageResources in my
  webapp. I found a work-around, but I need a better solution for
production.
 
  plugI caught Chuck Cavaness' presentation on Struts for the Atlanta
Java
  Users Group last night./plug I got some solid feedback from the folks
  there, but I'm still looking for an answer as to what is ultimately
  happening.
 
  The Background:
 
  This is a basic web app, with about 8 action/form pairs, and business
logic
  in EJBs. I'm using an .ear file to deploy to the WL server. Again,
Weblogic
  6.1sp3.
 
  The Problem:
 
  I am also using a custom MessageResourceFactory to load the strings for
the
  web pages from a database (don't ask. I was ordered) instead of a
  .properties file. Everything works just great without the custom
factory.
  But when I identify it in the web.xml,
 
  init-param
param-namefactory/param-name
 
 
param-valuecom.ups.apennine.outbound.language.LanguageLoader/param-value
  /init-param
 
  I get a NoClassDefFound on MessageResourceFactory. If I call the factory
  later, (e.g., in an action object), as oppose to the
ActionServlet.init(),
  the same thing happens. Keep in mind that by this time, the
ActionServlet
  has already used an instance of MessageResourceFactory to load the
messages
  property resource bundle:
 
  init-param
 param-nameapplication/param-name
 param-valuecom.ups.apennine.outbound.Constants/param-value
  /init-param
 
  I just can't seem to extend
org.apache.struts.util.MessageResourceFactory,
  despite the fact that the actions extend org.apache.struts.action.Action
  just fine. The classloader fails to see the class, even though it loads
the
  original messages properties file just fine. I checked just to be
certain,
  and the same classloader that loaded the messages in the first place is
  failing to create an instance of the custom factory.
 
  I have tried putting struts in the .ear file and reference it in the
.war
  file manifest Class-Path; the error goes away, but, because of
Weblogic's
  classloader heirarchy and an SP2 bug fix (number 056911), struts can no
  longer load the action objects for my application.
 
  I tried exploding the struts.jar library into my /WEB-INF/classes
directory
  with my application classes. It still doesn't work!
 
  The Workaround:
 
  Finally, I split the struts.jar file into two jars (!): One just
containing
  the util package classes, and the other containing the rest of Struts. I
  kept the main struts archive under /WEB-INF/lib, and I put the
  struts-util.jar file, if you will, under /lib in the application .ear
file
  and added this to my .war manifest:
 
  Class-Path: lib/struts-util.jar
 
  So that worked. The MessageResourceFactory and MessageResource were
loaded
  by a more visible classloader, solving my problem, and the rest of the
  struts.jar stayed put. Everyone is happy.
 
  The question is, WHAT HAPPENED?!?! Any ideas on how I can deploy in this
  scenario without splitting the library?
 
  Kris Bravo
 
 

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



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




Re: Classloader issue with Weblogic 6.1sp3

2002-08-22 Thread Daniel Jaffa

My angle has been to be very upset with the classloader with weblogic.  I
currently do not deploy my apps as EAR's or WARS becasue of the classloader
issue.  I Know of a company that spent 10K - 20K on fixing these issues with
a BEA consultant.

So what i normally do is deploy my app unwarred and place my jar files one
at a time (either in the /web-inf/lib or out side of the web app).  The ones
that break weblogic or can not be seen I put the in classpath of the app
server.  I know this is not the best way to do it, but i can wait to 7.1,
and then change my evil ways to best practices.
- Original Message -
From: Bravo, Kris X [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, August 22, 2002 9:45 AM
Subject: RE: Classloader issue with Weblogic 6.1sp3



 Could you give me some specifics about your problem as well? I'm really
 interested in learning more about the cause of my problems, and knowing
your
 angle on it might help.

 Thanks for the feedback.

 -Original Message-
 From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 22, 2002 9:08 AM
 To: Struts Users Mailing List
 Subject: Re: Classloader issue with Weblogic 6.1sp3


 I have had similar problems with weblogic and the way that the classloader
 acts. I have been told that 7.0 fixes all the problems, and that when 7.1
 comes out that we are going to switch over to it.

 (this info was gotten from a little BEA birdie)
 (by the way the way that 5.1 handled class loading was even worse bea is
 getting better)

 ...



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




Re: Struts Persistence

2002-08-09 Thread Daniel Jaffa

Oh my god, i have not though of that game in about 23 - 25 years.  That was
my favorite game when i was younger.

My first Machine was an Apple 2e, with two 5.25 disk drives.

the time before mice



- Original Message -
From: Bartley, Chris P [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, August 09, 2002 1:14 PM
Subject: RE: Struts  Persistence


 Ahhh, the good ol' C-64 tape drive.  I remember not minding the 45-60
minute
 wait while Temple of Apshai
 (http://www.cstone.net/~rich/Temple/temple_of_apshai.html) loaded...i'd go
 have dinner, and by the time i was done eating i could play the game.  :)

 I guess Rational Rose would be my present-day analog...time-wise that is,
 certainly not enjoyment-wise...i only use that beast if i have to!  ;)

 chris

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]
  Sent: Friday, August 09, 2002 12:06 PM
  To: [EMAIL PROTECTED]
  Subject: RE: Struts  Persistence
 
 
  U - I remember that tape drive...  (Did the Vic20 have
  one also?  I
  had one on the C-64).
 
  Damn I feel old now...
 
  My first ten mb hard drive was years later...
 
 
 
  -Original Message-
  From: Simon.Chappell [mailto:[EMAIL PROTECTED]]
  Sent: Friday, August 09, 2002 12:49 PM
  To: struts-user
  Subject: RE: Struts  Persistence
 
 
  My first four computers did not have hard drives. My first two didn't
  even have floppy drives, you had to save and load from audio tape!
 
  I think that computer number 5 had a 40Mb HDD. Computer
  number 6 is now
  gone and I don't remember any of the specs. Computer number 7
  had a 4Gb
  HDD and now number 8 has a 60Gb HDD (it also has 1.5Gb of RAM, but I
  digress! :-).
 
  Simon
 
  -
  Simon P. Chappell [EMAIL PROTECTED]
  Java Programming Specialist  www.landsend.com
  Lands' End, Inc.   (608) 935-4526
 
 
  -Original Message-
  From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
  Sent: Friday, August 09, 2002 11:24 AM
  To: Struts Users Mailing List
  Subject: RE: Struts  Persistence
  
  
  
  
  On Fri, 9 Aug 2002, James Mitchell wrote:
  
   Date: Fri, 9 Aug 2002 11:43:58 -0400
   From: James Mitchell [EMAIL PROTECTED]
   Reply-To: Struts Users Mailing List
  [EMAIL PROTECTED]
   To: Struts Users Mailing List [EMAIL PROTECTED]
   Subject: RE: Struts  Persistence
  
   HAHAHAYes, and that's fine if you're not trying to backup 17
   Gigsheesh.
  
  
  Friday Alert
  
  I'm old enough to remember being absolutely giddy over the
  amount of space available on my first hard disk drive -- ten whole
  *mega*bytes!  Whatever would I do with all of that space?
  
  /Friday Alert
  
  Craig
  
  
   James Sasquatch on crack Mitchell
   Software Engineer\Struts Evangelist
   Struts-Atlanta, the Open Minded Developer Network
   http://www.open-tools.org/struts-atlanta
  
  
  
  
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 11:37 AM
To: Struts Users Mailing List
Subject: Re: Struts  Persistence
   
   
James Mitchell wrote:
   
(James) Get that Linux box up?!  :-)

LOL..no I started consolidating my Laptop HD and noticed
that I didn't
have enough room on my file server to backup what I had.
  So I'll have to
either get another 80 Gig or take the time to go through and
delete all that
Free Software I seem to keep collecting.

Hey, I wonder what 'format c:\' does.  Oh SHI#!!!
  STOP STOP STO

Ever heard of CD-R/CD-RW?  They really are quite handy
  :-)  ... and
CD-R/Ws (disks and writers too) are really quite cheap!
   
   
   
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
   
   
  
  
   --
   To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
  
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

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



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




Re: Same FormBeans in Session under 2 different Keys

2002-07-29 Thread Daniel Jaffa

Sure just give them different names
- Original Message -
From: bobby oberai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 29, 2002 12:16 PM
Subject: Same FormBeans in Session under 2 different Keys


 Hello All,

 I am trying to find out if its possible to keep a particular Action Form
 Bean in Session under different keys. i.e. I have 2 HTML Forms under
 different names, but Form Bean Classes are same (but values in the Form
bean
 are different).

 Thanks,
 Bobby.



 _
 Join the world's largest e-mail service with MSN Hotmail.
 http://www.hotmail.com


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



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




Re: Struts Vs. Sun J2EE Compliance and Design Patterns

2002-07-26 Thread Daniel Jaffa

Though some times this approach can back fire on you.

Some companies would rather shot them selves is the foot then do something
a person in management does not want to do (IF you did not ask first).  I
found that instead of trying to
make the person hang themselves it is easier to make it look like you are
following
their rules, and that is why you went with struts.





- Original Message -
From: Eddie Bush [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, July 26, 2002 10:10 AM
Subject: Re: Struts Vs. Sun J2EE Compliance and Design Patterns


 Chappell, Simon P wrote:

 Sometimes, the best technique is to just sit back and give
 people enough
 rope to hang themselves.  I've done it in the past, I'm doing
 it right now
 on the contract I am on, and I'm sure I'll have to do it in the future.
 
 
 I don't even wait to see if they hang themselves, I usually just get on
and do it and hope for their sakes that they try to catch up with me. On my
current project, I started using Struts and got the rest of the team using
Struts and then when we had enough work done that ripping it out would have
been difficult, we asked if we could get approval from our architecture
group for using Struts. :-)
 
 LOL - S M O O T H, man - really S M O O T H :-)  I like that!  LOL

 Eddie



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


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




Re: Out of Office Response: RE: Can I read internationalized mess ages in Action classes ?

2002-07-22 Thread Daniel Jaffa

Red Stripe is a wonderful summer beer(eg not a great tasting beer but a
refreshing summer beer to have on the beach in the islands)
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, July 22, 2002 3:03 PM
Subject: RE: Out of Office Response: RE: Can I read internationalized mess
ages in Action classes ?


 I feel the love

 Actually, this time two weeks from now I will be cruising the Caribbean on
 my way to the BVIs for 8 days.  This time, however, I'm flying first class
 to Miami in the hope that the first class flight attendants' IQs are
 triple-digit.  Unfortunately, it seems the prevailing beers consist of Red
 Stripe and Carib, both the Budweasels of the tropics.  Looks like lots of
 rum umbrella drinks!

 Mark

 -Original Message-
 From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 22, 2002 11:57 AM

 Set Mark on them. They'll never violate the list rules again after he
 recites his travel woes to them a couple of times! :-)

 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 22, 2002 10:58 AM
 
 Would someone mind removing this idiot?
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Monday, July 22, 2002 10:59 AM
 
  Giles Hinchliff will be away on Monday July 22, 2002

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



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




Re: child window problem, URGENT!!!!!!

2002-07-16 Thread Daniel Jaffa

Check the archives i answered this question already.  The only javascript
that i use is

Where opener is the keyword

script langauge=javascript
window.opener.document.forms[0].updateFromNames.value=true;
window.opener.document.forms[0].submit();
window.close();
/script

- Original Message -
From: Samip Ladhawala [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 16, 2002 3:12 AM
Subject: RE: child window problem, URGENT!!


 Hi Guys,

 Thanks for replying. we are trying to acheive this
 problem by avoiding javascript and scriplets as much
 as possible. Let me explian our scenario:

 We have a JSP page lets call it page 'A' in which we
 have 3 fields LastName, FirstName and MiddleName. We
 also have a link for search on this page. We have
 option that user can enter first few letters of the
 last name and search for the person using search link.
 We wanted to open a new window lets call it 'B' and
 display the names found on the basis of user input.
 Now when user double clicks on one name in child
 window 'B', that name will be displayed back on to the
 parent window i.e. 'A' in the appropriate fields.

 We are using following approach for the above
 scenario:

 we have 2 JSP's and 2 formbeans associated to that
 JSPs. Now when user enters first few letters of the
 LastName on parent form 'A' and clicks search link, we
 submit itself i.e. parent Form. We also have one flag
 in parent form ,apart from other attributes, whose
 value is false by default. In action (We use
 DispatchAction) we create instance of child form 'B'
 and set the attributes for query into it and put that
 into session. We make the flag in parent form equal to
 true and forward the mapping to itself. Now in
 parent JSP we use logic tag to check the value of that
 flag, if it is true then we call a javascript function
 to open a child window 'B'.
 Now in child 'B' JSP onload we submit itself i.e.
 Child Form with action equal to 'search'. In search
 method in action class of child form we talk to the
 business delegate and call the method to get the
 results for the user input, which is present in the
 child form bean, since we set that from parent and put
 it in session. Now after we get the possible matches
 on the basis of user input from business we forward
 the mapping to same page i.e child jsp. Now when user
 double clicks the one value from the list, we submit
 child form itself with action equal to selectPerson.
 In this method we get the parent form from the session
 and set the appropriate values in LastName, FirstName
 and MiddleName from the selected value and set the
 flag in parentform equal to false. Then thru
 javascript in child JSP we are reloading the parent
 and closing the child window. This doesn't reload the
 parent window with new values in the formbean, which
 is being set in child action. We checked the session
 using debugger and we found that values in the parent
 form are being updated by child action correctly.

 Questions:
 1) Does location.realod()[in javascript] flush the new
 values set in the session ?
 2) What is the best way to refresh or submit the
 parent from child?
 3) Is there any better way to solve this (By avoiding
 use of javascript and scriplets as much as possible)?

 Sorry for long Email. Any help will be appreciated.

 Thanks,
 Samip


 __
 Do You Yahoo!?
 Yahoo! Autos - Get free new car price quotes
 http://autos.yahoo.com

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


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




Re: With Struts tag, Size of ArrayList

2002-07-09 Thread Daniel Jaffa

Thank u very much, i do not know how i messed that but i did.  This will be
very helpfull

dan
- Original Message -
From: Struts Newsgroup @[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 08, 2002 6:55 PM
Subject: Re: With Struts tag, Size of ArrayList


 Subject: Re: With Struts tag, Size of ArrayList
 From: Senén de Diego [EMAIL PROTECTED]
  ===
 You can use:

 bean:size id=arraySize collection=arrayList/
 logic:if name=arraySize value=0
 ..
 /logic:if

 For a description of bean-size:
 http://jakarta.apache.org/struts/struts-bean#size

 Senén

 Daniel Jaffa [EMAIL PROTECTED] escribió en el mensaje
 news:[EMAIL PROTECTED]...
  Did a little research and could not find an elegant way to find out if
an
  arraylist that i send over is populated or not.  Currently I send the
size
  of the array list.  But would like to do something like
  logic:if name=arrayList property=size value=0
 
  /logic:if
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 



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


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




With Struts tag, Size of ArrayList

2002-07-08 Thread Daniel Jaffa

Did a little research and could not find an elegant way to find out if an
arraylist that i send over is populated or not.  Currently I send the size
of the array list.  But would like to do something like
logic:if name=arrayList property=size value=0

/logic:if

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




Re: With Struts tag, Size of ArrayList

2002-07-08 Thread Daniel Jaffa

So that is the 1.1 fix to present, right
- Original Message -
From: SATISH.T [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, July 08, 2002 9:21 AM
Subject: Re: With Struts tag, Size of ArrayList


 Use logic:present to check if the list is null or has any objs inside
 it.

 - Original Message -
 From: Daniel Jaffa [EMAIL PROTECTED]
 Date: Monday, July 8, 2002 6:45 pm
 Subject: With Struts tag, Size of ArrayList

  Did a little research and could not find an elegant way to find
  out if an
  arraylist that i send over is populated or not.  Currently I send
  the size
  of the array list.  But would like to do something like
  logic:if name=arrayList property=size value=0
 
  /logic:if
 
  --
  To unsubscribe, e-mail:   mailto:struts-user-
  [EMAIL PROTECTED]For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 







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

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




Re: /html:form inserts blank space?

2002-07-02 Thread Daniel Jaffa

As long as the form tag is not inside of the TD your are safe.  This IE
rendering problem not a html issue.
- Original Message -
From: emmanuel.boudrant [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, July 02, 2002 12:41 PM
Subject: Re: /html:form inserts blank space?


 It's a html problem, not struts, Place forms tag
 inside table tag

 table
 html:form action=myAction.do method=post
 tr
 td
 /td
 /tr
 /html:form
 /table

 or

 table
 tr
 html:form action=myAction.do method=post
 td
 /td
 /html:form
 /tr
 /table

 -Emmanuel

  --- Jerry Jalenak [EMAIL PROTECTED] a
 écrit :  Call me crazy, but..
 
  I have a form inside of a table cell -
 
  td ..
 html:form action=myAction.do method=post
 html:text maxlength=60 property=name
  size=60 /
 /html:form
  /td
 
  When I turn on my table borders, there is an
  additional 20 or 25 pixels of
  space at the bottom of the cell.  This only appears
  to show up when I use
  the html:form/html:form tags.  Has anyone
  else noticed this before?
 
  Jerry
 
  This transmission (and any information attached to
  it) may be confidential and is intended solely for
  the use of the individual or entity to which it is
  addressed. If you are not the intended recipient or
  the person responsible for delivering the
  transmission to the intended recipient, be advised
  that you have received this transmission in error
  and that any use, dissemination, forwarding,
  printing, or copying of this information is strictly
  prohibited. If you have received this transmission
  in error, please immediately notify LabOne at
  (800)388-4675.
 
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 

 ___
 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
 Yahoo! Mail : http://fr.mail.yahoo.com

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


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




Re: Struts and WebLogic 5.1 from WebLogic 6.1

2002-06-26 Thread Daniel Jaffa

I have struts working fine in 5.1 sp 11 and 5.1 sp 8.

Just make sure that you have your weblogic class path and java class path
built correctly.  I put the struts.jar in the weblogic classpath and it
works fine.  And put your
xerces.jar in the java class path
- Original Message -
From: Chen, Dean (Zhun) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, June 26, 2002 10:38 AM
Subject: RE: Struts and WebLogic 5.1 from WebLogic 6.1


 There's a lot of issues with 5.1, I'm having trouble installing any struts
 apps that uses ApplicationResources.properties file. There's also problems
 with WebLogic classloaders, they load up the files in the wrong order.

 Dean Chen
 -Original Message-
 From: Chris Hardin [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 25, 2002 7:22 PM
 To: [EMAIL PROTECTED]
 Subject: Struts and WebLogic 5.1 from WebLogic 6.1




   We have a problem where we have completed an app for a customer on
 WebLogic 6.1 using all aspects of the EJB2.0 API and Struts and now the
 customer refuses to upgrade. What are some issues that we will faced
 retrofitting the app to WebLogic 5.1. Specifically, how is struts going to
 be affected by going back to 5.1 and what are some of the cons against not
 doing this so maybe we can convince the customer to upgrade to 6.1.




 _
 Chat with friends online, try MSN Messenger: http://messenger.msn.com


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

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


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




Re: Collection for ResultSet

2002-06-26 Thread Daniel Jaffa

 ArrayList of java beans works great.
- Original Message -
From: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, June 26, 2002 1:46 PM
Subject: RE: Collection for ResultSet


 I just learned how to do this sort of database work yesterday.  Obviously
 I'm no expert, but it seems like you should just do exactly what you
 thought.  A ResultSet is generally not scrollable, so you should probably
 put the retrieved info in a collection.  Any of those database experts out
 there should correct me if I'm wrong.

 ~ Keith


 -Original Message-
 From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 26, 2002 1:40 PM
 To: [EMAIL PROTECTED]
 Subject: Collection for ResultSet


 Subject: Collection for ResultSet
 From: David Chu [EMAIL PROTECTED]
  ===
 What is the preferred method to iterate through the rows of a database
query
 from a JSP under the Struts framework?  Should I write a class that dumps
 the contents of a ResultSet into some Collection?  It seems this is a
 reoccuring problem and would have been tackled before.  Please advise on a
 preferred solution.  Thanks.


 --
 -david

 --
 David C. Chu
 America Online
 Network Tools Intern
 --



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

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



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




Re: Struts and WebLogic 5.1 from WebLogic 6.1

2002-06-26 Thread Daniel Jaffa

These are just some of the problems with Weblogic 5.1.  Remember that
Weblogic 5.1 is not j2ee certified.
So you might have to jump through so hoops
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 26, 2002 3:19 PM
Subject: RE: Struts and WebLogic 5.1 from WebLogic 6.1


 It is supposed to go into WEB-INF/lib according to the spec, but I have
 not been able to get that to work in WebLogic 6.1.  I created a struts
 app in a war file and deployed it to Tomcat.  The app worked fine in
 tomcat.  I then copied the app to WebLogic 6.1 and deployed it.  I
 receive many different class loading problems when I only have the
 struts.jar in the WEB-INF/lib directory.

 The only way I have been able to use struts with WebLogic 6.1, is to add
 the struts.jar to the classpath.  This also forces me to restart
 WebLogic if I make a change to a class, or even the properties file.  In
 WebLogic 6.1 you can deploy/undeploy apps.  I am able to re-deploy the
 app, but none of the struts changes show up until I restart WebLogic.
 This is very painful development.

 Please let me know if anyone knows how to successfully deploy a struts
 app to WebLogic 6.1 by following the spec, without adding the struts.jar
 to the classpath.

 Thanks,
 Don Keeting


 -Original Message-
 From: Dean.Chen [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 26, 2002 1:43 PM
 To: struts-user
 Subject: RE: Struts and WebLogic 5.1 from WebLogic 6.1


 I thought struts.jar is supposed to go into WEB-INF/lib.

 Dean Chen


 -Original Message-
 From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 26, 2002 1:51 PM
 To: Struts Users Mailing List
 Subject: Re: Struts and WebLogic 5.1 from WebLogic 6.1


 I have struts working fine in 5.1 sp 11 and 5.1 sp 8.

 Just make sure that you have your weblogic class path and java class
 path
 built correctly.  I put the struts.jar in the weblogic classpath and it
 works fine.  And put your
 xerces.jar in the java class path
 - Original Message -
 From: Chen, Dean (Zhun) [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Wednesday, June 26, 2002 10:38 AM
 Subject: RE: Struts and WebLogic 5.1 from WebLogic 6.1


  There's a lot of issues with 5.1, I'm having trouble installing any
 struts
  apps that uses ApplicationResources.properties file. There's also
 problems
  with WebLogic classloaders, they load up the files in the wrong order.
 
  Dean Chen
  -Original Message-
  From: Chris Hardin [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, June 25, 2002 7:22 PM
  To: [EMAIL PROTECTED]
  Subject: Struts and WebLogic 5.1 from WebLogic 6.1
 
 
 
 
We have a problem where we have completed an app for a customer on
  WebLogic 6.1 using all aspects of the EJB2.0 API and Struts and now
 the
  customer refuses to upgrade. What are some issues that we will faced
  retrofitting the app to WebLogic 5.1. Specifically, how is struts
 going to
  be affected by going back to 5.1 and what are some of the cons against
 not
  doing this so maybe we can convince the customer to upgrade to 6.1.
 
 
 
 
  _
  Chat with friends online, try MSN Messenger: http://messenger.msn.com
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 

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

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




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


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




Re: Popup window, parent update, best practice

2002-06-25 Thread Daniel Jaffa

Well i had the same problem, and here is the answer that found.

1.  Window 1 pops up window 2.
2.  Window 2 does something (In your case adds a client)
3.  Window 2 has a button that calls a form on window 1 that refreshes that
data, then closes it self.  (You could make step 2 and 3 one step, but i had
to have 2 steps so that multiple new records could be added.)
4.You are done,  hopefully you code if written correctly will show up the
new datum

Pieces of the code

script langauge=javascript

window.opener.document.forms[0].updateFromNames.value=true;
window.opener.document.forms[0].submit();
window.close();
/script

In javascript (window.opener) calls window 1 from window 2.

If works in both netscape and ie.

Hope this answers your question

ps.  I set a value letting my form know that this is an update of the data.
(window.opener.document.forms[0].updateFromNames.value=true;)





- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 24, 2002 2:37 PM
Subject: RE: Popup window, parent update, best practice



 The Browser is the one that performs the logic to display what request
 where.  When you tell it to open a new window you are transfering the
 focus there also...

 I would think based on what you are describing that you could do it all
 on the same window... When they click to add a new client, save all the
 form data so far (somehow) and when they finish with the client and
 submit that, have it forward them back to the first window...

 Makes sense in theory don't it...



 -Original Message-
 From: dhsStrutsDeveloper [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 24, 2002 2:08 PM
 To: struts-user
 Subject: Re: Popup window, parent update, best practice



 - Original Message -
 From: Roland Chan [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, June 24, 2002 12:02 PM
 Subject: Popup window, parent update, best practice


  Hello,
 
  I've searched the archives and have come up with some different
  approaches but none really match my requirements.
 
  Let's say I have Window 'A' which contains a list of clients.  There
 is
  a button to add a new client which pops up Window 'B'.  The user can
  enter new client information in Window 'B' and click submit which will
  call the appropriate dispatched action and add the user.  What I'm
  looking for is the best practice to send back information to Window
 'A'
  after a successful addition in Window 'B'.  For example, I'd like to
  have the first and last names, and a couple of other pieces of
  information sent back and added to the client list in Window 'A'.
 

 Why can't the success mapping for Action B (window B's action) simply
 be
 the action that resulted in window A. In other words if LoadAction
 causes
 the list of client to appear in Window 'A', then the success mapping for
 B
 would be LoadAction. Sure, it will re-query the data store, but you get
 the
 updated client list in window A after B completes.

 /mark



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



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



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




Re: html:checkbox

2002-06-24 Thread Daniel Jaffa

Checkboxes in struts are Booleans so they can either be set to true or
false.

This information is in the documentation that James referred to.
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, June 24, 2002 3:53 PM
Subject: RE: html:checkbox


 The same way it is done in the struts-example and documentation.

 Hope that helps ;)

 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://struts-atlanta.open-tools.org

  -Original Message-
  From: Benson, Mike [mailto:[EMAIL PROTECTED]]
  Sent: Monday, June 24, 2002 3:41 PM
  To: 'Struts Users Mailing List'
  Subject: html:checkbox
 
 
  Hello all,
 
  How can you set the initail state of a check box to be selected?
 
  Thanks,
 
  Mike
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 

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


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




Re: Weblogic 5.1 + commons.logging

2002-06-21 Thread Daniel Jaffa

Ok, u need to add the jar files manually to the startweblogic.sh file then
- Original Message -
From: Chen, Dean (Zhun) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 6:13 PM
Subject: RE: Weblogic 5.1 + commons.logging


 I'm using sp8 I believe. But it's on Unix.  The jar files are in
 application/WEB-INF/lib directory.  I don't understand where WebLogic
 looks for Jar files. Does it look in the WEB-INF/lib directory, what about
 the appclasses directory?

 Thanks,

 Dean Chen



 -Original Message-
 From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 4:48 PM
 To: Struts Users Mailing List
 Subject: Re: Weblogic 5.1 + commons.logging


 What sp are you using and, where in startweblogic.cmd  are u putting the
jar
 in the classpath (The weblogic or java)
 - Original Message -
 From: Chen, Dean (Zhun) [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Thursday, June 20, 2002 3:07 PM
 Subject: Weblogic 5.1 + commons.logging


  Hi,
 
  I'm migrating my Tomcat application to WebLogic 5.1, in doing so I am
  getting this error:
 
  Thu Jun 20 15:05:07 EDT 2002:E WebAppServletContext-setshistory
Error
  instantiating servlet: com.gs.eq.ed.atlas.web.commons.SetsActionServlet
  org.apache.commons.logging.LogConfigurationException:
  java.lang.ClassNotFoundException:
  org.apache.commons.logging.impl.LogFactoryImpl
  at
  org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:497)
  at
  org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:350)
  at
 org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
  at
  org.apache.struts.action.ActionServlet.init(ActionServlet.java:331)
 
  I placed the commons-logging.jar into the WEB-INF/lib directory,
however,
 it
  still complains. Has anyone seen these types of error before? Is this a
  weblogic problem or a commons-logging problem?
 
  Thanks,
 
  Dean Chen
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 

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

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


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




Re: Weblogic 5.1 + commons.logging

2002-06-20 Thread Daniel Jaffa

What sp are you using and, where in startweblogic.cmd  are u putting the jar
in the classpath (The weblogic or java)
- Original Message -
From: Chen, Dean (Zhun) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 3:07 PM
Subject: Weblogic 5.1 + commons.logging


 Hi,

 I'm migrating my Tomcat application to WebLogic 5.1, in doing so I am
 getting this error:

 Thu Jun 20 15:05:07 EDT 2002:E WebAppServletContext-setshistory Error
 instantiating servlet: com.gs.eq.ed.atlas.web.commons.SetsActionServlet
 org.apache.commons.logging.LogConfigurationException:
 java.lang.ClassNotFoundException:
 org.apache.commons.logging.impl.LogFactoryImpl
 at
 org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:497)
 at
 org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:350)
 at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
 at
 org.apache.struts.action.ActionServlet.init(ActionServlet.java:331)

 I placed the commons-logging.jar into the WEB-INF/lib directory, however,
it
 still complains. Has anyone seen these types of error before? Is this a
 weblogic problem or a commons-logging problem?

 Thanks,

 Dean Chen

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


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




Re: struts and WLS5.1sp10

2002-06-18 Thread Daniel Jaffa

Mark,

I am running on weblogic 5.1 sp 11 and 12. And in the past also ran it on
5.10 sp 10

You know that u can not run a war file on 5.1 right.

Email me and i will send u my startweblogic.cmd and parts of my
weblogic.properties files

Dan Jaffa
- Original Message -
From: Mark Chester [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, June 18, 2002 11:02 AM
Subject: struts and WLS5.1sp10


 All,

 Weird issues with struts and WLS5.1sp10. Following these instructions
 http://jakarta.apache.org/struts/userGuide/installation-wls.html I get

 Tue Jun 18 09:27:49 CDT 2002:E ServletContext-strutsexample Error
 loading servlet: jsp_servlet._index
 java.lang.ClassNotFoundException: jsp_servlet._index
 at
 weblogic.boot.ServerClassLoader.findLocalClass(ServerClassLoader.java:372)
 at weblogic.boot.ServerClassLoader.loadClass(ServerClassLoader.java:112)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
 at

weblogic.utils.classloaders.GenericClassLoader.parentLoadClass(GenericClassL
 oader.java:487)
 at

weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(GenericClassL
 oader.java:356)
 at

weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.
 java:172)
 at

weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.
 java:146)
 at weblogic.servlet.jsp.OneOffJspLoader.loadClass(JspStub.java:435)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
 at

weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
 a:291)
 at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:185)
 at

weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:16
 4)
 at

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
 :99)
 at

weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
 l.java:742)
 at

weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
 l.java:686)
 at

weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
 Manager.java:247)
 at

weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
 at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

 Tue Jun 18 09:27:49 CDT 2002:E ServletContext-strutsexample Servlet
 failed with Exception
 javax.servlet.ServletException: Servlet class: jsp_servlet._index could
not
 be loaded - the requested class wasn't found in the classpath

/opt/onebiz/webapps/struts-example.war:/opt/onebiz/webapps/_tmp_war/struts.j
 ar
 at

weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
 a:299)
 at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:185)
 at

weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:16
 4)
 at

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
 :99)
 at

weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
 l.java:742)
 at

weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
 l.java:686)
 at

weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
 Manager.java:247)
 at

weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
 at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

 I've see this
 http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg00284.html
but
 it disclaims use on anything except sp8. Anybody got any ideas?

 Thanks,

 Mark Chester
 Application Developer
 VML, Inc.
 816-218-2833


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



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




Re: Flash and Struts

2002-06-06 Thread Daniel Jaffa

I am sick and tired of reading about flash and struts so i decide to do some
research for you
Looking at macromedia i found this about flash mx:
Develop Macromedia Flash services using Macromedia ColdFusion MX,

Java and Microsoft .Net. Macromedia Flash MX applications can easily

invoke logic and get data from services built and deployed on Macromedia

ColdFusion MX Server. Macromedia Flash can also use services built with

standard Java Servlets, Java Classes, EJBs, and Microsoft's .NET

components.


Check out the following link  (ps i found in on google)
http://www.virtual-fx.net/tutorials/html/flashjavaservlets.html



- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 7:59 AM
Subject: RE: Flash and Struts


 I'm missing your barb...did I not just admit I don't know how this is
done,
 and directed the query to someone who would?  Care to play again?

 -Original Message-
 From: micael [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 2:59 AM

 Once again, Mark, you display your lack of knowledge about Flash.  I think
 you must have learned about $.05 worth and think that is the whole
 game.  You should suspect it is not.  Anyway, as we know, JSP pages are,
 after all, servlets in the end, aren't they?


 At 05:32 PM 6/5/2002 -0400, you wrote:
 
 Yeah, okay.  It's not a question about using Flash with Struts.  Rather,
 it's a question of using Flash with servlets.  And yes, you can, though I
 don't know how.  However, there was this guy named Pierre from France (go
 figure) on servlet-interest that was/is an expert, though I haven't seen
 him
 post anything for months.  You can get on servlet-interest at
 java.sun.com/products/servlet.
 
 Mark

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


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




Need some help with generateToken

2002-05-17 Thread Daniel Jaffa

Ok,
 I have searched around and have not found much info on the following
classes
isTokenValid, saveToken, generateToken
I Think that i could use these classes to help prevent some on from hitting
the back button issues.

My question is has anybody used these and if so, could u provided me an
example.
(I saw an answer from Ted, where he explained it a little but i did not see
any example code)


Thank You

daniel Jaffa



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




Re: Need some help with generateToken

2002-05-17 Thread Daniel Jaffa

Sorry they are methods not classes. isTokenValid, saveToken, generateToken


- Original Message -
From: Daniel Jaffa [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, May 17, 2002 1:55 PM
Subject: Need some help with generateToken


 Ok,
  I have searched around and have not found much info on the following
 classes
 isTokenValid, saveToken, generateToken
 I Think that i could use these classes to help prevent some on from
hitting
 the back button issues.

 My question is has anybody used these and if so, could u provided me an
 example.
 (I saw an answer from Ted, where he explained it a little but i did not
see
 any example code)


 Thank You

 daniel Jaffa



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


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




RE: Need some help with generateToken

2002-05-17 Thread Daniel Jaffa

Thank you very much. 


Daniel Jaffa
Java Developer


-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 17, 2002 3:58 PM
To: Struts Users Mailing List
Subject: Re: Need some help with generateToken

Not much to it really.

Before forwarding to the form that needs to be part of the transaction,
just call

saveToken(request);

somewhere in the Action.

If the form the Action forwards to uses the Struts html:form tag, it
will write out the token for you as a hidden field, so there's nothing
new to do.

On the Action that catches the form, call

isTokenValid(request);

If the token is not valid, branch to an error page.

Otherwise, call resetToken(). If another copy of the form tries to
submit it again, now isTokenValid() will return false.

The token is a random number that gets stored in the user's session. A
second copy is suppose to be stored in the request. If the session and
request tokens are missing or is different, then the transaction is out
of synch.

saveToken() puts it into the request.

The Struts tags write it out as a hidden field or parameter.

resetToken() clears it from the request.

Loop closed.

The Core J2EE Patterns book covers this and a ton of other handy
strategies and patterns. Highly recommended. See the Struts Resource
page for a link.

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


Daniel Jaffa wrote:

 Ok,
  I have searched around and have not found much info on the following
 classes
 isTokenValid, saveToken, generateToken
 I Think that i could use these classes to help prevent some on from
hitting
 the back button issues.

 My question is has anybody used these and if so, could u provided me
an
 example.
 (I saw an answer from Ted, where he explained it a little but i did
not see
 any example code)

 Thank You

 daniel Jaffa

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

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


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




Re: data-sources configuration

2002-05-07 Thread Daniel Jaffa


Why set the min to 5.  That means during non peak time your database still
needs to cary the load of the 5 connections.  I think that two or three
connections is fine for the min

- Original Message -
From: Rainer Jünger [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, May 07, 2002 10:21 AM
Subject: Re: data-sources configuration



 Thanks for the confirmation!
 In general the context is clear to me. I just wanted to have some figures.
 Actually, how many connections a MySQL can handle? Do you use something
like
 5 and 40 or is that already to high? I need a startingpiont wherefrom I
can
 begin my experiments ; )

 thanks rainer


  you are correct about min/max.  As to the values, that's going to be
  subjective.  If you don't want your users to fail, then your max better
be
  as large as your concurrent users.  The min is trickier.  You need to
  balance your resources against response.  If you are feeling that the
  response is OK even with a low number then I don't see the point of
having
  more than a couple for the min.
 
   -Original Message-
   From: Rainer Jünger [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, May 07, 2002 2:33 AM
   To: Struts Users Mailing List
   Subject: data-sources configuration
  
  
   Hi,
  
   we are using the pooling of Struts. I know there are better
   ones. But we think it should do before the new release(1.1) is out.
   I am having a question on two attributes within the
   data-source tag of the struts-config.xml file
  
   1) There are two values to be set:
   maxCount=40
   minCount=5
   Is it right that minCount means the minimum number of pooled
   connections which are always provided and maxCount is the
   maximum number of connections?
  
   2) How can I find out about the best configuration? Are there
   any values out of your experiance you can give?
  
   thanks Rainer
  
  
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 


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



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




Re: Not Accepting Posts from Struts Forms

2002-04-23 Thread Daniel Jaffa

I believe this is an iis configuration error.

Can u write a simple asp page that accepts posts?
- Original Message -
From: Mike Duffy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 23, 2002 10:26 AM
Subject: Not Accepting Posts from Struts Forms


 We are running Struts under Resin with IIS on the front end.

 Any type of get request processes fine.

 However, post requests generate the error below.

 Has anyone run into a similar problem?

 Thanks.

 Mike


 HTTP Error 405
 405 Method Not Allowed

 The method specified in the Request Line is not allowed for the
 resource identified by the request. Please ensure that you have the
 proper MIME type set up for the resource you are requesting.

 Please contact the server's administrator if this problem persists.


 __
 Do You Yahoo!?
 Yahoo! Games - play chess, backgammon, pool and more
 http://games.yahoo.com/

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



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




Struts 1.0 and Nested Tags.

2002-04-18 Thread Daniel Jaffa

Please i need alot of help here.

i have the following code


bean:define id=conditionsList type=java.util.ArrayList
name=conditionsList /

logic:iterate id=theSCBean name=conditionsList
type=com.cci.dv.formBean.SpecialConditionsBean
html:form action=/compliance/MainSpecialConditions target=CONTENT
html:select property=pgmIDArray
nested:nest property=programs name=theSCBean
nested:define property=programs id=programs/
nested:options collection=programs property=programID
labelProperty=pgmName /
/nested:nest
/html:select
/logic:iterate
/html:form


I recieve the following error.
java.lang.IllegalArgumentException: Null property value for 'programs'


What am i doing wrong.

Just to let u know that programs is an ArrayList in SpecialConditionsBean.


thank u for you help.

Daniel Jaffa


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




Re: Struts 1.0 and Nested Tags. with Added Classes

2002-04-18 Thread Daniel Jaffa

Please i need alot of help here.

i have the following code


bean:define id=conditionsList type=java.util.ArrayList
name=conditionsList /

logic:iterate id=theSCBean name=conditionsList
type=com.cci.dv.formBean.SpecialConditionsBean
html:form action=/compliance/MainSpecialConditions target=CONTENT
html:select property=pgmIDArray
nested:nest property=programs name=theSCBean
nested:define property=programs id=programs/
nested:options collection=programs property=programID
labelProperty=pgmName /
/nested:nest
/html:select
/logic:iterate
/html:form


I recieve the following error.
java.lang.IllegalArgumentException: Null property value for 'programs'


What am i doing wrong.

Just to let u know that programs is an ArrayList in SpecialConditionsBean.


thank u for you help.

Daniel Jaffa












public class SpecialConditionsBean extends ActionForm implements
formInterface, Serializable {

// Procs: pageID 96 for pgmName get and 95 for put special conditions.

 public SpecialConditionsBean() {}

private String updateInsert = ;
private String mapTo = ;
private int caseID = 0;
 private int userID = 0;
 private String today = ;
 private int pgmID = 0;
 private String pgmName = ;
 private int modalID = 0;
 private int durTypeID = 0;
 private int setDuration = 0;
 private int minDuration = 0;
 private int maxDuration = 0;
 private int condTypeID = 0;
 private String condTypeDesc = ;
 private int regionID = 0;
 private ArrayList programs;
 private String selected = ;

 //these need array props also:
 private int[] pgmIDArray;
 private int[] modalIDArray;
 private int[] durTypeIDArray;
 private int[] setDurationArray;
 private int[] minDurationArray;
 private int[] maxDurationArray;
 private int[] condTypeIDArray;
 private String[] selectedArray;

 public String getUpdateInsert () { return updateInsert;}
public String getMapTo () { return mapTo;}
public int getCaseID () { return caseID;}
 public int getUserID () { return userID;}
 public String getToday () { return today;}
 public String getPgmName () { return pgmName;}
 public int getPgmID () { return pgmID;}
 public int getModalID () { return modalID;}
 public int getDurTypeID () { return durTypeID;}
 public int getSetDuration () { return setDuration;}
 public int getMinDuration () { return minDuration;}
 public int getMaxDuration () { return maxDuration;}
 public int getCondTypeID () { return condTypeID;}
 public String getSelected () { return selected;}
 public String getCondTypeDesc () { return condTypeDesc;}

 public int[] getPgmIDArray () { return pgmIDArray;}
 public int[] getModalIDArray () { return modalIDArray;}
 public int[] getDurTypeIDArray () { return durTypeIDArray;}
 public int[] getSetDurationArray () { return setDurationArray;}
 public int[] getMinDurationArray () { return minDurationArray;}
 public int[] getMaxDurationArray () { return maxDurationArray;}
 public int[] getCondTypeIDArray () { return condTypeIDArray;}
 public String[] getSelectedArray () { return selectedArray;}

 public int getRegionID () { return regionID;}
 public ArrayList getPrograms () { return programs;}

 //sets
 public void setUpdateInsert (String updateInsert) { this.updateInsert
=updateInsert;}
public void setMapTo (String mapTo) { this.mapTo =mapTo;}
public void setCaseID (int caseID) { this.caseID =caseID;}
 public void setUserID (int userID) { this.userID =userID;}
 public void setToday (String today) { this.today =today;}
 public void setPgmName (String pgmName) { this.pgmName =pgmName;}
 public void setSelected (String selected) { this.selected =selected;}
 public void setCondTypeDesc (String condTypeDesc) { this.condTypeDesc
=condTypeDesc;}

 public void setPgmIDArray (int[] pgmIDArray) { this.pgmIDArray
=pgmIDArray;}
 public void setModalIDArray (int[] modalIDArray) { this.modalIDArray
=modalIDArray;}
 public void setDurTypeIDArray (int[] durTypeIDArray) { this.durTypeIDArray
=durTypeIDArray;}
 public void setSetDurationArray (int[] setDurationArray) {
this.setDurationArray =setDurationArray;}
 public void setMinDurationArray (int[] minDurationArray) {
this.minDurationArray =minDurationArray;}
 public void setMaxDurationArray (int[] maxDurationArray) {
this.maxDurationArray =maxDurationArray;}
 public void setCondTypeIDArray (int[] condTypeIDArray) {
this.condTypeIDArray =condTypeIDArray;}
 public void setSelectedArray (String[] selectedArray) { this.selectedArray
=selectedArray;}

 public void setPgmID (int pgmID) { this.pgmID =pgmID;}
 public void setModalID (int modalID) { this.modalID =modalID;}
 public void setDurTypeID (int durTypeID) { this.durTypeID =durTypeID;}
 public void setSetDuration (int setDuration) { this.setDuration
=setDuration;}
 public void setMinDuration (int minDuration) { this.minDuration
=minDuration;}
 public void setMaxDuration (int maxDuration) { this.maxDuration
=maxDuration;}
 public void setCondTypeID (int condTypeID

Re: Struts 1.0 and Nested Tags. with Added Classes

2002-04-18 Thread Daniel Jaffa

I checked into this before  posting to the newsgroup.

What would be great is if some one could post some example code doing the
same thing.

Thank u Very much
Daniel Jaffa
- Original Message -
From: Marcelo Vanzin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 3:29 PM
Subject: Re: Struts 1.0 and Nested Tags. with Added Classes


 Daniel Jaffa wrote:
  I recieve the following error.
  java.lang.IllegalArgumentException: Null property value for 'programs'
 
  Just to let u know that programs is an ArrayList in
SpecialConditionsBean.
  an Addition that programs is an array list of ProgramsBeans.

 So it seems that some of the two getPrograms() is returning null when
 they shouldn't.

 --
 []'s
 Marcelo Vanzin
 Touch Tecnologia
 [EMAIL PROTECTED]
 Life is too short to drink cheap beer


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



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




ActionBeans

2002-04-11 Thread Daniel Jaffa

Ok, I just read this in the api

An Action is an adapter between the contents of an incoming HTTP request and the 
corresponding business logic that should be executed to process this request. The 
controller (ActionServlet) will select an appropriate Action for each request, create 
an instance (if necessary), and call the perform method. 

Actions must be programmed in a thread-safe manner, because the controller will share 
the same instance for multiple simultaneous requests. In this means you should design 
with the following items in mind: 

  a.. Instance and static variables MUST NOT be used to store information related to 
the state of a particular request. They MAY be used to share global resources across 
requests for the same action. 
  b.. Access to other resources (JavaBeans, session variables, etc.) MUST be 
synchronized if those resources require protection. (Generally, however, resource 
classes should be designed to provide their own protection where necessary. 

so does this mean that if in my action I have code like this


   ArrayList dataList= new ArrayList();
   dataList = com.cci.dv.beans.loadData.loadDisplayBean(conn, theFormBean, 
getParamArray());

Will I have data integrity issue because dataList is an Instance variable

Daniel Jaffa





Re: ActionBeans

2002-04-11 Thread Daniel Jaffa

Working to many hours, not enough thinking.
Sorry For the question.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 11, 2002 1:45 PM
Subject: RE: ActionBeans


Is dataList an instance variable or is it defined within your Action's
perform() or execute() method?

 -Original Message-
 From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 04, 2002 1:40 PM
 To: [EMAIL PROTECTED]
 Subject: ActionBeans


 Ok, I just read this in the api

 An Action is an adapter between the contents of an incoming
 HTTP request and the corresponding business logic that should
 be executed to process this request. The controller
 (ActionServlet) will select an appropriate Action for each
 request, create an instance (if necessary), and call the
 perform method.

 Actions must be programmed in a thread-safe manner, because
 the controller will share the same instance for multiple
 simultaneous requests. In this means you should design with
 the following items in mind:

   a.. Instance and static variables MUST NOT be used to store
 information related to the state of a particular request.
 They MAY be used to share global resources across requests
 for the same action.
   b.. Access to other resources (JavaBeans, session
 variables, etc.) MUST be synchronized if those resources
 require protection. (Generally, however, resource classes
 should be designed to provide their own protection where necessary.

 so does this mean that if in my action I have code like this


ArrayList dataList= new ArrayList();
dataList = com.cci.dv.beans.loadData.loadDisplayBean(conn,
 theFormBean, getParamArray());

 Will I have data integrity issue because dataList is an
 Instance variable

 Daniel Jaffa




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



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




RE: question on getting values from popup

2002-04-10 Thread Daniel Jaffa

I replied to this same message about two weeks ago.  Check the archives

Daniel Jaffa
Java Developer


-Original Message-
From: Narasimha Rao [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 10, 2002 4:21 PM
To: [EMAIL PROTECTED]
Subject: question on getting values from popup


hi,
i have a controller from which i am populating ,lets say
http://localhost:8080/action.do.The jsp page is set.jsp
when a button is clicked in set.jsp.it calls a popup window.now the
problem
is how to get the values from the popup window to the controller.
please reply back
   thanx
narasimha



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


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




Re: Windows in struts

2002-04-02 Thread Daniel Jaffa

ok all u need to do is using javascript submit the parent page and depending
on how u have your action set up, populate the new parent page
- Original Message -
From: Bhaskar Gopalan [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, April 02, 2002 12:08 PM
Subject: RE: Windows in struts


 Hi,
 thanks. I know how to do it using javascript when I do not use struts.
 The problem now is that the link on the parent window points not to
 a jsp (in which case it is easy) but to an action class.

 -GB

 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 02, 2002 12:07 PM
 To: Struts Users Mailing List
 Subject: RE: Windows in struts


 You can't control a client side web browser with a server side process.

 You will have to use JavaScript (or vbscript if you want to limit
yourself).

 I can provide a working example if you like.  But just know that I will
 steal the script from some example that is already in use on the web.  And
 it may be a day or two before I can get to it.

 Your best bet is to find such an example (e.g. yahoo mail) and do it
 yourself.  It will give you a new appreciation for JavaScript ;-)

 JM




  -Original Message-
  From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, April 02, 2002 11:51 AM
  To: Struts Group (E-mail)
  Subject: Windows in struts
 
 
  Hi,
 
  I have a jsp that contains a hyperlink which opens a new window(filter
  Window). The link
  points to a action class that inturn opens the window. Now, when I am
done
  with this window, I want to close it and display the changes in the main
  window.
  This is not happening and the results are displayed in the new window.
 
  How do I tell struts to display results in the parent window?
 
  Thanks,
  Bhaskar
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 


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

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



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




Re: Windows in struts

2002-04-02 Thread Daniel Jaffa

If you use this code you will be able to get the referense to the window.

script langauge=javascript

window.opener.document.forms[0].updateFromNames.value=true;
window.opener.document.forms[0].submit();
window.close();
/script


- Original Message -
From: Daniel Jaffa [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, April 02, 2002 12:33 PM
Subject: Re: Windows in struts


 ok all u need to do is using javascript submit the parent page and
depending
 on how u have your action set up, populate the new parent page
 - Original Message -
 From: Bhaskar Gopalan [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Tuesday, April 02, 2002 12:08 PM
 Subject: RE: Windows in struts


  Hi,
  thanks. I know how to do it using javascript when I do not use struts.
  The problem now is that the link on the parent window points not to
  a jsp (in which case it is easy) but to an action class.
 
  -GB
 
  -Original Message-
  From: James Mitchell [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, April 02, 2002 12:07 PM
  To: Struts Users Mailing List
  Subject: RE: Windows in struts
 
 
  You can't control a client side web browser with a server side process.
 
  You will have to use JavaScript (or vbscript if you want to limit
 yourself).
 
  I can provide a working example if you like.  But just know that I will
  steal the script from some example that is already in use on the web.
And
  it may be a day or two before I can get to it.
 
  Your best bet is to find such an example (e.g. yahoo mail) and do it
  yourself.  It will give you a new appreciation for JavaScript ;-)
 
  JM
 
 
 
 
   -Original Message-
   From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, April 02, 2002 11:51 AM
   To: Struts Group (E-mail)
   Subject: Windows in struts
  
  
   Hi,
  
   I have a jsp that contains a hyperlink which opens a new window(filter
   Window). The link
   points to a action class that inturn opens the window. Now, when I am
 done
   with this window, I want to close it and display the changes in the
main
   window.
   This is not happening and the results are displayed in the new window.
  
   How do I tell struts to display results in the parent window?
  
   Thanks,
   Bhaskar
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
  
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 

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



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




Re: dynamic select box

2002-03-26 Thread Daniel Jaffa

This has been answered before.  Loop up html:options and collections
- Original Message -
From: Jose Casas [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, March 26, 2002 2:26 PM
Subject: dynamic select box


 Does anybody have sample code that shows how to build a select box
 dynamically?  I need to create the select box with values that come from a
 database.

 Thank you.

 Jose Casas

 E-Commerce Applications
 (501) 277-3112
 [EMAIL PROTECTED]




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



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




Re: using condition in iterate tag

2002-03-26 Thread Daniel Jaffa

Make it easy on yourself.  Prune the vales in the collection in the actions
and not in the jsp page.
Try to keep as much business logic out of the JSP pages
- Original Message -
From: Peter Cnops [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 26, 2002 12:06 PM
Subject: using condition in iterate tag


 Hi,

 How can I declare a value out of a collection and use it as a condition in
 an iterate tag? I have to loop through a collection where one value is the
 same for several lines. As long as this value is the same, I don't write
the
 line, else I do with the new value. I'm using Struts 1.0.2.

 Thanks for any help.


 Peter Cnops
 Project Management - MediaTower



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



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




Need some quick help

2002-03-22 Thread Daniel Jaffa

I need a quick question answered.

I have the following code

 logic:iterate id=theLoop name=chargeHistory
  form action=/domesticviolence/charges/ChargeHistory.do name =
form%=i% /
   html:hidden property=chargeID name=theLoop/
   html:hidden property=caseID name=theLoop /
   tr
td width=20% align = centerfont size=-1
COLOR=#663300bean:write name=theLoop property=law //font/td
td width=20% align = centerfont size=-1
COLOR=#663300bean:write name=theLoop property=chargeDescription
//font/td
td width=5% align = centerfont size=-1
COLOR=#663300html:text property=countNumber name=theLoop size=3
//td
td width=5% align = centerfont size=-1
COLOR=#663300html:radio property=topCharge  name=theLoop value=Y
onclick=Javascript: switchAll(); //td
td width=5% align = centerfont size=-1
COLOR=#663300html:checkbox property=activeFlag  name=theLoop /
/font/td
td width=5% align = centerfont size=-1
COLOR=#663300html:submit property=updateInsert
Update/html:submit/font/td

   /tr
  /form
 /logic:iterate

what i would like to do is this


html:radio property=topCharge  name=theLoop value=Y
onclick=Javascript: switchAll(%=i%); /

but i am getting the following error. Any sugestions.


unclosed string literal probably occurred due to an error in
/charges/Chargehistory.jsp line 41:
td width=5% align = centerfont size=-1 COLOR=#663300
html:radio property=topCharge name=theLoop value=Y
onclick=Javascript: switchAll(%=i%); //td



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




Re: Need some quick help

2002-03-22 Thread Daniel Jaffa

Sorry for this message i solved it myself  fixed it using javascript.  Tried 
to do it one way failed and found a nother cool way of doing it ie.

onclick=javascript:showall(this.form.counter.value)

i also added
input type=hidden name=counter value=%=i++%

This did what i wanted to do

Daniel Jaffa.

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


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




Re: Struts allergic to dom4j

2002-03-15 Thread Daniel Jaffa

I had the same problem.  The way that i fixed it is to move dom4j into the
lib dir of the app server.  And define jdom in the startup of weblogic.

After doing that the problem went away.

Daniel Jaffa

- Original Message -
From: Mitch Gitman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 12:36 AM
Subject: Struts allergic to dom4j


 I'm developing a webapp in Tomcat. I would like to use the
 dom4j XML library. But whenever I have dom4j-full.jar in the
 webapp's WEB-INF/lib and then try to access a JSP page with
 an html:form tag, I get the following exception:
 javax.servlet.jsp.JspException: Cannot find ActionMappings or
 ActionFormBeans collection
  at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:773)
  at
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
  at
org.apache.jsp.StormPage$jsp._jspService(StormPage$jsp.java:195)
  at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:202)
  at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
  at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 ...

 The moment I remove the dom4j JAR, the problem goes away.

 It appears the error arises when Struts tries to parse its
 WEB-INF/struts-config.xml file. The presence of another XML
 parser seemingly confuses it.

 Any way that Struts and dom4j can all just get along?


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



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




Re: I need help with struts html tags example

2002-01-30 Thread Daniel Jaffa

Did you set up your struts-config.xml.  It appears that it did not find the 
configuration.

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


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




A questions about pre-population data in a form

2002-01-28 Thread Daniel Jaffa

The problem that i am seeing is that i have a class that loads data from a 
database that creates an FormBeanObject (Depending on the type of formbean 
passed in).  The code works.  But for some reason  the formbean no longer 
fills the html:text fields on the page.  I have tried to reset it back to 
the page by using
pageContext.setAttribute(pressReleaseForm, pressReleaseForm);

But it did not work.  The reason i am doing this and not calling the action 
is that i am also using vignette and i can not call the action from the 
front end of vignette.

jsp:useBean id=pressReleaseForm scope=page 
class=com.ba.corp.forms.pressReleaseForm /


%
String id = 4;

Connection con = dbCon.getConnection(content);

if (id==null) {
System.err.println(Insert);
id = 0;
} else {
System.err.println(Update);

pressReleaseForm = (com.ba.corp.forms.pressReleaseForm) 
loadData.loadFormBean(con,com.ba.corp.forms.pressReleaseForm,Integer.parseInt(id));

System.err.println( The title is  + pressReleaseForm.getReleaseTitle());


_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




RE: Populating a Form with values

2002-01-10 Thread Daniel Jaffa

So i should call my action bean to pre-populate the jsp form?

Original Message Follows
From: Keith Bacon [EMAIL PROTECTED]

I think you've missed the point of form beans.
On submission of an html form struts looks at the request parameters. If it 
can find a matching
set method in the form bean it calls it. ie. the form parms are copied into 
the form bean.

When you forward to a jsp with a form struts calls the get methods of the 
form bean to populate
the the matching form fields (that have been defined with struts tags).

You action class can deal with the form variables by calling the same 
get/set methods of the form
bean. This saves doing qqq = request.getParameter(qqq);  testing for 
nulls etc.

That's the whole point of form beans - to manage form fields.

To get readonly data onto your jsp your action class should place it in the 
request where the jsp
can get at it easily.

Keith.





--- Witt, Mike (OH35) [EMAIL PROTECTED] wrote:
  I'm new to struts also, but the way I have been doing it is to set up an
  action and a form bean in the struts config.  The action code (or some 
other
  bean that the action code uses) for getting the data from the database 
and
  populating the form using something like
  (MyForm)form.setField(theFieldData);
 
  Hope this helps.
 
  Mike
 
  -Original Message-
  From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, January 10, 2002 9:25 AM
  To: [EMAIL PROTECTED]
  Subject: Populating a Form with values
 
 
  I am new to struts so be nice (But i have worked with jsp for 2 years).  
I
  have a form that i need to populate a form with values from the database. 
  I
 
  pass the form a data_base id to the form but i now need the form to 
populate
 
  the formbean.  I know how to do this in jsp but i want to do the in the
  struts way.
 
  _
  MSN Photos is the easiest way to share and print your photos:
  http://photos.msn.com/support/worldwide.aspx
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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



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


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




RE: Populating a Form with values

2002-01-10 Thread Daniel Jaffa

Thank you very much.  I agree with you that i am still in the learning mode 
and have a far way to go.

But i am also using Vignette so i can not start with the action i have to 
start with the jsp



_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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