RE: Orkut

2004-02-09 Thread Jarnot Voytek Contr AU HQ/SC
Big thanks go out to Vic for starting this mess...

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 09, 2004 12:41 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Orkut
> 
> 
> 
> Hi,
> 
> Can someone please add me to Orkut
> Thanks in advance
> Regards
> Anant
> 
> 
> 
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Cekvenich
> Sent: Sunday, February 08, 2004 8:16 PM
> To: [EMAIL PROTECTED]
> Subject: Orkut
> 
> If you want to join Struts in Orkut Social Network send me an e-mail
> 
> saying so.
> 
> .V
> (if you do not know what it is don't worry)
> 
> 
> -
> 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]
> 
> 
> Confidentiality Notice
> 
> 
> The information contained in this electronic message and any 
> attachments to this message are intended
> for the exclusive use of the addressee(s) and may contain 
> confidential or privileged information. If
> you are not the intended recipient, please notify the sender 
> at Wipro or [EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.
> 
> -
> 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: server-side validation with Validator

2003-12-30 Thread Jarnot Voytek Contr AU HQ/SC
When you want different validations for the same form bean when used by
different actions (or action paths).

--
Voytek Jarnot
Quantum materiae materietur marmota monax si marmota monax materiam possit
materiari?


> -Original Message-
> From: Brice Ruth [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 30, 2003 12:29 PM
> To: Struts Users Mailing List
> Subject: Re: server-side validation with Validator
> 
> 
> Yeah, I read pretty much exactly that in Ted's book, but I have to 
> admit, I'm not entirely sure what it means ... someone 
> previously also 
> mentioned that the DynaValidatorForm uses the "name" attribute of the 
> action definition, whereas the DynaValidatorActionForm uses 
> the "path" 
> ... well, my "path" is the path for the Action ... I'm not sure under 
> what circumstances one would use DynaValidatorActionForm, I guess ...
> 
> Matthias Wessendorf wrote:
> 
> >Hi,
> >
> >The DynaValidatorForm will match the formset name with the form-bean
> >name.
> >it uses mapping.getAttribute() to init the validator
> >
> >
> >The DynaValidatorActionForm will match the formset name with the
> >action-mapping path.
> >it uses mapping.getPath() for init the validator
> >
> >-Original Message-
> >From: Brice Ruth [mailto:[EMAIL PROTECTED] 
> >Sent: Tuesday, December 30, 2003 7:11 PM
> >To: Struts Users Mailing List
> >Subject: Re: server-side validation with Validator
> >
> >
> >OK, nevermind ... I just needed to change DynaValidatorActionForm to 
> >DynaValidatorForm ... now it works.
> >
> >Brice Ruth wrote:
> >
> >  
> >
> >>OK, I have to admit, I'm a bit confused using Validator, despite
> >>looking at the online docs & having Ted's excellent book at hand.
> >>
> >>I have everything setup to do server-side validation, as 
> far as I can
> >>tell ... I've set a breakpoint in 
> DynaValidatorActionForm.validate and
> >>
> >>
> >
> >  
> >
> >>it is getting called ... to test if the validation is working, I've 
> >>disabled the JavaScript validation by removing the onsubmit 
> call for 
> >>my  element ... fine, now I can submit non-valid data. 
> >>However, I keep getting to my Action, instead of being 
> shunted back to
> >>
> >>
> >
> >  
> >
> >>the input page. My input page is defined as a tile 
> definition, here's 
> >>what my struts-config.xml looks like (for that section):
> >>
> >> >>   path="/US/garden/resources/orangeThumbApply"
> >>   type="com.fiskars.struts.actions.OrangeThumbSaveData"
> >>   name="orangeThumbApp"
> >>   scope="request"
> >>   validate="true"
> >>   input="garden.orangeThumbForm">
> >>>>   name="success"
> >>   path="garden.orangeThumbThankyou"/>
> >>
> >>
> >>Does anyone see anything wrong here? To test the 
> validation, I've left
> >>out a required field and I've entered a text string for a numeric 
> >>(short) value.
> >>
> >>My JavaScript validation seems to be working like a champ, but the
> >>server-side stuff seems MIA, even though its being called.
> >>
> >>TIA
> >>
> >>
> >>
> >
> >  
> >
> 
> -- 
> Brice D. Ruth
> Sr. IT Analyst
> Fiskars Brands, Inc.
> 
> 
> -
> 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] IE problem. stumped

2003-12-05 Thread Jarnot Voytek Contr AU HQ/SC
> -Original Message-
> From: Prabhat Kumar (IT) [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 05, 2003 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: [OT] IE problem. stumped
> 
> I'm wondering if anyone has come across this.
> 
> We have this struts application that is about to be deployed 
> and it works fine, shows all the HTML pages as expected in IE 6.0.
> 
> As part of our final tests, we began testing the application 
> on IE 5.01 SP1. This is where the application gets all messed 
> up. Text gets displayed all over the page very randomly. We 
> used HTML tables to layout pages and format content.
> 
> Thoughts?
> 

Two thoughts, try this: http://validator.w3.org/ and do this sort of testing
earlier in your lifecycle...

--
Voytek Jarnot
Quantum materiae materietur marmota monax si marmota monax materiam possit
materiari?

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



RE: struts 1.1 validation of indexed properties

2003-11-26 Thread Jarnot Voytek Contr AU HQ/SC
Look here for an example:
http://home.earthlink.net/~dwinterfeldt/revision.html update 9/25/2001.
Works like a champ.

--
Voytek Jarnot
Quantum materiae materietur marmota monax si marmota monax materiam possit
materiari?


> -Original Message-
> From: Andreas Wuest [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 26, 2003 1:20 PM
> To: [EMAIL PROTECTED]
> Subject: struts 1.1 validation of indexed properties
> 
> 
> hi,
> 
> i have a small problem validating index properties in my form.
> in the validation.xml file i have the following definition
> to validate my indexed properties. the validation works fine
> for the first (index = 0) property.  but i have a maximum of
> 18 indexed properties.
> 
>
>depends="required,integer,intRange">
> 
> 
> 
> 
>   min
>   0
> 
> 
>   max
>   20
> 
>   
> 
> 
> do i have to add all the 17 other indexed properties with 
> explicit index, just 
> like the one above (only with different indexes), or is there 
> a simpler way 
> to validate all the properties with only one definition ?
> i could not find any documentation about that. 
> i link would be very helpful, too.
> 
> thanks in advance,
> 
> Andreas
> 
> 
> 
> 
> -
> 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: Tiles, fixed height, scrollbar

2003-11-25 Thread Jarnot Voytek Contr AU HQ/SC
I use divs to create a tabbed interface, with a tile per tab for the
content.  The divs can have a fixed height.

--
Voytek Jarnot
Quantum materiae materietur marmota monax si marmota monax materiam possit
materiari?


> -Original Message-
> From: Oliver Wulff [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 25, 2003 9:15 AM
> To: [EMAIL PROTECTED]
> Subject: Tiles, fixed height, scrollbar
> 
> 
> 
> 
> 
> 
> Hi all
> 
> Currently, I'm using frames to split my web page. Some frames have a
> dynamic content with a scrollbar to scroll through the content of the
> frame.
> 
> Can I achieve the same with tiles? Can I fix the height of a 
> tile? If there
> is more data to display will a scrollbar be shown?
> 
> Regards
> Oliver Wulff
> 
> **
> Oliver Wulff
> Zürich Versicherungs-Gesellschaft
> IA4, CoC Middleware
> Postfach, 8085 Zürich
> Telefon: +41- 1 628 58 07
> Fax: +41 - 1 623 58 07
> E-Mail: mailto:[EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> *** BITTE BEACHTEN ***
> Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
> möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
> Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
> genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
> irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
> Ausschluss jeder Reproduktion zu zerstören und die absendende Person
> umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.
> 
> 
> -
> 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: Lazy questions on this list

2003-11-20 Thread Jarnot Voytek Contr AU HQ/SC
I disagree, there is a clear distinction - asking a question without having
read the docs shouldn't seem valid to a newbie.  I agree that a lot of these
concepts are not obvious, and a lot of the documentation is lacking - that's
why this list is essential.  However, the order of learing should be docs ->
list archive -> post question; not the inverse.

--
Voytek Jarnot
Quantum materiae materietur marmota monax si marmota monax materiam possit
materiari?


> -Original Message-
> From: Long, Robert [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 20, 2003 10:14 AM
> To: Struts Users Mailing List
> Subject: RE: Lazy questions on this list
> 
> 
> What may seem like a lazy question to some, may seem like a 
> valid question for a newbie. 
> Some people just need to remember what it was like to try to 
> learn this stuff for the first time.
> 
> Also remember, you have total control of your delete key. 
> 
>  -Original Message-
> From: Paul McCulloch [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 20, 2003 9:51 AM
> To:   Struts Users Mailing List (E-mail)
> Subject:  Lazy questions on this list
> 
> Is it my imagination or are the number of downright lazy 
> requests to this
> list getting worse?
> 
> If the only replies any lazy questions ever got was
> http://www.catb.org/~esr/faqs/smart-questions.html then maybe 
> people would
> get the point. Has anyone got any other ideas about how we 
> can reduce the
> amount of lazy and totally off-topic posts to the list?
> 
> 
> Paul

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



RE: Lazy questions on this list

2003-11-20 Thread Jarnot Voytek Contr AU HQ/SC
I'd add that we really don't need a discussion about IDEs every week.  This
list is also becoming a clearinghouse for general java/web/open-source
questions.

Since we're bringing up pet peeves, messages which consist of a signature
longer than the actual message itself should be filtered out...

--
Voytek Jarnot
Quantum materiae materietur marmota monax si marmota monax materiam possit
materiari?


> -Original Message-
> From: Paul McCulloch [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 20, 2003 9:51 AM
> To: Struts Users Mailing List (E-mail)
> Subject: Lazy questions on this list
> 
> 
> Is it my imagination or are the number of downright lazy 
> requests to this
> list getting worse?
> 
> If the only replies any lazy questions ever got was
> http://www.catb.org/~esr/faqs/smart-questions.html then maybe 
> people would
> get the point. Has anyone got any other ideas about how we 
> can reduce the
> amount of lazy and totally off-topic posts to the list?
> 
> 
> Paul
> 
> 
> 
> **
> Axios Email Confidentiality Footer
> Privileged/Confidential Information may be contained in this 
> message. If you are not the addressee indicated in this 
> message (or responsible for delivery of the message to such 
> person), you may not copy or deliver this message to anyone. 
> In such case, you should destroy this message, and notify us 
> immediately. If you or your employer does not consent to 
> Internet email messages of this kind, please advise us 
> immediately. Opinions, conclusions and other information 
> expressed in this message are not given or endorsed by my 
> Company or employer unless otherwise indicated by an 
> authorised representative independent of this message.
> WARNING:
> While Axios Systems Ltd takes steps to prevent computer 
> viruses from being transmitted via electronic mail 
> attachments we cannot guarantee that attachments do not 
> contain computer virus code.  You are therefore strongly 
> advised to undertake anti virus checks prior to accessing the 
> attachment to this electronic mail.  Axios Systems Ltd grants 
> no warranties regarding performance use or quality of any 
> attachment and undertakes no liability for loss or damage 
> howsoever caused.
> 
> 
> -
> 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: STURT set up and IDE for STURT

2003-11-20 Thread Jarnot Voytek Contr AU HQ/SC
Try this: http://www.catb.org/~esr/faqs/smart-questions.html

> -Original Message-
> From: Meenakshi Dhawale [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 20, 2003 8:53 AM
> To: Struts Users Mailing List
> Subject: Re: STURT set up and IDE for STURT
> 
> 
> no..not yet
> 
> regards,
> Meenakshi
> 
> At 09:38 03/11/20 -0500, you wrote:
> >Did you read any of the Struts books or tutorials on the 
> home page of Struts?
> >.V
> >
> >
> >Meenakshi Dhawale wrote:
> >
> >>Hi,
> >>I am new to STURTS architecture & I have told to implement 
> it for live project.
> >>So I have downloaded STURTS 1.1 from
> >>http://mirror.ehpg.net/apache/jakarta/struts/binaries/jakart
> a-struts-1.1.zip
> >>
> >>Now I want  to make set up for the same. So can u please 
> guide me with this
> >>regards.
> >>Like what are the pre-requisites s/w for making STURTS setup or any
> >>installation mannual.
> >>
> >>I have used Forte and ecliplse as IDE. Whether i can 
> continue with these?
> >>If yes...what setting I have to make?
> >>If no .. which is preferred IDE...
> >>
> >>regards,
> >>Meenakshi
> >
> >
> >
> >
> >-
> >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: [FRIDAY] Why people want to know who read their msg?

2003-11-07 Thread Jarnot Voytek Contr AU HQ/SC
this sounds like a message for the outlook-dev mailing list.

--
Voytek Jarnot
Quantum materiae materietur marmota monax si marmota monax materiam possit
materiari?


> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 07, 2003 2:26 PM
> To: Struts Users Mailing List
> Subject: Re: [FRIDAY] Why people want to know who read their msg?
 
> Actually I know what you mean and I find it slightly annoying 
> having to 
> hit "tab - return" to get rid of the confirm dialog box, and 
> the problem 
> is that I cannot turn off the configuration option because 
> that turns it 
> off for the whole application and I need it set 'on' for my personal 
> email account, but 'off' for my list accounts like this one.
> 
> I wonder if anyone on the Jakarta admin team could set the 
> mailing list 
> software to strip the 'request-confirmation' email header 
> from the mails 
> it sends out? As Yinsheng says, there is no point in them.
> 
> Adam
> 
> -- 
> struts 1.1 + tomcat 5.0.12 + java 1.4.2
> Linux 2.4.20 RH9
> 

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



RE: HAPPY DIWALI!

2003-10-23 Thread Jarnot Voytek Contr AU HQ/SC
I refuse to be baited into a solipsistic discourse on this list; who I think
I am is irrelevant.  Keep in mind that I also have absolutely no desire to
learn who you think you are, or what you think of politics, economics, or
myself.  This list is not a social club nor a debate society - try to
remember that.

--
Voytek Jarnot
Quantum materiae materietur marmota monax si marmota monax materiam possit
materiari?


> -Original Message-
> From: Olaf Bey [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 23, 2003 10:33 AM
> To: Struts Users Mailing List
> Subject: Re: HAPPY DIWALI!
> 
> 
> Who the fuck do you think you are?
> 

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



RE: HAPPY DIWALI!

2003-10-23 Thread Jarnot Voytek Contr AU HQ/SC
Would all you people just shut the hell up already?

--
Voytek Jarnot
Quantum materiae materietur marmota monax si marmota monax materiam possit
materiari?

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



RE: [Semi OT] When does a servlet get a session?

2003-10-16 Thread Jarnot Voytek Contr AU HQ/SC
If your servlet never services http requests, how is an http session useful?
You can only access the session through a request - which you'll never have.

Would the servlet context work?  getServletContext().setAttribute(...)

--
Voytek Jarnot
Quantum materiae materietur marmota monax si marmota monax materiam possit
materiari?


> -Original Message-
> From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 16, 2003 11:40 AM
> To: Struts Mailing List (E-mail)
> Subject: [Semi OT] When does a servlet get a session?
> 
> 
> OK, I have a servlet running alongside my Struts application 
> and it is basically used to start (from the init() method) a 
> separate network listener for handling network requests from 
> a number of PLC units that are incapable of generating HTTP 
> traffic, only straight socket connections, blasting a wierd 
> protocol called DF1 and then waiting for a reply.
> 
> We have all of that working. But now we want to store a piece 
> of information in the servlet session so that we can 
> load-balance on a WAS cluster. When we call back into the 
> servlet to store the information, our session information is null.
> 
> My question is ... when does a servlet get a session and can 
> we force one from the init method? This servlet never gets 
> called, so we never have an HttpSession. Can we force it to 
> create an HttpSession?
> 
> Simon
> 
> -
> Simon P. Chappell [EMAIL PROTECTED]
> Java Programming Specialist  www.landsend.com
> Lands' End, Inc.   (608) 935-4526
> 
> "Never give in - never, never, never, never, in nothing great or
> small, large or petty, never give in except to convictions of
> honor and good sense." - Sir Winston Churchill
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



RE: OT - how much to java web developers charge?

2003-09-29 Thread Jarnot Voytek Contr AU HQ/SC
Approximately $6.50 USD per hour?  That's insane, why not work in
construction - you'll get a tan and the exercise is free.

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


> -Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 29, 2003 10:13 AM
> To: Struts Users Mailing List
> Subject: RE: OT - how much to java web developers charge?
> 
> Over here I reckon a new contractor would be lucky to find 
> anything over $2k
> a month (1.1k US) for something as ordinary as a shopping 
> cart now that the
> economy has gone up a certain creek without a manual propulsion aid...
> (Thats being a slave to a bodyshop. Trying to contract on 
> your own? hehe
> good luck...)
 

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



RE: Combining struts and JSTL tags...

2003-09-05 Thread Jarnot Voytek Contr AU HQ/SC
fmt:message

> -Original Message-
> From: Paananen, Tero [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 1:07 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Combining struts and JSTL tags...
> 
> 
> > > I am using the "html" library from struts, otherwise use JSTL 
> > > libraries for my other requirements. I was curious if anybody 
> > > uses both these tag libraries together ? If so, which ones do 
> > > you use from which library and why ? Also, is there any 
> > > document/article comparing the 2 tag libraries ?  
> > 
> > The Struts web site recommends that you use JSTL instead of 
> > the bean and logic taglibs.
> 
> I don't think there's an equivalent of the bean:message
> tag in JSTL, if you want to continue using the
> MessageResources mechanism.
> 
> So it's JSTL instead of bean and logic, except for
> bean:message?
> 
>   -TPP
> 
> -
> This email may contain confidential and privileged material 
> for the sole use of the intended recipient(s). Any review, 
> use, retention, distribution or disclosure by others is 
> strictly prohibited. If you are not the intended recipient 
> (or authorized to receive for the recipient), please contact 
> the sender by reply email and delete all copies of this 
> message.  Also, email is susceptible to data corruption, 
> interception, tampering, unauthorized amendment and viruses. 
> We only send and receive emails on the basis that we are not 
> liable for any such corruption, interception, tampering, 
> amendment or viruses or any consequence thereof.
> 
> 
> -
> 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: Another missing attribute in html-el

2003-08-26 Thread Jarnot Voytek Contr AU HQ/SC
accesskey on  appears to be IE specific.  

> -Original Message-
> From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 26, 2003 2:34 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Another missing attribute in html-el
> 
> 
> That's insane! I started using the accesskey attribute with 
> "select" in
> whatever Struts version came before version 1.1. It's in 
> HTML4.0, and W3C
> DOM Level 1 (according to MSDN, which says IE has known about it since
> IE4.0). And it is beyond question in Struts 1.1!
> 
> --
> Tim Slattery
> [EMAIL PROTECTED]
 

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



RE: Opening/reading a file from a Struts application...

2003-07-29 Thread Jarnot Voytek Contr AU HQ/SC
-Original Message-
From: Jarnot Voytek Contr AU HQ/SC 
Sent: Friday, June 27, 2003 11:53 AM
To: 'Struts Users Mailing List'
Subject: RE: getting a file path to /WEB-INF from a HttpSession


try 

request.getSession(false).getServletContext().getRealPath("/WEB-INF/..."))

or, in an action you could do

getServlet().getServletContext().getRealPath("/WEB-INF/...");

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


> -Original Message-
> From: Davide Bruzzone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 12:58 PM
> To: Struts Users Mailing List
> Subject: Opening/reading a file from a Struts application...
> 
> 
> Greetings all...
> 
> I'm trying to load and read a text file (on the server's filesystem)
> from within a Struts application. I'd like to be able to put 
> the file in
> the WEB-INF, or the WEB-INF/classes directory, but am having trouble
> finding the file (i.e. I'm having trouble obtaining the path 
> that I need
> in order to open the file), and reading it...
> 
> Here's what my research has turned up:
> 
> // Something like this will return an InputStream. This is fine for
> properties files
> // since you can load a properties file by passing an 
> InputStream to the
> load method
> // on a Properties object  
> Thread.currentThread().getContextClassLoader().getResourceAsSt
> ream("my.p
> roperties");
> 
> The problem with this is that the methods that I'm using to read the
> contents of files takes either a string that represents the file name,
> or a File object... The methods then calculate the file's length, read
> the file into an array of bytes, and return the contents of 
> the array in
> various forms (i.e. An array of bytes, a string, etc.).
> 
> Does anyone have any suggestions about how best to go about doing this
> (I could change the methods that read the contents of files into
> strings, but I'm not sure exactly how to go about doing this).
> 
> Any help would be greatly appreciated...
> 
> Cheers...
> 
> 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]



RE: Beginner

2003-07-22 Thread Jarnot Voytek Contr AU HQ/SC
http://jakarta.apache.org/struts/userGuide/struts-html.html

> -Original Message-
> From: Radu Focseneanu [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 22, 2003 10:09 AM
> To: [EMAIL PROTECTED]
> Subject: Beginner
> 
> 
> Hi, 
> I'm a struts beginner, haven't read very much about it, but 
> anyway, here is
> my question - i suppose not a very difficult one.
> I need to know which tag I could use for simply writng out 
> the value of a
> certain field in a . More explicite, instead of writing out
> , i just need an output that 
> goes: "xyz".
> Thanks a lot, Radu.
> 
> 
> -
> 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] Java Script Confirm and struts

2003-07-15 Thread Jarnot Voytek Contr AU HQ/SC
http://www.google.com/search?q=javascript+confirm

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 15, 2003 1:39 PM
> To: [EMAIL PROTECTED]
> Subject: Java Script Confirm and struts
> 
> 
> Hi i wud like to have a confirm box that displays a message saying
> 
> " make sure all the values are correct, once it is submitted 
> it cannot be
> take back"
> 
> I want to have this when a user clicks a "continue" on a JSP 
> page, if the
> user clicks "yes" on the continue box it shud submit the form 
> but if the
> user
> clicks "no" then the form shud not be submitted.I started 
> writing it but i
> donno what to
> 
>   
> 
> what do i need to write for the onclick for what i need to happen.
> 
> 
> --Thanx in advance
>Mohan
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



RE: Extending RequestProcessor with Tiles

2003-07-15 Thread Jarnot Voytek Contr AU HQ/SC
extend org.apache.struts.tiles.TilesRequestProcessor

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


> -Original Message-
> From: Pat Quinn [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 15, 2003 12:08 PM
> To: [EMAIL PROTECTED]
> Subject: Extending RequestProcessor with Tiles
> 
> 
> I have extended the org.apache.struts.action.RequestProcessor (i.e. 
> processPreprocess() method) then i continued to implement tiles i.e. 
> defining the plugin in my struts-config.xml.
> 
> 
> Now on startup i get the following error:
> 
> TilesPlugin : Specified RequestProcessor not compatible with 
> TilesRequestProcessor; - nested throwable: 
> (javax.servlet.ServletException: 
> TilesPlugin : Specified RequestProcessor not compatible with 
> TilesRequestProcessor)
>   at org.jboss.jetty.Jetty.deploy(Jetty.java:436)
>   at 
> org.jboss.jetty.JettyService.performDeploy(JettyService.java:243)
> 
> 
> I've also upgraded to struts 1.1 and still get the same error
> 
> 
> any ideas???
> 
> _
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



RE: How do you access an application.properties value directly from within a class?

2003-07-15 Thread Jarnot Voytek Contr AU HQ/SC
getResources()

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


> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 15, 2003 11:28 AM
> To: 'Struts Users Mailing List'
> Subject: How do you access an application.properties value 
> directly from
> within a class?
> 
> 
> When Struts load, it grabs application.properties and stores 
> it's keys and
> values somewhere.  From within an action class I need to 
> access a value in
> application.properties.  How could one do this?
> 
> tia,
> mark
> 
> 
> 
> -
> 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: Centralized Way of Acessing the Form Bean

2003-07-03 Thread Jarnot Voytek Contr AU HQ/SC
maybe I'm confused about what you're doing, but doesn't your form bean get
passed in to the execute method for you?

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


> -Original Message-
> From: AshokD [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 03, 2003 11:24 AM
> To: Struts Users Mailing List
> Subject: Centralized Way of Acessing the Form Bean
> 
> 
> Hi,
> 
> I have a Session, Request scope beans in my Application.
> 
> To acess Session Scope component I am using below logic:
> 
> LoginForm lLoginForm = (LoginForm )session.getAttribute("formName");
> 
> To acess Request Scope component I am using below logic:
> 
> NewLoginForm lNewLoginForm = (NewLoginForm 
> )request.getAttribute("formName");
> 
> 
> 
> If i change the scope in configuration(strut-config.xml) I 
> need to change my Action classes also (where ever I am 
> acessing the form).
> 
> Their is any centralized Way of acessing the Form Bean is their ?
> 
> like:
> 
> Acessing all beans from request instead of session and request.
> 
> Thanks in Advance,
> Ashok.D
> 

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



RE: [OT]Still problem with my img / request parameter

2003-07-01 Thread Jarnot Voytek Contr AU HQ/SC
have you tried ${param.productImage} ?

> -Original Message-
> From: Alen Ribic [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 01, 2003 3:50 PM
> To: Struts Users Mailing List
> Subject: Still problem with my img / request parameter
> 
> 
> Hi all again
> 
> I know that this is not specific to Struts, but I'm just 
> hopping someone can
> give me some answer to my problem regarding using JSTL in my 
> Struts project.
> 
> I wanna write this:
> 
> 
> with no Java code like this:
> 
> 
> But ${productImage} doesn't get my request parameter! :-(
> How do I get a value of a specific request parameter in JSTL 
> or using Struts
> tag ?
> 
> Help please.
> 
> --Alen
> 
> 
> 
> 
> -
> 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: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died

2003-06-27 Thread Jarnot Voytek Contr AU HQ/SC
Heinlein?  Cat who walks through walls?

> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2003 11:51 AM
> To: [EMAIL PROTECTED]
> Subject: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died
> 
> 
> I'm pleased to report that a unanimous majority of the Struts 
> Committers 
> have voted to release Struts 1.1 on or after Sunday June 29, 2003.
> 
> =:) !!!
> 
> But, sadly, my elderly cat has died of liver failure.
> 
> =:(
> 
> Unsurprisingly, this news is a thinly veiled segue to ...
> 
> [Yet Another Quote Trivia Contest]
> 
> Which of our favorite Science Fiction authors wrote a novel 
> in which a 
> key character was a cat that, sadly, died?
> 
> A signed Struts in Action goes to the first lucky subscriber to email 
> the corrected title and author to me directly at [EMAIL PROTECTED]
> 
> -Ted.
> 
> 
> -- 
> Ted Husted,
> Struts in Action 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



RE: getting a file path to /WEB-INF from a HttpSession

2003-06-27 Thread Jarnot Voytek Contr AU HQ/SC
try 

request.getSession(false).getServletContext().getRealPath("/WEB-INF/..."))

or, in an action you could do

getServlet().getServletContext().getRealPath("/WEB-INF/...");

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


> -Original Message-
> From: Simon Kelly [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2003 11:44 AM
> To: Struts Users Mailing List
> Subject: getting a file path to /WEB-INF from a HttpSession
> 
> 
> Hi all,
> 
> I'm struggling with this a bit.
> 
> I have a class, that I call from an Action class. I am trying 
> to get the
> path to WEB-INF (C:\tomcat\webapps\myApp\WEB_INF) but all I 
> have to play
> with is the HTTPServletRequest/Responce. I can do it in a 
> class extending
> javax.servlet.Servlet, but I haven't a clue with this way.
> 
> My books and web searches have turned up either zip or useless junk.
> 
> Any help would be appreciated!
> 
> Cheers
> 
> Simon
> 
> "I have often wondered how it is that every man loves himself 
> more than all
> the rest of men, but yet sets less value on his own opinion 
> of himself than
> on the opinion of others." -- Georg Christoph Lichtenberg
> 
> Institut fuer
> Prozessdatenverarbeitung
> und Elektronik,
> Forschungszentrum Karlsruhe GmbH,
> Postfach 3640,
> D-76021 Karlsruhe,
> Germany.
> 
> Tel: (+49)/7247 82-4042
> 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] Java Trivia

2003-06-12 Thread Jarnot Voytek Contr AU HQ/SC
months is an array, not a String

> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 12, 2003 9:32 AM
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Java Trivia
> 
> 
> Here's my code - it compiles just fine.  Note the 
> string.length in the for{}
> and the string.length() in the if{}:
> 
> test = st.nextToken();
> if( test.equals( " " )) { return false; }
> 
>   for( int i = 0; i < months.length; i++ ) {
> 
> if( test.equals( months[ i ] )){
>   month = true;
>   break;
> }
>   }
> if( !month ) { return false; }
>   test = st.nextToken();
> 
>   if( test.length() > 3 || test.length() < 2 ) {
> return false;
> 
>   } else {
> StringTokenizer token = new StringTokenizer( test, "," );
> 
> while( token.hasMoreTokens() ) {
>   int i = 0;
>   if( !Character.isDigit( token.nextToken().charAt( i ))) { return
> false; }
>   i++;
>   }
> }
> 
> -Original Message-
> From: Jarnot Voytek Contr AU HQ/SC 
> [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 12, 2003 10:02 AM
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Java Trivia
> 
> 
> for( int i = 0; i < string.length; i++ ) {}
> 
> doesn't compile for me...
> 
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
> 
> 
> > -Original Message-
> > From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, June 12, 2003 8:46 AM
> > To: 'Struts Users Mailing List'
> > Subject: [OT] Java Trivia
> > 
> > 
> > Anybody know why the length of a String is a property of the
> > String when
> > used as a logical qualifier in a for{} block but a function 
> > of the String in
> > a conditional if{} statement?
> > 
> > for( int i = 0; i < string.length; i++ ) {}
> > 
> > if( string.length() != 4 ) {}
> > 
> > 
> > Mark
> > 
> > 
> > 
> > 
> -
> > 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] Java Trivia

2003-06-12 Thread Jarnot Voytek Contr AU HQ/SC
for( int i = 0; i < string.length; i++ ) {}

doesn't compile for me...

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


> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 12, 2003 8:46 AM
> To: 'Struts Users Mailing List'
> Subject: [OT] Java Trivia
> 
> 
> Anybody know why the length of a String is a property of the 
> String when
> used as a logical qualifier in a for{} block but a function 
> of the String in
> a conditional if{} statement?
> 
> for( int i = 0; i < string.length; i++ ) {}
> 
> if( string.length() != 4 ) {}
> 
> 
> Mark
> 
> 
> 
> -
> 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] A question long not raised....

2003-05-30 Thread Jarnot Voytek Contr AU HQ/SC
making him a very enthusiastic flashee, rather than a flasher

> -Original Message-
> From: Denis Avdic [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 29, 2003 11:24 AM
> To: Struts Users Mailing List
> Subject: Re: [OT] A question long not raised
> 
> 
> No, no, he admits LOVING flashers.  A fetish interest in development, 
> looks like.  ;)
> 
> James Mitchell wrote:
> 
> >So.you admit to being a flasher?
> >
> >--
> >James Mitchell
> >Software Developer/Struts Evangelist
> >http://www.open-tools.org
> >
> >
> >
> >- Original Message - 
> >From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]>
> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> >Sent: Thursday, May 29, 2003 11:35 AM
> >Subject: RE: A question long not raised
> >
> >
> >  
> >
> >>Hahahaha.  I should've figured.
> >>
> >>Don't mind me, any time I see flash I get interested.
> >>I'm somewhat new to it, but I love the stuff.
> >>
> >>~ Keith
> >>
> >>http://www.buffalo.edu/~kkamholz
> >>
> >>
> >>
> >>-Original Message-
> >>From: Jarnot Voytek Contr AU HQ/SC 
> [mailto:[EMAIL PROTECTED]
> >>Sent: Thursday, May 29, 2003 11:24 AM
> >>To: 'Struts Users Mailing List'
> >>Subject: RE: A question long not raised
> >>
> >>
> >>Don't encourage him, he'll soon be describing a Struts app 
> with a Flash
> >>front-end that controls a tap specially designed for 
> quickest Fosters
> >>delivery... ;)
> >>
> >>--
> >>Voytek Jarnot
> >>Quidquid latine dictum sit, altum viditur.
> >>
> >>
> >>
> >>
> >>>-Original Message-
> >>>From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
> >>>Sent: Thursday, May 29, 2003 10:18 AM
> >>>To: 'Struts Users Mailing List'
> >>>Subject: RE: A question long not raised
> >>>
> >>>
> >>>I'm curious, what exactly do you want to do?
> >>>(How do you want them to be integrated?)
> >>>
> >>>- Keith
> >>>
> >>>www.buffalo.edu/~kkamholz
> >>>
> >>>
> >>>-Original Message-
> >>>From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> >>>Sent: Thursday, May 29, 2003 11:17 AM
> >>>To: 'Struts Users Mailing List'
> >>>Subject: RE: A question long not raised
> >>>
> >>>
> >>>Yeah, and how do you get Flash integrated into Struts?
> >>>
> >>>Mark
> >>>
> >>>-Original Message-
> >>>From: Fred So [mailto:[EMAIL PROTECTED] 
> >>>Sent: Thursday, May 29, 2003 10:54 AM
> >>>To: [EMAIL PROTECTED]
> >>>Subject: A question long not raised
> >>>
> >>>
> >>>Hi All
> >>>
> >>>Just want to raise a question that does not seem to have been 
> >>>asked for a
> >>>while
> >>>
> >>>When should we be expecting official release Struts 1.1?
> >>>
> >>>Hope we don't get the same "automated" response.
> >>>
> >>>Fred
> >>>
> >>>
> >>>
> >>>
> >>>---
> --
> >>>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: A question long not raised....

2003-05-30 Thread Jarnot Voytek Contr AU HQ/SC
Don't encourage him, he'll soon be describing a Struts app with a Flash
front-end that controls a tap specially designed for quickest Fosters
delivery... ;)

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


> -Original Message-
> From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 29, 2003 10:18 AM
> To: 'Struts Users Mailing List'
> Subject: RE: A question long not raised
> 
> 
> I'm curious, what exactly do you want to do?
> (How do you want them to be integrated?)
> 
> - Keith
> 
> www.buffalo.edu/~kkamholz
> 
> 
> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 29, 2003 11:17 AM
> To: 'Struts Users Mailing List'
> Subject: RE: A question long not raised
> 
> 
> Yeah, and how do you get Flash integrated into Struts?
> 
> Mark
> 
> -Original Message-
> From: Fred So [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 29, 2003 10:54 AM
> To: [EMAIL PROTECTED]
> Subject: A question long not raised
> 
> 
> Hi All
> 
> Just want to raise a question that does not seem to have been 
> asked for a
> while
> 
> When should we be expecting official release Struts 1.1?
> 
> Hope we don't get the same "automated" response.
> 
> Fred
> 
> 
> 
> 
> -
> 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] Help: JavaScript pop-up menu goes behind drop down list in Internet Explorer

2003-04-02 Thread Jarnot Voytek Contr AU HQ/SC
I'm assuming you mean in IE?  No way to fix this, other than hiding the
drop-down while the menu is displayed...

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


> -Original Message-
> From: Denis Wang [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2003 8:42 AM
> To: Struts Users Mailing List
> Subject: Help: JavaScript pop-up menu goes behind drop down list in
> Internet Explorer
> 
> 
> Hello, all,
> Sorry if it is off the subject of this mailing list.
> I use JavaScript to generate a pop-up menu.  However, the 
> menu is shadowed
> by my drop down list on the same page.  Does anybody have any 
> idea how to
> fix it.
> Thanks.
> Denis
> 
> p.s. my JavaScript code to generate the menu
> 
>   function showMyMenu( myMenuName, myAnchorId ) {
> myAnchor = getAnchorPosition( myAnchorId );
> window.showMenu( myMenuName, myAnchor.x, myAnchor.y+15 );
>   }
> 
> 
> 
> -
> 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] JavaScript Debugger For Client-Side Validation

2003-03-31 Thread Jarnot Voytek Contr AU HQ/SC
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 31, 2003 12:19 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [OT] JavaScript Debugger For Client-Side Validation
> 
> > > Oh how we all love a good browser war :-).  Mozilla is ok but
> > > amateur.
> > > Opera has those features and they are implemented better than
> > > Mozilla's.
> > >
> > > Quick examples:
> > > Ctrl-N in Opera opens new tab.  Ctrl-N in mozilla opens news
> > > window.  Why
> > > provide tabs and then default to opening windows?
> >
> >Why break existing functionality (an even bigger sin than 
> changing a public
> >API)?  Ctrl-T opens a new tab in Mozilla...
> 
> I know that shortcut and it's irritating.  It should be a 
> configurable 
> preference.  Like I said, Mozilla is amateur.

Here we go ;) Why is it amateur to not break an interface component that
users are used to?  To me, it seems amateur to change a long-established
keyboard shortcut - especially if users (such as myself) wish to work with
both new windows and new tabs...

> >
> > > F5 and Ctrl-R in Opera refresh the page to fit with the
> > > Windows standard and
> > > old netscape diehards.  Mozilla uses Ctrl-R only.
> >
> >False, both F5 and Ctrl-R do a refresh in Mozilla.
> 
> Not the last time I checked.  I only use Mozilla on Linux 
> though so maybe 
> the versions are different.

Ahh, good point - maybe Mozilla only supports F5 on windows platforms.  Of
course, in a sense this is perfectly logical - as F5 to refresh is a copy of
an IE keyboard shortcut, so why should it work on non-MS OSes?

> >
> > > Maybe minor issues but Opera is the more polished browser.
> > >
> > > David

<>

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



RE: [OT] JavaScript Debugger For Client-Side Validation

2003-03-31 Thread Jarnot Voytek Contr AU HQ/SC
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 31, 2003 12:05 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OT] JavaScript Debugger For Client-Side Validation
> 
> 
> Oh how we all love a good browser war :-).  Mozilla is ok but 
> amateur.  
> Opera has those features and they are implemented better than 
> Mozilla's.
> 
> Quick examples:
> Ctrl-N in Opera opens new tab.  Ctrl-N in mozilla opens news 
> window.  Why 
> provide tabs and then default to opening windows?

Why break existing functionality (an even bigger sin than changing a public
API)?  Ctrl-T opens a new tab in Mozilla...

> F5 and Ctrl-R in Opera refresh the page to fit with the 
> Windows standard and 
> old netscape diehards.  Mozilla uses Ctrl-R only.

False, both F5 and Ctrl-R do a refresh in Mozilla.

> Maybe minor issues but Opera is the more polished browser.
> 
> David
> 
> 
> 
> >From: Dan Allen <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> >To: Struts Users Mailing List <[EMAIL PROTECTED]>
> >Subject: Re: [OT] JavaScript Debugger For Client-Side Validation
> >Date: Mon, 31 Mar 2003 11:59:53 -0600
> >
> >MOZILLA!  There isn't a person I have introduced to mozilla, both
> >microsoft lovers and haters alike, that do not swear by mozilla now.
> >If tab browsing, dom inspector, javascript console or javascript
> >debugger doesn't catch your interest, then you are just not
> >interested in software.  Mozilla rocks.  I rest my case.
> >
> >Dan
> >
> >--
> >- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >Daniel Allen, <[EMAIL PROTECTED]>
> >http://www.mojavelinux.com/
> >- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >[Frodo]: "I wish it need not have happened in my time."
> >[Gandalf]: "So do I, and so do all who live to see such times.
> >But that is not for them to decide. All we have to decide is
> >what we do with the time that is given to us.'
> >- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >
> >-
> >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]
> 

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



RE: [OT]: Looking for a Good Web Designing Tool

2003-03-17 Thread Jarnot Voytek Contr AU HQ/SC
vi is great and it supports all current and future html tags...

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


> -Original Message-
> From: Vinay Chandupatla [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 17, 2003 8:01 AM
> To: [EMAIL PROTECTED]
> Subject: [OT]: Looking for a Good Web Designing Tool
> 
> 
> Hi everybody, 
> Which tool is good for developing web pages. I am 
> using struts architecture  but I will be the on who will also 
> doing web designing work and also programming. 
> 
> I have Dreamweaver , but it doesn't support many features 
> like  and  
> 
> Is there a very user friendly Tool which can help build web 
> user interfaces. 
> 
> 
> 
> Help appreciated 
> 
> Thank you very much 
> Vinay 
> 
> 
> -
> 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] javascript function call with parameter

2003-03-17 Thread Jarnot Voytek Contr AU HQ/SC
Why not just do:




no scriptlet required...

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



> -Original Message-
> From: Yannick Lesage [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 17, 2003 7:45 AM
> To: Struts-User
> Subject: javascript function call with parameter
> 
> 
> Hi,
> 
> I'm trying in a JSP page to move items between 2 lists.
> This is done via a javascript method that call my action:
> 
> function rightMove(nbForm){
>   document.forms[nbForm].elements['sense'].value="right";
>   document.forms[nbForm].submit();
> }
> 
> This function is called on the "ondblclick" javascript method on the
>  tag :
>  style="width:100%"
> ondblclick="javascript:rightMove(<%= nbForm %>)">
>   
> 
> 
> The problem is that my java parameter 'nbForm' that gives the 
> form number to
> be sumitted isn't parsed correctly, the HTML output looks like :
>  ondblclick="javascript:rightMove(<%= nbForm %>)" style="width:100%">)
> 
> If I put the same funtion on a href link for instance, it 
> works perfectly :
> 
>   
> 
> 
> Does anyone know the syntax of such a command?
> 
> Thanks
> 
> Yannick
> 
> 
> -
> 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: Help with ActionMessages

2003-03-12 Thread Jarnot Voytek Contr AU HQ/SC
shouldn't you call saveMessages(...)?

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


> -Original Message-
> From: louis majanja [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 3:01 PM
> To: Struts Users Mailing List
> Subject: Re: Help with ActionMessages
> 
> 
> Yes i tried 
> 
> 
>  and it does not work
> 
> On Wed, 2003-03-12 at 12:34, James Mitchell wrote:
> > Did you try this?
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > James Mitchell
> > Software Developer/Struts Evangelist
> > http://struts.sourceforge.net/struts-atlanta/
> > 
> > - Original Message - 
> > From: "louis majanja" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 12, 2003 3:34 PM
> > Subject: Help with ActionMessages
> > 
> > 
> > > i need help with ActionMessages it doesn't seem to work 
> like the way i
> > > expect it
> > > 
> > > here is what i have in my ActionForm
> > > 
> > > ActionMessages messages = new ActionMessages();
> > > 
> > >messages.add("message",
> > >   new ActionMessage("message.login.confirmation"));
> > > 
> > > in my jsp i have
> > > 
> > > 
> > > 
> > > which doesn't work 
> > > 
> > > i thought the  should work the same way 
> as 
> > > 
> http://jakarta.apache.org/struts/userGuide/release-notes-1.1-rc1.html
> > > 
> > > i am using -rc1
> > > 
> > > thank you
> > > 
> > > Louis
> > > 
> > > 
> > > 
> -
> > > 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: [struts-atlanta] Introductions

2003-03-12 Thread Jarnot Voytek Contr AU HQ/SC
Any plans for future weekend meetings, for those of us that are in the area,
but not close enough to drive up in the evening?

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


> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 9:40 AM
> To: 'Struts Users Mailing List'
> Subject: RE: [struts-atlanta] Introductions
> 
> 
> That's right.  All are invited!!
> 
> 
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://struts.sourceforge.net/struts-atlanta/
> 
> 
> 
> > -Original Message-
> > From: James Holmes [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, March 12, 2003 10:39 AM
> > To: Struts Users Mailing List
> > Subject: RE: [struts-atlanta] Introductions
> > 
> > 
> > I know this was directed to James M...
> > 
> > You're invited anytime.  Come on down to Atlanta...
> > 
> > -james
> > 
> > --- "Chappell, Simon P" <[EMAIL PROTECTED]>
> > wrote:
> > > James,
> > > 
> > > So, when are you going to invite me to give my
> > > Struts presentation? :-)
> > > 
> > > Simon
> > > 
> > > 
> > > 
> > >
> > 
> -
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Web Hosting - establish your business online
> > http://webhosting.yahoo.com
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



RE: [Q] how to Sort on JSP without calling server side?

2003-03-12 Thread Jarnot Voytek Contr AU HQ/SC
You could go to the source (vs BEA):
 http://www.catb.org/~esr/faqs/smart-questions.html

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


> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 11, 2003 8:59 PM
> To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
> Subject: RE: [Q] how to Sort on JSP without calling server side?
> 
> 
> Well, THAT explains a lot!!  Bloody Oz Rat!  I should have known.  You
> probably have a history in LISP as well.  Those bloody 
> MIT/SAIL guys are so
> full of (shyte) - (I'm too tired to do something really 
> hackish like explain
> myself in LISP).
> 
> On a more [OT] serious side...anyone know what happened to 
> Eric Raymond's
> "How To Ask Questions The Smart Way" that was being hosted on 
> BEA's site?  I
> can't find it...and since I was the one to introduce you to 
> sirs Raymond and
> Steele, I feel bad about not being able to sig it.
> 
> Of course, Craig knows Guy personally, so I'm sure he could 
> clue us in
> 
> Mark -> middle o' the night trying to fuse servlets with 
> JavaScript
> 
> -Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 11, 2003 9:50 PM
> To: Struts
> Subject: RE: [Q] how to Sort on JSP without calling server side?
> 
> 
> Foolish yank, - dont you mean "bloody Aussie"?
> 
> Enough polite chat (I can hear the OT police siren in the 
> distance!) - your
> making me feel like its Friday already - which isnt till the day after
> tomorrow :-( (or day after day after tomorrow in your case -nyah!)
> 
> ;-)
> 
> (I would post algorithms, but I dont have them. Was just 
> forwarding the msg
> in case original poster found the reply helpful...)
> 
> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 12 March 2003 10:27
> To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
> Subject: RE: [Q] how to Sort on JSP without calling server side?
> 
> 
> More helpful, you bloody limey, would be to post the algorithm.
> 
> :-)
> 
> MaRKo
> 
> -Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 11, 2003 9:22 PM
> To: Struts
> Subject: RE: [Q] how to Sort on JSP without calling server side?
> 
> 
> (forwarding to struts list)
> 
> -Original Message-
> From: Edgar Dollin [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 11 March 2003 20:40
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Q] how to Sort on JSP without calling server side?
> 
> 
> Matt Kruse has a set of javascript you can use for sorting
> http://www.mattkruse.com.  It gets sluggish with large tables 
> but is fine
> with smaller record sizes.
> 
> Edgar
> 
> > -Original Message-
> > From: Andrew Hill [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 11, 2003 12:12 AM
> > To: 'Struts Users Mailing List'
> > Subject: RE: [Q] how to Sort on JSP without calling server side?
> >
> >
> > JSP Tags - including the tags suppolied with struts - are 
> executed on 
> > the server side. ...however those tags may render javascript to the 
> > response - javascript is of course executed on the client side. You 
> > might be able to find a tag that renders some javascript that sorts 
> > something. You might not. Kinda depends what it is you are sorting 
> > doesnt it?
> >
> > -Original Message-
> > From: Dan Allen [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, 11 March 2003 12:56
> > To: Struts Users Mailing List
> > Subject: Re: [Q] how to Sort on JSP without calling server side?
> >
> >
> > Maybe OT, but is there a way to sort with JSP tags, or struts tags?
> >
> > Dan
> >
> > --
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> - Daniel 
> > Allen, <[EMAIL PROTECTED]> http://www.mojavelinux.com/
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> - "If you 
> > still don't like it, that's ok: that's why I'm boss. I simply know 
> > better than you do."
> >  -- Linus Torvalds
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >
> > 
> -
> > 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] part II - code generator

2003-03-11 Thread Jarnot Voytek Contr AU HQ/SC
I guess the generator didn't work...

> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 11, 2003 3:01 PM
> To: 'Struts Users Mailing List'
> Subject: RE: part II - code generator
> 
> 
> Did we forget to add something?
> 
> 
> 
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://struts.sourceforge.net/struts-atlanta/
> 
> 
> 
> > -Original Message-
> > From: JAMES [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, March 11, 2003 3:58 PM
> > To: Struts Users Mailing List
> > Subject: part II - code generator
> > 
> > 
> > 
> > 
> > 
> 
> 
> -
> 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: comparing strings with tags/online reference

2003-03-11 Thread Jarnot Voytek Contr AU HQ/SC
have you seen this: http://www.manning.com/bayern/appendixA.pdf

the last example on this page has the answer you need:
http://www-106.ibm.com/developerworks/java/library/j-jstl0211.html

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



> -Original Message-
> From: Curley, John [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 11, 2003 10:03 AM
> To: 'Struts Users Mailing List'
> Subject: comparing strings with tags/online reference
> 
> 
> 
> Hi, All:
> 
> How do you compare strings (if you can) with JSTL?  I am 
> having trouble
> finding a good online reference (if anyone knows of one, please let me
> know).
> 
> I have a string that I am getting from an object that is in a 
> collection in
> one of my forms.
> 
> I have used the c:choose and c:if core JSTL successfully but 
> only with a
> boolean value (here is an example):
> 
> 
>   
>   
> 
>   
> 
>   
>   
> 
>   
> 
> 
> ...
> 
> The only problem is that I used this test with one value of 
> boolean type.
> Now I know that I have to make the c:when (or c:if) test 
> attribute resolve
> to a boolean condition: how can I use this (or similar tag) 
> to do a string
> compare?
> 
> I guess a big issue for me is finding a good online reference 
> since I am new
> to JSTL.
> 
> Any help would be great.
> 
> Thanks,
> John
> 
> -
> 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: Newbie question

2003-03-11 Thread Jarnot Voytek Contr AU HQ/SC
do a post instead of a get

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


> -Original Message-
> From: James [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 11, 2003 9:23 AM
> To: [EMAIL PROTECTED]
> Subject: Newbie question
> 
> 
> How can i mask the url in the browser so the user does not 
> see the request
> parameters..?
> 
> ie /localhost/myapp/find?id=3  - is what is currently displayed...
> 
> 
> 
> 
> 
> -
> 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: Javascript use of ID

2003-03-06 Thread Jarnot Voytek Contr AU HQ/SC
try styleId, and check
http://jakarta.apache.org/struts/userGuide/struts-html.html for further
questions

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


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 06, 2003 11:49 AM
> To: [EMAIL PROTECTED]
> Subject: Javascript use of ID
> 
> 
> Hi,
> 
>  My client browser in IE.  So javascript needs ID in the tags like
> 
> 
> 
> and the javascript would be something like
> 
> function fnSwitch(){
>   clickme .disabled=false;
> }
> 
> 
> But when  or   tag does not allow id 
> how do I do the
> samething??
> 
> Regards
> Rajesh J
> 
> 
> 
> 
> 
> -
> 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] Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread Jarnot Voytek Contr AU HQ/SC
http://www.lispme.de/lispme/

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


> -Original Message-
> From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 12:13 PM
> To: Struts Users Mailing List
> Subject: RE: Modern Computing (was RE: [OT] Ancient computing)
> 
> 
> So ... how does lisp run on those? Is it available for the 
> Tungsten T? (Couldn't resist! ;-)
> 
> >-Original Message-
> >From: James Turner [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, March 05, 2003 11:49 AM
> >To: 'Struts Users Mailing List'
> >Subject: RE: Modern Computing (was RE: [OT] Ancient computing)
> >
> >
> >In the office:
> >
> >Homebuilt P4 2.4Ghz with 512MB RAM, GeForce 2400, Mylex RAID 
> controller
> >with 9 36GB SCSI drives in a separate enclosure, Sony 4x 
> DVD+-RW Drive,
> >hooked up through a KVM switch to an Envision 17" flat panel 
> running XP
> >Pro.
> >
> >Homebuilt P4 1.8Ghz with 512MB RAM running Redhat 8 hooked 
> up to my DSL
> >line (my web and mail server).
> >
> >Toshiba Laptop (1Ghz Celeron) running XP Pro and Win98.
> >
> >In the Bedroom:
> >
> >Old P100 Toshiba Laptop my wife uses to surf.
> >
> >Downstairs in the family room:
> >
> >Homebuilt P3 1Ghz my 8yr old uses for games and homework.
> >
> >In my pocket:
> >
> >Palm Tungsten T networked into the home LAN via a Bluetake Bluetooth
> >gateway.
> >
> >On a side note, my office gets warm enough during the winter 
> that it's
> >still 80 degrees there with all the heat turned off to that zone.
> >
> >James
> >
> >
> >
> >-
> >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: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread Jarnot Voytek Contr AU HQ/SC
I've been thinking about those 16" Sonys, how are they size-wise WRT
portability?  How is the 'desktop' version of the P4 when running on
battery?

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


> -Original Message-
> From: Hookom, Jacob John [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 11:11 AM
> To: Struts Users Mailing List
> Subject: RE: Modern Computing (was RE: [OT] Ancient computing)
> 
> 
> I have:
> Sony GRV550 P4 2.4GHz Laptop w/ 512 MB DDR and 16" Screen w/ XP Pro
> Server P4 1.5GHz 1GB RDRAM, 15" LCD, 200 GB HD with 8MB 
> cache, Red Hat 8
> 
>   -Original Message- 
>   From: Chappell, Simon P [mailto:[EMAIL PROTECTED] 
>   Sent: Wed 3/5/2003 10:18 AM 
>   To: Struts Users Mailing List 
>   Cc: 
>   Subject: Modern Computing (was RE: [OT] Ancient computing)
>   
>   
> 
>   OK, enough reminising ... what do people currently have?
>   
>   I have a Mac tower with dual 550MHz G4 CPUs, 1.5Gb of 
> RAM and the 22" CinemaDisplay flat panel monitor. I run Mac 
> OS X 10.2.4 on it. And, it almost goes without saying that, I love it.
>   
>   Simon
>   
>   >-Original Message-
>   >From: du Plessis, Corneil C [mailto:[EMAIL PROTECTED]
>   >Sent: Wednesday, March 05, 2003 10:13 AM
>   >To: Struts Users Mailing List
>   >Subject: RE: [OT] Ancient computing
>   >
>   >
>   >Playing the Space shuttle games on the Commodore 64 
> was just awesome!
>   >
>   >-Original Message-
>   >From: Nelson, Laird [mailto:[EMAIL PROTECTED]
>   >Sent: 05 March, 2003 18:10
>   >To: 'Struts Users Mailing List'
>   >Subject: RE: [OT] Ancient computing
>   >
>   >
>   >> -Original Message-
>   >> From: Tim Shadel [mailto:[EMAIL PROTECTED]
>   >> First family computer I remember: 8080
>   >>
>   >> First that I used: Atari or Commodore64 with BASIC (hooked it
>   >> to the TV,
>   >> screen was blue with white letters [forboadings of M$??],
>   >> eventually had
>   >> a 5 1/4 disk drive)
>   >
>   >First computer used: Commodore PET (was that what they 
> were called?)
>   >First computer used extensively: Radio Shack TRS-80
>   >First computer that awed me: Commodore 64
>   >
>   >Laird
>   >
>   
> >-
>   >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, 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: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread Jarnot Voytek Contr AU HQ/SC
you should check out http://www.mini-itx.com/ for small PCs.

My current machine is a lowly PIII 1GHz, but a parts for a 2.4GHz PIV are
calling my name from newegg...  My problem is that I need a new machine, my
wife needs a new machine and I also need a laptop - as I get older I'm less
and less willing to spend money on computers...

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


> -Original Message-
> From: Bueno Carlos M [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 11:01 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Modern Computing (was RE: [OT] Ancient computing)
> 
> 
> You won't believe this, but my little beauty is a P133 with 
> 4x8MB SIMMS, 2MB
> s3 Trio Video card, 2.1GB HD, and a sound blaster 16. Runs 
> Mandrake 8.2 jes
> fine. This is not my closet computer, it IS my computer. But now it's
> starting to go senile so I'm looking at those nifty shoebox 
> computers from
> shuttleonline.
> 
>  -- Carlos "No Nickname" Bueno
> 
> -Original Message-
> From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 11:18 AM
> To: Struts Users Mailing List
> Subject: Modern Computing (was RE: [OT] Ancient computing)
> 
> 
> OK, enough reminising ... what do people currently have?
> 
> I have a Mac tower with dual 550MHz G4 CPUs, 1.5Gb of RAM and the 22"
> CinemaDisplay flat panel monitor. I run Mac OS X 10.2.4 on it. And, it
> almost goes without saying that, I love it.
> 
> Simon
> 
> >-Original Message-
> >From: du Plessis, Corneil C [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, March 05, 2003 10:13 AM
> >To: Struts Users Mailing List
> >Subject: RE: [OT] Ancient computing
> >
> >
> >Playing the Space shuttle games on the Commodore 64 was just awesome!
> >
> >-Original Message-
> >From: Nelson, Laird [mailto:[EMAIL PROTECTED]
> >Sent: 05 March, 2003 18:10
> >To: 'Struts Users Mailing List'
> >Subject: RE: [OT] Ancient computing
> >
> >
> >> -Original Message-
> >> From: Tim Shadel [mailto:[EMAIL PROTECTED]
> >> First family computer I remember: 8080
> >> 
> >> First that I used: Atari or Commodore64 with BASIC (hooked it 
> >> to the TV, 
> >> screen was blue with white letters [forboadings of M$??], 
> >> eventually had 
> >> a 5 1/4 disk drive)
> >
> >First computer used: Commodore PET (was that what they were called?)
> >First computer used extensively: Radio Shack TRS-80
> >First computer that awed me: Commodore 64
> >
> >Laird
> >
> >-
> >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, 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] displaying "\n" in html?

2003-03-03 Thread Jarnot Voytek Contr AU HQ/SC
firstly, this is OT, secondly if you're using JDK 1.4, here's your one-liner
(String in question is str): 

str = str.replaceAll("\\n", "");

which is a short way of writing:

Pattern.compile("\\n").matcher(str).replaceAll("");

also a one-liner...

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


> -Original Message-
> From: dario [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 03, 2003 12:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: displaying "\n" in html?
> 
> 
> 
> "David Graham" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > LOL
> >
> > David
> >
> 
> 
> yeah, right, i could have expected so. i sent about five 
> questions to this
> mailing list and i never NEVER got an answer. and i don't 
> think that the
> reason is i ask stupid questions, in fact most of the 
> questions here are
> much worse.
> 
> >You're too lazy to write a one line method that does it?
> 
> it is not that i am lazy, i didn't want to reinvent the 
> wheel, i wanted to
> see what are the strategies for solving this. but of course, 
> there are smart
> asses to tell you everything you are not interested in.
> i'd love to see one-liner that converts char to string.
> 
> 
> 
> 
> 
> 
> -
> 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: What does this erroe mean

2003-03-03 Thread Jarnot Voytek Contr AU HQ/SC
we'll need to see at least the relevant part of your struts-config.xml.
Also, what's throwing the error?

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


> -Original Message-
> From: Sloan Seaman [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 03, 2003 8:27 AM
> To: Struts Users Mailing List
> Subject: What does this erroe mean
> 
> 
> I keep getting:
> no input attribute found for path ...
> 
> Everything looks good in my config files...
> 
> what causes this error?
> 
> 
> 
> -
> 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: automatic send mail

2003-02-28 Thread Jarnot Voytek Contr AU HQ/SC
Have you looked at http://java.sun.com/products/javamail/ ?

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


> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 5:23 AM
> To: Struts Users Mailing List
> Subject: automatic send mail
> 
> 
> Hi all,
> 
> I got one more question :
> 
> How can I solve this use case, I need to automatic
> delivering mail to student who have not validate some
> exercices or they are late in the execution of them.
> 
> I have a view page how show by courses and by
> class all the students and all the state of theirs exercices 
> and I want allow a professor to choose to send mail
> to students.
> 
> Thanks for your advice.
> 
> --
>  Alexandre Jaquet
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



RE: Struts-EL

2003-02-28 Thread Jarnot Voytek Contr AU HQ/SC
This issue has been discussed this week, and last week, and probably the
week before...

http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=jstl+collection+size&q
=b

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


> -Original Message-
> From: Josh Rayls [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 7:47 AM
> To: Struts Users Mailing List (E-mail)
> Subject: Struts-EL
> 
> 
> Hi,
> 
> Is there a property that I can use to get the size of a collection?
> 
> Basically, I want to do this:
> 
> ${resultBean.result.length}
> 
> Where result is a Collection.
> 
> Thanks for any help!
> 
> -Josh
> 

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



RE: RE: Re: Retaining values through multiple actions

2003-02-27 Thread Jarnot Voytek Contr AU HQ/SC
No, attributes can be in request or session or application scope...  these
scopes are distinct and different.

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


> -Original Message-
> From: Jason Vinson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 27, 2003 10:03 AM
> To: Struts Users Mailing List
> Subject: Re: RE: Re: Retaining values through multiple actions
> 
> 
> Aren't attributes in the Application Scope?  I suppose i 
> could immediately remove them in the next page...  Any 
> glaring issues with this logic?
> 
> 
> ---Original Message---
> From: Jarnot Voytek Contr AU HQ/SC <[EMAIL PROTECTED]>
> Sent: 02/27/03 10:54 AM
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE: Re: Retaining values through multiple actions
> 
> > 
> > Would attributes not work for you in this case?
> 
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
> 
> 
> > -Original Message-
> > From: Jason Vinson [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 27, 2003 9:29 AM
> > To: Struts Users Mailing List
> > Subject: Re: Re: Retaining values through multiple actions
> > 
> > 
> > hrmm  is there way to append parameters on an action 
> > mapping from struts-config.xml?
> > 
> > 
> > ---Original Message---
> > From: Ruud Steeghs <[EMAIL PROTECTED]>
> > Sent: 02/27/03 10:27 AM
> > To: Struts Users Mailing List <[EMAIL PROTECTED]>
> > Subject: Re: Retaining values through multiple actions
> > 
> > > 
> > > setParameter does not exist... 
> > parameters are retrieved from your form. 
> > 
> > if you generate links you can add parameters by
> > writing a url like "myURL?par1=value1&par2=val2
> > 
> > 
> > --- Jason Vinson <[EMAIL PROTECTED]> wrote:
> > > I am not seeing a setParameter(string, object)
> > > method in HttpServletRequest, which is why thought
> > > setting it as an Attribute was the way to go... 
> > > maybe it's too early, or I am just having an elder
> > > moment... where's setParameter?
> > > 
> > >   
> > > ---Original Message---
> > > From: Becky Norum <[EMAIL PROTECTED]>
> > > Sent: 02/27/03 10:17 AM
> > > To: Struts Users Mailing List
> > > <[EMAIL PROTECTED]>
> > > Subject: Re: RE: Retaining values through multiple
> > > actions
> > > 
> > > > 
> > > > Attributes and parameters are distinct.
> > > Parameters are appended to the end of a request. 
> > > They can only be
> > > strings.
> > > Attributes are stored in a ServletContext. 
> > > Attributes can be any kind
> > > of object.
> > > 
> > > If you use setParameter to store, you must use
> > > getParameter to retrieve.
> > > If you use setAttribute to store, you must use
> > > getAttribute to retrieve.
> > > 
> > > To see your attribute, enumerate the attributes.
> > > 
> > > -- 
> > > Becky Norum
> > > Database Administrator
> > > Center for Subsurface Sensing and Imaging Systems
> > > (CenSSIS)
> > > Northeastern University
> > >  > >
> > href="http://www.censsis.neu.edu";>http://www.censsis.neu.edu
> > > 
> > > 
> > > On Thu, 2003-02-27 at 09:25, Jason Vinson wrote:
> > > > I was under the impression that setting an
> > > attribute in a request would
> > > make it a parameter in a new page.  Am I wrong?
> > > > 
> > > > 
> > > > ---Original Message---
> > > > From: Jarnot Voytek Contr AU HQ/SC
> > > <[EMAIL PROTECTED]>
> > > > Sent: 02/27/03 09:17 AM
> > > > To: 'Struts Users Mailing List'
> > > <[EMAIL PROTECTED]>
> > > > Subject: RE: Retaining values through multiple
> > > actions
> > > > 
> > > > > 
> > > > > Are you confusing attributes and parameters?
> > > > 
> > > > --
> > > > Voytek Jarnot
> > > > Quidquid latine dictum sit, altum viditur.
> > > > 
> > > > 
> > > > > -Original Message-
> > > > > From: Jason Vinson
> > > [mailto:[EMAIL PROTECTED]
> > > > > Sent: Thursday, February 27, 2003 8:12 AM
> > > > > To: Struts Users Mailing List
> &

RE: Re: Retaining values through multiple actions

2003-02-27 Thread Jarnot Voytek Contr AU HQ/SC
Would attributes not work for you in this case?

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


> -Original Message-
> From: Jason Vinson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 27, 2003 9:29 AM
> To: Struts Users Mailing List
> Subject: Re: Re: Retaining values through multiple actions
> 
> 
> hrmm  is there way to append parameters on an action 
> mapping from struts-config.xml?
> 
> 
> ---Original Message---
> From: Ruud Steeghs <[EMAIL PROTECTED]>
> Sent: 02/27/03 10:27 AM
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Re: Retaining values through multiple actions
> 
> > 
> > setParameter does not exist... 
> parameters are retrieved from your form. 
> 
> if you generate links you can add parameters by
> writing a url like "myURL?par1=value1&par2=val2
> 
> 
> --- Jason Vinson <[EMAIL PROTECTED]> wrote:
> > I am not seeing a setParameter(string, object)
> > method in HttpServletRequest, which is why thought
> > setting it as an Attribute was the way to go... 
> > maybe it's too early, or I am just having an elder
> > moment... where's setParameter?
> > 
> >   
> > ---Original Message---
> > From: Becky Norum <[EMAIL PROTECTED]>
> > Sent: 02/27/03 10:17 AM
> > To: Struts Users Mailing List
> > <[EMAIL PROTECTED]>
> > Subject: Re: RE: Retaining values through multiple
> > actions
> > 
> > > 
> > > Attributes and parameters are distinct.
> > Parameters are appended to the end of a request. 
> > They can only be
> > strings.
> > Attributes are stored in a ServletContext. 
> > Attributes can be any kind
> > of object.
> > 
> > If you use setParameter to store, you must use
> > getParameter to retrieve.
> > If you use setAttribute to store, you must use
> > getAttribute to retrieve.
> > 
> > To see your attribute, enumerate the attributes.
> > 
> > -- 
> > Becky Norum
> > Database Administrator
> > Center for Subsurface Sensing and Imaging Systems
> > (CenSSIS)
> > Northeastern University
> >  >
> href="http://www.censsis.neu.edu";>http://www.censsis.neu.edu
> > 
> > 
> > On Thu, 2003-02-27 at 09:25, Jason Vinson wrote:
> > > I was under the impression that setting an
> > attribute in a request would
> > make it a parameter in a new page.  Am I wrong?
> > > 
> > > 
> > > ---Original Message---
> > > From: Jarnot Voytek Contr AU HQ/SC
> > <[EMAIL PROTECTED]>
> > > Sent: 02/27/03 09:17 AM
> > > To: 'Struts Users Mailing List'
> > <[EMAIL PROTECTED]>
> > > Subject: RE: Retaining values through multiple
> > actions
> > > 
> > > > 
> > > > Are you confusing attributes and parameters?
> > > 
> > > --
> > > Voytek Jarnot
> > > Quidquid latine dictum sit, altum viditur.
> > > 
> > > 
> > > > -Original Message-
> > > > From: Jason Vinson
> > [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, February 27, 2003 8:12 AM
> > > > To: Struts Users Mailing List
> > > > Subject: Retaining values through multiple
> > actions
> > > > 
> > > > 
> > > > I am implementing a page by extending the
> > DispatchAction 
> > > > class.  I have a value that i pass on the
> > request to the 
> > > > second method, which does some logic then
> > forwards to the 
> > > > next jsp, but I can't retain the value on the
> > request for the 
> > > > new jsp.  I set it in the method using
> > setAttribute, but when 
> > > > i enumerate the parameterNames, i see no params
> > passed.  What 
> > > > am i missing?
> > > > 
> > > > TIA,
> > > > Jason
> > > > 
> > > >
> >
> -
> > > > 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: Retaining values through multiple actions

2003-02-27 Thread Jarnot Voytek Contr AU HQ/SC
Are you confusing attributes and parameters?

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


> -Original Message-
> From: Jason Vinson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 27, 2003 8:12 AM
> To: Struts Users Mailing List
> Subject: Retaining values through multiple actions
> 
> 
> I am implementing a page by extending the DispatchAction 
> class.  I have a value that i pass on the request to the 
> second method, which does some logic then forwards to the 
> next jsp, but I can't retain the value on the request for the 
> new jsp.  I set it in the method using setAttribute, but when 
> i enumerate the parameterNames, i see no params passed.  What 
> am i missing?
> 
> TIA,
> Jason
> 
> -
> 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: [Q] how to know which one? java.lang.IllegalArgumentException : argument type mismatch

2003-02-26 Thread Jarnot Voytek Contr AU HQ/SC
What does your ReportForm look like?

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


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 2:47 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Q] how to know which one?
> java.lang.IllegalArgumentException : argument type mismatch
> 
> 
> Hello,
> 
> based on stack trace - I don't see any calls to my classes at all.
> I use ReportForm extends ValidatorForm.
> 
> java.lang.IllegalArgumentException: argument type mismatch
> at java.lang.reflect.Method.invoke(Native Method)
> at
> org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
> Utils.java:1789)
> at
> org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
> Utils.java:1684)
> at
> org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
> java:1713)
> at
> org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:924
> )
> at
> org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:729)
> at
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1097)
> at
> org.apache.struts.action.RequestProcessor.processPopulate(RequestProc
> essor.java:798)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
> va:254)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:142
> 2)
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:523)
> 
> at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:262)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:198)
> at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
> rvletContext.java:2637)
> at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
> pl.java:2359)
> at 
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> 
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 12:18 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [Q] how to know which one?
> java.lang.IllegalArgumentException: argument type mismatch
> 
> 
> Can you provide more details?
> 
> Specifically, your DynaActionForm declaration.  
> If you've subclassed, can you show that as well?
> 
> 
> 
> --
> James Mitchell
> Software Developer
> Struts Technical Support
> A division of The Apache Software Foundation 
> (ok, not really ;)
> http://www.apache.org/struts
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] 
> Sent: mercredi 26 février 2003 15:19
> To: [EMAIL PROTECTED]
> Subject: [Q] how to know which one? 
> java.lang.IllegalArgumentException: argument type mismatch
> 
> 
> hello,
> 
> I'm getting:
> 
> 
> Root cause of ServletException
> java.lang.IllegalArgumentException: argument type mismatch
> at java.lang.reflect.Method.invoke(Native Method)
> at
> org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
> Utils.java:1789)
> at
> org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
> Utils.java:1684)
> at
> org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
> java:1713)
> at
> org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:924
> )
> 
> tnx
> 
> Best Regards.
> Michael.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

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

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



RE: Call to other actions

2003-02-26 Thread Jarnot Voytek Contr AU HQ/SC
Quick, duck and then read: 
http://www.jguru.com/faq/view.jsp?EID=1057613
http://nagoya.apache.org/wiki/apachewiki.cgi?ActionChaining

This is a neverending debate...

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


> -Original Message-
> From: Sloan Seaman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 12:57 PM
> To: Struts Users Mailing List
> Subject: Call to other actions
> 
> 
> Is there anyway in an Action class to call another action and 
> get whatever
> action forwarder it returned?
> 
> To be more specific:
> 
> I want to define a action chain that will go through the 
> various defined
> actions ignoring the ActionForward that they return until I 
> get to the last
> one.
> 
> Basically I have a parameter passed to a class that extends 
> Action like so:
> 
> 
> and I want the class to call add.do and let it do its thing 
> (without doing
> whaterever it says to forward to) and then call main.do and 
> let it do its
> thing and use the returned forwarder.
> 
> I am doing this because I have a lot of forms tht have mutlipe submit
> buttons and depending on the button pressed I want to do 
> various sets of
> actions.
> 
> In the example above the button value is "Promo Mgmt" and the chain of
> events is everything after the :
> 
> --
> Sloan
> 
> 
> 
> -
> 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: Action without FormBean

2003-02-26 Thread Jarnot Voytek Contr AU HQ/SC
I do that all the time, my results (rows) reside in a collection in request
scope.  The form bean simply contains enough attributes to uniquely identify
a particular row, when the user click 'View' or 'Delete', I use JavaScript
to populate the hidden form fields with values representing the selected row
and do a submit().  I'm sure there are other ways, but we found this easier
than making each row a form...

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


> -Original Message-
> From: Chen, Gin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 12:24 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Action without FormBean
> 
> 
> Thanks David.
> That's what I figured.
> Unfortunately it just seems like an unnecessary step sometimes.
> For example I have a collection that is returned to me and I 
> show it as such
> 
> x   [View] [Delete]
> x   [View] [Delete]
> x   [View] [Delete]
> x   [View] [Delete]
> 
> To set this up using struts i have to make a form bean that 
> is simply a
> container for my collection
> Cant do this with dynaform cause it doesnt handle collections >:[
> Is there a better way to do this?
> Or should I just break away from struts for this?
> -Tim
> 
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 1:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Action without FormBean
> 
> 
>  must have a form bean.  Form beans are the 
> framework's way of 
> dealing with forms.
> 
> David
> 
> 
> 
> >From: "Chen, Gin" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> >Subject: Action without FormBean
> >Date: Wed, 26 Feb 2003 13:05:29 -0500
> >
> >I set up the following:
> >
> > >parameter="userAction"/>
> >
> >//myJsp.jsp
> >
> >
> >
> >
> >Thats it nothing in between the form tags and I get 
> exception can not 
> >access
> >formbean null.
> >
> >Well I dont want a formbean.
> >Is this not a legal form?
> >
> >I do this all the time from anchor hrefs but this is the 
> first time I've
> >tried it in html:form style.
> >I can't find anywhere in the docs that says that a html:form 
> MUST have a
> >related formbean.
> >Is this just an implied rule?
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> _
> Tired of spam? Get advanced junk mail protection with MSN 8. 
> http://join.msn.com/?page=features/junkmail
> 
> 
> -
> 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: Desperate search for struts tree view-component

2003-02-26 Thread Jarnot Voytek Contr AU HQ/SC
There have been over 15 posts on this topic since monday, are none of them
applicable?

http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=tree&q=b

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


> -Original Message-
> From: Andrei Svirida [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 12:16 PM
> To: [EMAIL PROTECTED]
> Subject: Desperate search for struts tree view-component
> 
> 
> Hello Struts Gurus,
> 
> I'm searching for some tree-view component for struts.
> Ideally it should provide the same type of tree view as Explorer tool
> on Win32 does.
> I would greatly appreciate any tip regarding this.
>   
> 
> --
> Andrei Svirida, Projekte & Entwicklung
> MIDRAY GmbH - a debitel company
> Phone:  +49.221.8884 435 
> Fax:+49.221.8884 455
> 
> http://www.midray.com/
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



RE: Action without FormBean

2003-02-26 Thread Jarnot Voytek Contr AU HQ/SC
If you don't want a form bean, why are you a) submitting to an action b) not
using  instead of ?

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


> -Original Message-
> From: Chen, Gin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 12:05 PM
> To: 'Struts Users Mailing List'
> Subject: Action without FormBean
> 
> 
> I set up the following:
> 
>  parameter="userAction"/>
> 
> //myJsp.jsp
> 
> 
> 
> 
> Thats it nothing in between the form tags and I get exception 
> can not access
> formbean null.
> 
> Well I dont want a formbean.
> Is this not a legal form?
> 
> I do this all the time from anchor hrefs but this is the 
> first time I've
> tried it in html:form style.
> I can't find anywhere in the docs that says that a html:form 
> MUST have a
> related formbean.
> Is this just an implied rule?
> 
> -
> 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] database access philosophy

2003-02-26 Thread Jarnot Voytek Contr AU HQ/SC
The two typical solutions are disconnected RowSets and copying the ResultSet
into a collection of value objects.  Pros and cons abound for either method
- one pollutes your code with sql packages and one involves copying a lot of
data...

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


> -Original Message-
> From: Kirby Vandivort [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 11:59 AM
> To: [EMAIL PROTECTED]
> Subject: [OT] database access philosophy
> 
> 
> Hello,
> 
> I'm in the process of converting an old webapp over to using struts
> and, in the process, I decide to clean up the database access.
> 
> Old Way:
> I had written a connection pool and instantiated an instance of this
> that was passed to all methods that needed the db, and they they had
> the sql code embedded in the methods.
> 
> New Way that I'm working on:
> I've set up a DataSource for my jdbc connection, and I'm partitioning
> off all of the database access code into it's own package.  If my
> business logic needs database info, it calls a method from 
> the database
> access package to get it.  
> 
> My problem:
> 
> Many methods from the database access return simple data.
> 
> However, I currently have it written so that some of the more complex
> ones return a ResultSet, which I'm not really happy with.  
> This exposes
> the DB layer to the business logic, but I'm not totally sure what the
> best way to avoid this is.  In addition, this doesn't work :( because
> the underlying connection gets closed when the database access method
> exists, and the ResultSet is no longer valid.
> 
> SO,  I am wondering what people do when they need to return all of the
> data in a ResultSet to their business layer.  Do you have to go to the
> hassle of copying everything to some sort of data structure, or is
> there a better, cleaner, faster way to handle this?
> 
> (I'm kind of assuming that the ResultSet will be small enough to fit
> in memory and there won't be issues with pulling it in in pieces;  how
> would that be handled, though?)
> 
> Thanks,
> 
> -- 
> 
> Kirby Vandivort  Theoretical and 
> Computational Biophysics 
> Email: [EMAIL PROTECTED]  3051 Beckman Institute
> http://www.ks.uiuc.edu/~kvandivo/University of Illinois
> Phone: (217) 244-5711405 N. Mathews Ave
> Fax  : (217) 244-6078Urbana, IL  61801, USA
> 
> -
> 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: Dropdown list

2003-02-26 Thread Jarnot Voytek Contr AU HQ/SC
Is the input attribute of your SetX action set to the jsp or the GetX
action?  You can either set it to the GetX action so that the drop-down
collection gets reloaded, or stick the drop-down collection in session scope
so the jsp can access it on the next request...

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


> -Original Message-
> From: Prabu Babu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 11:35 AM
> To: [EMAIL PROTECTED]
> Subject: Dropdown list
> 
> 
> Hi,
> 
> I have a form say X. I have GetX action which prefills form 
> and SetX action 
> which process the values entered by user. I have dropdown 
> list [fetched by 
> GetX and populated in form object]. When the form is posted, 
> and it fails in 
> validation, i am losing this dropdown list [ArrayList]. I get 
> only the 
> selected values. It goes back to the form with empty dropdown 
> list. Is there 
> a flaw in my design? I think i am not getting back the 
> dropdown list because 
> it is not sent back from browser. What is the solution. I believe the 
> dropdown list should be part of the form.
> 
> Thanks,
> Prabu
> 
> _
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 
> 
> -
> 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: Security without the use of Servlet Filters

2003-02-26 Thread Jarnot Voytek Contr AU HQ/SC
Are you planning to use container managed security?  I supposed either way
you can try what we've done - as I posted it in another thread yesterday:

It may be easier for you to extend RequestProcessor and override
processRoles(...) and perform your own authorization there.  I started down
that road, but didn't like the effect of return false from processRoles, so
we always return true and do the real role checking in our base action class
(mapping.getRoleNames() gives us the value of the roles attribute) so that
we can return mapping.getInputForward() when the role check fails...

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


> -Original Message-
> From: Jason Vinson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 7:57 AM
> To: Struts Users Mailing List
> Subject: Security without the use of Servlet Filters
> 
> 
> I asked a while back about implementing a security check for 
> session data, and some people recommended using Filter 
> Objects.  My current project is working with the Servlet 2.2 
> spec, so I don't have the option of using Filters.  Someone 
> else mentioned overriding the Default Action that all my 
> pages extend, which sounds like my best option at this time.  
> Could anyone point me to an example of how to do this?
> 
> TIA,
> Jason
> 
> -
> 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: Compiling Javascript files in order to render tags

2003-02-25 Thread Jarnot Voytek Contr AU HQ/SC
">

and my myjs.jsp looks like:

<%@ page language="java" %>
<%@ page contentType="application/x-javascript" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
// javascript and JSP tags go here...

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


> -Original Message-
> From: kimbabilida <[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 3:28 PM
> To: [EMAIL PROTECTED]
> Subject: Compiling Javascript files in order to render tags
> 
> 
> Hi There,
> 
> I'm trying to implement bilingual Javascript menues in my Struts web 
> application.  My server is SilverStream 3.7.
> The problem is that the .js files are not compiled so the menu labels 
> are left as '' instead of being 
> compiled into 'Options'.
> I don't want to include all the javascript in my page because I need 
> it accessable to several pages.
> Has anyone come across this problem, or know how to compile .js files?
> 
> Thanks,
> 
> Kim
> 
> 
> -
> 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: Passing parameters to Actions

2003-02-25 Thread Jarnot Voytek Contr AU HQ/SC
It may be easier for you to extend RequestProcessor and override
processRoles(...) and perform your own authorization there.  I started down
that road, but didn't like the effect of return false from processRoles, so
we always return true and do the real role checking in our base action class
(mapping.getRoleNames() gives us the value of the roles attribute) so that
we can return mapping.getInputForward() when the role check fails...

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


> > -Original Message-
> > From: Sloan Seaman [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, February 25, 2003 2:29 PM
> > To: Struts Users Mailing List
> > Subject: Passing parameters to Actions
> > 
> > 
> > In the struts-config.xml file I want to pass a few parameters 
> > to my actions
> > but it looks like the DTD only supports one "parameter" tag.
> > 
> > I.E.:
> >  >type="com.symbol.mobilecommerce.analysis.actions.app.Main"
> >name="app.main"
> >parameter="admin"
> >>
> >
> >
> > 
> > 
> > When I would rather do something like:
> >  >type="com.symbol.mobilecommerce.analysis.actions.app.Main"
> >name="app.main"
> >>
> >
> >
> >
> > 
> > 
> > Now,  I know there is a roles attribute but we are doing out 
> > own security
> > model and are not using request.isUserInRole().
> > 
> > (BTW: is there any way to write to whatever 
> > request.isUserInRole() used to
> > do its lookup so we can use it?)
> > 
> > Is there any way to have parameters passed like how I would like?
> > 
> > I could spoof  to something like  > name="ROLES_ALLOWED"
> > path="admin"/> but I would rather not.
> > 
> > Thanks!
> > 
> > --
> > Sloan
> >  

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



RE: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Jarnot Voytek Contr AU HQ/SC
You're not putting it in request scope, you're sticking it in your form - to
put it on the request, use request.setAttribute("queuesName", theQueues);

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


> -Original Message-
> From: Jason Vinson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 12:35 PM
> To: Struts Users Mailing List
> Subject: Re: RE: RE: bean:write issues... or a better solution
> 
> 
> It's in my action class.  theForm is the ActionForm that gets 
> passed in.
> 
> QueueListing[] theQueues = new QueueListing [cboQueue.getCount()];
> for (int i=0; i < theQueues.length; i++) {
> theQueues[i] = new QueueListing();
> 
> theQueues[i].setTitle((String)cboQueue.getFields().getItem("ti
> tle").getValue());
> 
> theQueues[i].setObjid((String)cboQueue.getFields().getItem("ob
> jid").getValue());
> cboQueue.moveNext();
> }
> theForm.setQueuesName(theQueues);
> 
> 
> 
> ---Original Message---
> From: "Karr, David" <[EMAIL PROTECTED]>
> Sent: 02/25/03 01:29 PM
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: RE: bean:write issues... or a better solution
> 
> > 
> > Show us where you're putting "queuesName" into request scope.
> 
> > -Original Message-
> > From: Jason Vinson [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 25, 2003 10:12 AM
> > To: Struts Users Mailing List
> > Subject: Re: RE: bean:write issues... or a better solution
> > 
> > I tried this in my page and i get:
> > [log error]
> > javax.servlet.jsp.JspException: Cannot find bean under name 
> queuesName
> > at
> >
> org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTa
> g.java:418
> )
> > at
> > 
> org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:234)
> > 
> > [jsp]
> >  > styleClass="fBdr-main">
> > 
> > 
> > 
> > 
> > queuesName is a request level collection, with getters and 
> setters for
> > objid and title elements.
> > 
> > any ideas?
> > Jason
> > 
> > 
> > 
> > 
> > 
> > ---Original Message---
> > From: Ray Madigan <[EMAIL PROTECTED]>
> > Sent: 02/24/03 11:54 AM
> > To: Struts Users Mailing List <[EMAIL PROTECTED]>
> > Subject: RE: bean:write issues... or a better solution
> > 
> > >
> > > If queuesName is a session or request level attribute then
> > the options tag should be
> > 
> > 
> > 
> > given that the collection elements implement the getter 
> getObjid ( ).
> > 
> > Hope this helps!
> > 
> > -Original Message-
> > From: Jason Vinson [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 24, 2003 8:37 AM
> > To: Struts Users Mailing List
> > Subject: bean:write issues... or a better solution
> > 
> > 
> > Hi folks,
> > 
> > 
> > I am using a container class (a collection referenced by queuesName)
> to
> > hold
> > data for populating a select list, and I can't access the internal
> strings
> > with the getter and setter methods i have written.  I have included
> code
> > and
> > can elaborate if needed.  Can anyone tell me what I am 
> overlooking...
> or
> > should i try it with an Iterator tag instead?
> > 
> > TIA,
> > Jason
> > 
> > [jsp]
> >  > styleClass="fBdr-main">
> >  > name="spgQueuesForm" property="objid"/>>
> > 
> > [/jsp]
> > 
> > [stack trace]
> > Mon Feb 24 11:29:00 EST 2003:  
> Root cause
> of
> > ServletException
> > javax.servlet.jsp.JspException: No getter method for 
> property objid of
> > bean
> > spgQueuesForm
> > [/stack trace]
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> -
> > 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: bean:write issues... or a better solution

2003-02-24 Thread Jarnot Voytek Contr AU HQ/SC
Have you tried this syntax:



statusLookup is my Collection (in request scope), each element has getName()
and getValue() methods...

you're not going to be able to accomplish this by nesting jsp tags, as that
is 'illegal'...

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


> -Original Message-
> From: Jason Vinson [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 24, 2003 10:37 AM
> To: Struts Users Mailing List
> Subject: bean:write issues... or a better solution
> 
> 
> Hi folks,
> 
> 
> I am using a container class (a collection referenced by 
> queuesName) to hold data for populating a select list, and I 
> can't access the internal strings with the getter and setter 
> methods i have written.  I have included code and can 
> elaborate if needed.  Can anyone tell me what I am 
> overlooking... or should i try it with an Iterator tag instead?
> 
> TIA,
> Jason
> 
> [jsp]
>  size="1" styleClass="fBdr-main">
>  name="spgQueuesForm" property="objid"/>>
> 
> [/jsp]
> 
> [stack trace]
> Mon Feb 24 11:29:00 EST 2003:  
> Root cause of ServletException
> javax.servlet.jsp.JspException: No getter method for property 
> objid of bean spgQueuesForm
> [/stack trace]
> 
> 
> 
> 
> 
> 
> -
> 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: JavaScript

2003-02-20 Thread Jarnot Voytek Contr AU HQ/SC
using html:rewrite ensures that things will still work when you change your
context path...

Your last example wont work because you can't nest tags.  If you can use the
html-el tags, this should work: 
?action=main

although this does seem to demonstrate perhaps too tight a coupling between
your back-end and web tier...

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


> -Original Message-
> From: Ray Madigan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 1:31 PM
> To: Struts Users Mailing List
> Subject: RE: JavaScript
> 
> 
> Thanks for the reply.
> 
> What does  myself doesn't
> do?
> 
> In my application the action.do is calculated from an ADO 
> that I am getting
> from my EJB application server.  Every object comes back with 
> a type field
> and the handler is an action with the name of the EJB 
> component reference.
> 
> if I use something like:
> 
> top.Frame.location.href = '/MyApp/ value='${component.type}'/>.do?action=main';
> 
> it seems to work fine.
> 
> top.Frame.location.href =
>  '?action=main';
> 
> also works fine, BUT
> 
> top.Frame.location.href =
>  '.do'/>?action=main';
> 
> I can't figure out how to get the quites to match up 
> correctly.  Clearly Im
> not thinking about this right.
> -Original Message-
> From: Jarnot Voytek Contr AU HQ/SC 
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 10:13 AM
> To: 'Struts Users Mailing List'
> Subject: RE: JavaScript
> 
> 
> You should probably use something like
> 
> top.Frame.location.href = ' page="/action.do"/>?action=main';
> 
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
> 
> 
> > -Original Message-
> > From: Ray Madigan [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 20, 2003 11:49 AM
> > To: Struts Users Mailing List
> > Subject: RE: JavaScript
> >
> >
> > Adding the context path is the answer.  Thanks!
> >
> > -Original Message-
> > From: Raible, Matt [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 20, 2003 9:43 AM
> > To: 'Struts Users Mailing List'
> > Subject: RE: JavaScript
> >
> >
> > try including your contextPath in the value for the href,
> > unless of course,
> > you have your app installed as the root app.
> >
> > > -Original Message-
> > > From: Ray Madigan [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, February 20, 2003 10:35 AM
> > > To: Struts Users Mailing List
> > > Subject: JavaScript
> > >
> > >
> > > I am using in my application, if you can't tell this from my
> > > previous posts
> > > ;-), does anyone else.
> > >
> > > I also want to be able to load a frame with a page with
> > > javascript like:
> > >
> > > top.Frame.location.href = '/action.do?action=main';
> > >
> > > when i do this i get an error = MAPPING configuration error
> > > for request URI
> > >
> > > Any suggestions?
> > >
> > > Thanks
> > > Ray Madigan
> > >
> > >
> > >
> > 
> -
> > > 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] dick size

2003-02-20 Thread Jarnot Voytek Contr AU HQ/SC
This is beyond OT ... I think most of us probably read/post to this mailing
list at work, and don't appreciate such emails passing through corporate
big-brother's mail servers on their way to our inboxes...

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


> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 1:35 PM
> To: Struts Users Mailing List
> Subject: [OT] dick size
> 
> 
> After your IQ test why not try the dick size test ? 
> 
> Tell us your dick size you will maybe win a decicated
> email who claim you are the most stupid guy ever seen.
> 
> Good luck.
> 
> <--
> Alexandre Jaquet
> ->
> 
> 
> 
> -
> 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: JavaScript

2003-02-20 Thread Jarnot Voytek Contr AU HQ/SC
You should probably use something like

top.Frame.location.href = '?action=main';

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


> -Original Message-
> From: Ray Madigan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 11:49 AM
> To: Struts Users Mailing List
> Subject: RE: JavaScript
> 
> 
> Adding the context path is the answer.  Thanks!
> 
> -Original Message-
> From: Raible, Matt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 9:43 AM
> To: 'Struts Users Mailing List'
> Subject: RE: JavaScript
> 
> 
> try including your contextPath in the value for the href, 
> unless of course,
> you have your app installed as the root app.
> 
> > -Original Message-
> > From: Ray Madigan [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 20, 2003 10:35 AM
> > To: Struts Users Mailing List
> > Subject: JavaScript
> > 
> > 
> > I am using in my application, if you can't tell this from my 
> > previous posts
> > ;-), does anyone else.
> > 
> > I also want to be able to load a frame with a page with 
> > javascript like:
> > 
> > top.Frame.location.href = '/action.do?action=main';
> > 
> > when i do this i get an error = MAPPING configuration error 
> > for request URI
> > 
> > Any suggestions?
> > 
> > Thanks
> > Ray Madigan
> > 
> > 
> > 
> -
> > 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] mailing list question

2003-02-20 Thread Jarnot Voytek Contr AU HQ/SC
You're kidding, right?

Actually you're in luck, I've put very detailed instructions about this on
my site, you can access it at: http://www.google.com/search?q=outlook+rules

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


> -Original Message-
> From: Curley, John [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 9:27 AM
> To: '[EMAIL PROTECTED]'
> Subject: mailing list question
> 
> 
> 
> > I just subscribed to the Struts Mailing List.  Does anyone 
> know how to
> > move all email I get from this list to a separate folder in 
> Outlook ?
> > 
> > Thanks,
> > John
> 
> -
> 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: DyanActionForm and , tags

2003-02-20 Thread Jarnot Voytek Contr AU HQ/SC
html:select deals with populating a form property (a String - typically -
for single-select, and array for multi-select); html:options needs a
collection placed into some scope which is commonly done in the Action class
that forwards to the JSP which needs to display the drop-down box.

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


> -Original Message-
> From: Anand M S [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 9:14 AM
> To: Struts Users Mailing List
> Subject: DyanActionForm and ,  tags
> 
> 
> Hi,
>   If I use DyanActionForm, how should I populate dropdown box using
>  tag? we would declare all the form attributes in
> struts-config.xml, how should I initialize the collection and where?
> 
> Thanks,
> Anand
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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




RE: Form bean null

2003-02-20 Thread Jarnot Voytek Contr AU HQ/SC
http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=Cannot+retrieve+defini
tion+for+form+bean&q=b

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


> -Original Message-
> From: Curley, John [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 8:32 AM
> To: '[EMAIL PROTECTED]'
> Subject: Form bean null
> 
> 
> 
> Hi, 
> 
> I'm new to Struts.  I am trying to use an exsiting jsp file 
> in a new project
> and received the following error when trying to display it:
> 
> [ServletException in:/jsps/addAssociate.jsp] Cannot retrieve 
> definition for
> form bean null' 
> 
> Anyone know where I should look to fix this?  General info on 
> what makes
> this occur?
> 
> Thanks,
> John
> 
> -
> 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: newbie: Variable Data in HTML Tags

2003-02-19 Thread Jarnot Voytek Contr AU HQ/SC
I think you mean process the request object in the Action class vs. the form
class.

RE the validation, I typically have an action mapping which populates the
form and displays 'for edit' and one which processes the submission;
validate="true" is only set on the second one.

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


> -Original Message-
> From: Larry Hytail [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 19, 2003 1:55 PM
> To: Struts Users Mailing List
> Subject: RE: newbie: Variable Data in HTML Tags
> 
> 
> 
> OK, I get what you are saying.  I can then process the 
> request object in the form class and populate the value there.
> Since forms will generally also do validation, do you 
> generally pass some type of variable in the request telling 
> the form DO NOT VALIDATE on an intial request?
> Thanks,
> Larry Hytail
>  Jarnot Voytek Contr AU HQ/SC <[EMAIL PROTECTED]> 
> wrote:If you want to stick to the generally accepted Struts 
> best-practices, you
> will never link directly to a JSP, only to an Action - which 
> could then
> populate your form bean before forwarding to the JSP and the 
> JSP tag would
> automagically have the right value.
> 
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
> 
> 
> 
> > -Original Message-
> > From: Larry Hytail [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 19, 2003 1:34 PM
> > To: [EMAIL PROTECTED]
> > Subject: newbie: Variable Data in HTML Tags
> > 
> > 
> > 
> > I have started playing with Struts and have some simple 
> > things working well. I have looked around but can't answer 
> > the following.
> > 
> > Say I have this in my JSP:
> > 
> > 
> > 
> > Then the field "name" will have a default value of "SAM". 
> > But what if I want "SAM" to be variable based on a parameter 
> > passed in on the request? I can't seem to figure out how to 
> > do this seemingly simple thing.
> > 
> > Say I use URL:
> > 
> > http://localhost:8080/web/JSP/depositMail.jsp?name="BOB";
> > 
> > and I want "BOB" then to show up as the default value. How 
> > do I code the html tag?
> > 
> > I am sure this is simple and will greatly appreciate the push 
> > in the right direction.
> > 
> > Larry Hytail 
> > 
> > 
> > 
> > -
> > Do you Yahoo!?
> > Yahoo! Shopping - Send Flowers for Valentine's Day
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> 

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




RE: newbie: Variable Data in HTML Tags

2003-02-19 Thread Jarnot Voytek Contr AU HQ/SC
If you want to stick to the generally accepted Struts best-practices, you
will never link directly to a JSP, only to an Action - which could then
populate your form bean before forwarding to the JSP and the JSP tag would
automagically have the right value.

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



> -Original Message-
> From: Larry Hytail [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 19, 2003 1:34 PM
> To: [EMAIL PROTECTED]
> Subject: newbie: Variable Data in HTML Tags
> 
> 
> 
> I have started playing with Struts and have some simple 
> things working well.  I have looked around but can't answer 
> the following.
> 
> Say I have this in my JSP:
> 
> 
> 
> Then the field "name" will have a default value of "SAM".  
> But what if I want "SAM" to be variable based on a parameter 
> passed in on the request?  I can't seem to figure out how to 
> do this seemingly simple thing.
> 
> Say I use URL:
> 
> http://localhost:8080/web/JSP/depositMail.jsp?name="BOB";
> 
> and I want "BOB" then to show up as the default value.  How 
> do I code the html tag?
> 
> I am sure this is simple and will greatly appreciate the push 
> in the right direction.
> 
> Larry Hytail 
> 
> 
> 
> -
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> 

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




[OT] RE: DBCP could not obtain an idle db connection pool exhausted

2003-02-19 Thread Jarnot Voytek Contr AU HQ/SC
I don't know how much advantage it is ... I have just never seen the point
of doing the jndi lookup more than once.

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


> -Original Message-
> From: Brandon Goodin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 19, 2003 1:09 PM
> To: Struts Users Mailing List
> Subject: RE: DBCP could not obtain an idle db connection pool 
> exhausted
> 
> 
> How much advantage is caching the datasource lookup? Isn't 
> that the whole
> idea of a ConnectionPool and the jndi lookup. Isn't the registry just
> pointing to a persistent object resource? I am curious what kind of
> performance boost one gets when caching a DataSource Lookup.
> 
> Brandon Goodin
> Phase Web and Multimedia
> PO Box 85
> Whitefish MT 59937
> P (406) 862-2245
> F (406) 862-0354
> [EMAIL PROTECTED]
> http://www.phase.ws
> 
> 
> -Original Message-
> From: Jarnot Voytek Contr AU HQ/SC 
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 19, 2003 11:57 AM
> To: 'Struts Users Mailing List'
> Subject: RE: DBCP could not obtain an idle db connection pool 
> exhausted
> 
> 
> It would also be a good idea to only do the DataSource lookup 
> one time, and
> cache it...
> 
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
> 
> 
> > -Original Message-
> > From: Brandon Goodin [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 19, 2003 12:54 PM
> > To: Struts Users Mailing List
> > Subject: RE: DBCP could not obtain an idle db connection pool
> > exhausted
> >
> >
> > try making your getDbConnection method static. It might be holding a
> > reference to your utilclass that you have instantiated. It
> > might be taking
> > longer to gc the class. This is just a guess.
> >
> > Example:
> >
> > public static Connection getDbConnection() {
> >
> > ...
> >
> > }
> >
> > Brandon Goodin
> > Phase Web and Multimedia
> > PO Box 85
> > Whitefish MT 59937
> > P (406) 862-2245
> > F (406) 862-0354
> > [EMAIL PROTECTED]
> > http://www.phase.ws
> >
> >
> > -Original Message-
> > From: Scott Power [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 19, 2003 11:11 AM
> > To: [EMAIL PROTECTED]
> > Subject: DBCP could not obtain an idle db connection pool exhausted
> >
> >
> > Hi folks,
> >
> > Here's my situation, I am using tomcat(latest version) and
> > mysql,jdbc(mysql ..connector..jar) and struts for an 
> application with
> > connection pooling.  I can not figure out why my connection
> > stay around
> > once I close them, they are not sent back to the pool.
> >
> > I create a connection then I
> >
> > Connection myConnection = utilclass.getDbConnection();
> >
> > the getDBconnetion() method is here:
> >
> > public Connection getDbConnection() {
> > String contextString = "java:comp/env/jdbc/cms";
> > Connection localConnection = null;
> > DataSource myBasicDataSource = null;
> >
> > try {
> > Context myContext = new InitialContext();
> > myBasicDataSource = (DataSource)
> > myContext.lookup(contextString);
> > localConnection =
> > myBasicDataSource.getConnection();
> > }
> >..return localConnection;
> >
> >
> > I use the connection for a statement and a result set.
> >
> > I close the connection
> >  myConnection .close();
> >
> > I have also found out that you should be closing the result
> > set and the
> > statement also, which I have tried but that did not resolve
> > my problem.
> > When I check out the DB I see the connections that are 
> created during
> > the application but they remain there in sleep until tomcat is
> > shutdown.
> >
> > I have added the following to my server.xml to clean up connections
> >
> >   removeAbandoned
> >   true
> > 
> > 
> >   removeAbandonedTimeout
> >   10
> > 
> > 
> >   logAbandoned
> >   true
> > 
> >
> > but this does not seem to work, I added it in the jdbc 
> resour

RE: DBCP could not obtain an idle db connection pool exhausted

2003-02-19 Thread Jarnot Voytek Contr AU HQ/SC
It would also be a good idea to only do the DataSource lookup one time, and
cache it...

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


> -Original Message-
> From: Brandon Goodin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 19, 2003 12:54 PM
> To: Struts Users Mailing List
> Subject: RE: DBCP could not obtain an idle db connection pool 
> exhausted
> 
> 
> try making your getDbConnection method static. It might be holding a
> reference to your utilclass that you have instantiated. It 
> might be taking
> longer to gc the class. This is just a guess.
> 
> Example:
> 
> public static Connection getDbConnection() {
> 
>   ...
> 
> }
> 
> Brandon Goodin
> Phase Web and Multimedia
> PO Box 85
> Whitefish MT 59937
> P (406) 862-2245
> F (406) 862-0354
> [EMAIL PROTECTED]
> http://www.phase.ws
> 
> 
> -Original Message-
> From: Scott Power [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 19, 2003 11:11 AM
> To: [EMAIL PROTECTED]
> Subject: DBCP could not obtain an idle db connection pool exhausted
> 
> 
> Hi folks,
> 
> Here's my situation, I am using tomcat(latest version) and
> mysql,jdbc(mysql ..connector..jar) and struts for an application with
> connection pooling.  I can not figure out why my connection 
> stay around
> once I close them, they are not sent back to the pool.
> 
> I create a connection then I
> 
>   Connection myConnection = utilclass.getDbConnection();
> 
> the getDBconnetion() method is here:
> 
>   public Connection getDbConnection() {
>   String contextString = "java:comp/env/jdbc/cms";
>   Connection localConnection = null;
>   DataSource myBasicDataSource = null;
> 
>   try {
>   Context myContext = new InitialContext();
>   myBasicDataSource = (DataSource)
> myContext.lookup(contextString);
>   localConnection =
> myBasicDataSource.getConnection();
>   }
>..return localConnection;
> 
> 
> I use the connection for a statement and a result set.
> 
> I close the connection
>  myConnection .close();
> 
> I have also found out that you should be closing the result 
> set and the
> statement also, which I have tried but that did not resolve 
> my problem.
> When I check out the DB I see the connections that are created during
> the application but they remain there in sleep until tomcat is
> shutdown.
> 
> I have added the following to my server.xml to clean up connections
> 
>   removeAbandoned
>   true
> 
> 
>   removeAbandonedTimeout
>   10
> 
> 
>   logAbandoned
>   true
> 
> 
> but this does not seem to work, I added it in the jdbc resource params
> section.  Is there a way to clean up these connections that are lying
> around.  I connect many times to the db and I thought that in 
> the end of
> things I should only have one connection left, all the other 
> connections
> were closed but not reclaimed.
> 
> I could really use some help on this one.
> 
> Thanks
> 
> Scott
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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




[OT] RE: Who can tell me how to get off this mailing list

2003-02-19 Thread Jarnot Voytek Contr AU HQ/SC
reread the bottom of this message

.
.
.

have you tried [EMAIL PROTECTED]?

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


> -Original Message-
> From: Goldberg, Joel S [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 19, 2003 11:34 AM
> To: [EMAIL PROTECTED]
> Subject: Who can tell me how to get off this mailing list
> 
> 
> I have followed the instructions on the Apache site and I keep getting
> barraged with notes from this list serve.  I have sent notes to 
> [EMAIL PROTECTED]   
> 
> I have tried all variations I can think of but to no avail! 
> 
> My inbox is continually overrun with notes from
> [EMAIL PROTECTED]  
> 
> I am getting quite frustrated.  If any of you know the magic 
> combination of
> steps to unsubscribe, please help me. 
> 
> 
> > Joel Goldberg  
> > 
> > 
> 
> -
> 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: Custom tags with Struts

2003-02-18 Thread Jarnot Voytek Contr AU HQ/SC
'input' not a JSP tag, that is why it worked...

to your original question, if your new tag supports EL, you could write:



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


> -Original Message-
> From: Rajesh P [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 9:46 AM
> To: Struts Users Mailing List
> Subject: RE: Custom tags with Struts
> 
> 
> but i was able to use the struts tag within a html tag as follows:
> 
> 
> 
> 
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 9:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Custom tags with Struts
> 
> 
> You can't use a tag as input to another tag's attributes.
> 
> David
> 
> 
> 
> >From: "Rajesh P" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: Custom tags with Struts Date: Tue, 18 Feb 2003 
> 20:49:48 +0530
> >
> >Hello Everyone,
> >I had created a Custom tag for formatting number to decimal 
> places based on 
> >some business rules. The tag looks like this:
> >
> >In the value attribute I need to send data from my form 
> bean. I tried as 
> >follows:
> >
> >I tried with single quotes and double quotes, but the custom 
> tag does not 
> >evaluate the struts bean tag but takes the value as " >name="fbname" value="price"/>"
> >Please, can anyone tell me how i can proceed with this.
> >Thanks in advance,
> >Rajesh
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> _
> Tired of spam? Get advanced junk mail protection with MSN 8. 
> http://join.msn.com/?page=features/junkmail
> 
> 
> -
> 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: Use it or lose it?

2003-02-14 Thread Jarnot Voytek Contr AU HQ/SC
this is a FAQ, the Struts party line is that all form bean attributes shall
be Strings.

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


> -Original Message-
> From: Justin F. Knotzke [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 14, 2003 3:43 PM
> To: Struts Users Mailing List
> Subject: Re: Use it or lose it?
> 
> 
> On Fri, Feb 14, 2003 at 03:39:06PM -0600, Jarnot Voytek Contr 
> AU HQ/SC wrote:
> > use hidden fields (html:hidden), or put them in the session 
> (preferably the
> > first method).
> 
>Right, which leads me to my second question: One of the 
> parameters in
> question is a 'int' ... 
> 
>Thanks again
> 
>J.
> 
> 
> -- 
> Justin F. Knotzke
> [EMAIL PROTECTED]
> http://www.shampoo.ca
> 
> -
> 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: Use it or lose it?

2003-02-14 Thread Jarnot Voytek Contr AU HQ/SC
use hidden fields (html:hidden), or put them in the session (preferably the
first method).

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


> -Original Message-
> From: Justin F. Knotzke [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 14, 2003 3:36 PM
> To: Struts Users Mailing List
> Subject: Use it or lose it?
> 
> 
> 
>Hi,
> 
>I have a couple of properties in a ActionForm that are 
> sent to a JSP
> but the JSP never accesses them (I don't need them in the 
> JSP). When the
> JSP returns to the Action those values are empty or null.
> 
>Is this normal? If so, how can I prevent it?
> 
>Thanks
> 
>Justin. 
> 
> -- 
> Justin F. Knotzke
> [EMAIL PROTECTED]
> http://www.shampoo.ca
> 
> -
> 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: overriding the ActionServlet class

2003-02-14 Thread Jarnot Voytek Contr AU HQ/SC
It would probably be better to do this by extending RequestProcessor, or by
having an Action superclass that all your actions extend, or both...

Here's what we do in our BaseAction class (all other actions extend it, and
override doAction(...)):

String roles[] = mapping.getRoleNames();
if((roles == null) || (roles.length < 1)) {
 // no role restrictions for this action
 return doAction(mapping, form, request, response, action);
}
for(int i = 0; i < roles.length; i++) {
 if(request.isUserInRole(roles[i])) {
  // user is authorized
  return doAction(mapping, form, request, response, action);
 }
}
// user isn't authorized
ActionErrors errors = new ActionErrors();
errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("errors.noroles",
java.util.Arrays.asList(roles), "perform that function"));
saveErrors(request, errors);
return mapping.getInputForward();

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


> -Original Message-
> From: Jason Vinson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 14, 2003 12:15 PM
> To: Struts Users Mailing List
> Subject: overriding the ActionServlet class
> 
> 
> Can anyone point me to a good example of a custom class that 
> extends ActionServlet to do some security checks for session data?
> 
> TIA,
> Jason
> 
> -
> 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] a product or code to read email and update database

2003-02-12 Thread Jarnot Voytek Contr AU HQ/SC
You're writing server-side java right?  I suppose you could have the users
set the reply-to on their original email to point to an account which a
thread in your web app checks every so often... or have the user forward the
reply to such an account... or, best of all, rethink the whole process -
it'd probably be easier (for you, anyway) for the user to upload a file,
then have the boss view and approve/disapprove the file through your app.

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


> -Original Message-
> From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 2:06 PM
> To: Struts Users Mailing List
> Subject: Re: [OT] RE: a product or code to read email and update
> database
> 
> 
> What u have to do is a automatic approval process,
> 
> A user will be sending a mail to his boss for some
> approval, and then the boss will reply with a message
> , which will be approved or not aproved,
> I want to update the database depending on the reply i
> get from the mail from boss
> 
> Ashish
> --- Jarnot Voytek Contr AU HQ/SC
> <[EMAIL PROTECTED]> wrote:
> > Please prefix off topic topics with [OT].
> > 
> > Are you looking to have your users receive email
> > attachments, and then
> > upload them to the app server?  Or are you talking
> > about your server-side
> > java code polling a mail server periodically and
> > retrieving messages?
> > 
> > --
> > Voytek Jarnot
> > Quidquid latine dictum sit, altum viditur.
> > 
> > 
> > > -Original Message-
> > > From: Ashish Kulkarni
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, February 12, 2003 1:24 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: a product or code to read email and
> > update database
> > > 
> > > 
> > > Hi,
> > > 
> > > In my project i have a requirement to read the
> > data
> > > coming in from email ( outlook ) and update the
> > > database in real time
> > > Has any one worked with this kind of requirement, 
> > > Any help about different products or code willl be
> > > helpful, the data coming in email may be xml or
> > pdf,
> > > or plain text which is not  yet decided
> > > 
> > > Ashish
> > > 
> > > =
> > > A$HI$H
> > > 
> > > __
> > > Do you Yahoo!?
> > > Yahoo! Shopping - Send Flowers for Valentine's Day
> > > http://shopping.yahoo.com
> > > 
> > >
> >
> -
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > 
> > 
> >
> -
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> =
> A$HI$H
> 
> __
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> http://shopping.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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




[OT] RE: a product or code to read email and update database

2003-02-12 Thread Jarnot Voytek Contr AU HQ/SC
Please prefix off topic topics with [OT].

Are you looking to have your users receive email attachments, and then
upload them to the app server?  Or are you talking about your server-side
java code polling a mail server periodically and retrieving messages?

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


> -Original Message-
> From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 1:24 PM
> To: [EMAIL PROTECTED]
> Subject: a product or code to read email and update database
> 
> 
> Hi,
> 
> In my project i have a requirement to read the data
> coming in from email ( outlook ) and update the
> database in real time
> Has any one worked with this kind of requirement, 
> Any help about different products or code willl be
> helpful, the data coming in email may be xml or pdf,
> or plain text which is not  yet decided
> 
> Ashish
> 
> =
> A$HI$H
> 
> __
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> http://shopping.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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




RE: RE: bean question

2003-02-12 Thread Jarnot Voytek Contr AU HQ/SC
have you tried dot notation, if QueueData has a getTitle() method try
queueData.title

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


> -Original Message-
> From: Jason Vinson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 10:28 AM
> To: Struts Users Mailing List
> Subject: Re: RE: bean question
> 
> 
> Ok, Action Class contains a QueueData Object, which i wrote 
> as a simple container, and it is initialized as follows:
> 
> QueueData qData = new QueueData("id", "title", "condition", 
> "status", "sev");
> //The ActionForm passed into the execute method is theForm
> theForm.setQueueData(qData);
> 
> In my ActionForm class i have:
> 
>   /* QueueData Object */
>   private QueueData queueData = null;
> 
>   public QueueData getQueueData() {
> return (this.queueData);
>   }
>   public void setQueueData(QueueData queueData) {
> this.queueData=queueData;
>   }
> 
> And in my JSP I want to be able to pull each string from the 
> QueueData object individually (to populate a table).  Is this 
> clear enough?  
> 
> Jason
> 
> 
> 
> ---Original Message---
> From: Durham David Cntr 805CSS/SCBE <[EMAIL PROTECTED]>
> Sent: 02/12/03 11:19 AM
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: bean question
> 
> > 
> > post your code
> 
> > -Original Message-
> > From: Jason Vinson [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 12, 2003 10:09 AM
> > To: Struts Users Mailing List
> > Subject: bean question
> > 
> > 
> > This may be beyond the scope of this list, but here goes.
> > 
> > I have implemented a simple container class that implements 
> > an object with a few String objects.  I initialized it in my 
> > Action class for testing, but when i try to write it out 
> > using the  tag, i can't figure out how to access 
> > each String.  Do I have to write individual get/set's in my 
> > ActionForm that call the get/sets from my container class? or 
> > is there an easier way?
> > 
> > Jason
> > 
> > 
> -
> > 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] what version of JSP required for JSTL?

2003-02-07 Thread Jarnot Voytek Contr AU HQ/SC
Thanks for the reply, I saw that result - but was looking for confirmation
from a Sun source - which someone else replied with...  More apropos would
be to chide me for not checking the JSTL spec.

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


> -Original Message-
> From: Rob Kischuk [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 9:57 AM
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] what version of JSP required for JSTL?
> 
> 
> Please do a quick search before you ask the list:
> 
> http://www.google.com/search?q=jstl+jsp+version&sourceid=mozil
> la-search&star
> t=0&start=0
> 
> First result: "NOTE: JSTL requires a JSP container that 
> supports the Java
> Servlet 2.3 and JavaServer Pages 1.2 specifications."
> 
> -Rob
> 
> -Original Message-
> From: Jarnot Voytek Contr AU HQ/SC 
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 10:56 AM
> To: Struts Users Mailing List (E-mail)
> Subject: [OT] what version of JSP required for JSTL?
> 
> 
> Sorry for the OT, but what's the earliest JSP version that 
> supports the
> JSTL?
> 
> Thanks,
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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




[OT] what version of JSP required for JSTL?

2003-02-07 Thread Jarnot Voytek Contr AU HQ/SC
Sorry for the OT, but what's the earliest JSP version that supports the
JSTL?

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


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




RE: xdoclet with struts

2003-02-06 Thread Jarnot Voytek Contr AU HQ/SC
I'll tell you one thing, you'll have to wait a while if it's only usable
with Struts 1.2 beta 2 ... 

I knew those xdoclet developers were smart, but this is incredible...

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


> -Original Message-
> From: Pat Quinn [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 06, 2003 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: xdoclet with struts
> 
> 
> Hi guys,
> 
> Is anyone out there using xdoclet with struts?? I've had a 
> look a some 
> samples that come with xdoclet eg below. any comments on this 
> approach??? I assume it generates the struts-config.xml??? If 
> so its a 
> rather nice way to keep your deployment settings with your 
> source code
> 
> 
> /**
> * Simple class to test Jakarta Struts generation (Jakarta 
> Struts 1.2 beta 2 
> only).
> *
> * @struts.action
> *path="/struts/bar"
> *
> * @struts.action-forward
> *name="success"
> *path="/struts/getAll.do"
> *redirect="false"
> *
> */
> public final class StrutsDispatchAction extends DispatchAction
> {
> public ActionForward execute(ActionMapping mapping, 
> ActionForm form,
>  HttpServletRequest request, 
> HttpServletResponse response)
> {
> return mapping.findForward("success");
> }
> }
> 
> 
> _
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> -
> 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: noob question - iteration of a table

2003-02-06 Thread Jarnot Voytek Contr AU HQ/SC
You're under the right impression.

Have you looked at:
http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate ?

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


> -Original Message-
> From: Jason Vinson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 06, 2003 1:15 PM
> To: Struts Users Mailing List
> Subject: noob question - iteration of a table
> 
> 
> I am relatively new to struts (using 1.1b3), and I am trying 
> to figure out how to iterate a group of tr & td's.  I am 
> under the impression that i can setup all my data in the 
> action form and use a special taglib to iterate a table in my 
> jsp file, but I have no idea how to do it.  Can anyone steer 
> me in the right direction?
> 
> TIA,
> Jason
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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




RE: form naming

2003-02-05 Thread Jarnot Voytek Contr AU HQ/SC
struts names the form for you, did you try 'View Source'?  the form name
will be the same as the form-bean name in struts-config.xml, all you need in
html:form is the action.

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


> -Original Message-
> From: Vinay [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 05, 2003 3:06 PM
> To: Struts Users Mailing List
> Subject: Re: form naming 
> 
> 
> Yes I looked at the file struts-html.tld
> I did the following
> 
> 
> 
> I got the following error
> 
> org.apache.jasper.JasperException: Must specify type 
> attribute if name is
> specified
> 
> Then I went ahead and did the following
> 
>  type="com.mdp.Hold">
> 
> 
> 
> 
> 
> 
> I got the following error
> 
> org.apache.jasper.JasperException: Exception creating bean of class
> net.mdp.hold.HoldTrans: java.lang.ClassCastException: 
> net.mdp.hold.HoldTrans
> 
> 
> This is just for JavaScript purposes, I don't know what it is 
> looking for
> 
> Thanks for any help
> 
> Vinay
> 
> 
> 
> - Original Message -
> From: "Pani, Gourav" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Wednesday, February 05, 2003 3:51 PM
> Subject: RE: form naming
> 
> 
> > Please consult the struts-html.tld file for syntax 
> formatting issues.
> >
> > -Original Message-
> > From: Vinay [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 05, 2003 3:48 PM
> > To: Struts Users Mailing List
> > Subject: form naming
> >
> >
> > How can I name a
> >
> > 
> >
> >
> > 
> >
> > How can I do this using 
> >
> > I have to do JavaScript functions using that.
> >
> >
> > Thanks
> >
> > help appreciated
> >
> > Vinay
> >
> >
> > 
> -
> > 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] [IDE War] Java IDE choices

2003-02-05 Thread Jarnot Voytek Contr AU HQ/SC
Jeez, how many times are you going to berate people for not doing something
which you yourself are not doing?!?

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


> -Original Message-
> From: Vic Cekvenich [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 05, 2003 2:19 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [IDE War] Java IDE choices
> 
> 
> Please read the post by David in this thread.
> He asks that you please put OT: ahead of IDE topics.
> (some people filter out OT)
> 
> .V
> <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 
> You do not discuss ones likes and choice of colours
> 
> 
> 
> 
>   Emmanuel Boudrant
>   <[EMAIL PROTECTED]>  To:   Struts Users
> Mailing List
> 
> <[EMAIL PROTECTED]>
>   02/05/2003 02:57 cc:
>   PM   Subject:  [IDE 
> War] Java IDE
> choices
>   Please respond to
>   "Struts Users
>   Mailing List"
> 
> 
> 
> 
> 
> 
> 
> "Les gouts et les couleurs ne se discutent pas"
> 
> If somebody can translate this expression in English ;)
> 
> 
> 
> 
>  --- Mitchell Morris <[EMAIL PROTECTED]> a écrit : > 
> Having seen a few
> posts claiming that
> JBuilder is the "Worst.Tool.Ever!!!1!"
> > and knowing that my own opinion is that JBuilder suits me 
> quite well, I'm
> > curious to know what specific complaints people have about 
> it.For the
> sake
> > of level-setting, let me state that I paid for and use the 
> SE version, so
> > it's possible that things I think are wonderful and shiny 
> are missing
> from
> > the free-to-download versions that other people might be using.
> >
> > What (specifically, if you will) makes JBuilder so distasteful? Any
> answer
> > that involves not having "vi" key bindings will be personally
> unacceptable
> > to me, but may be useful for other readers.
> >
> >
> >
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> **
> **
> **
> **
> *
> 
> This message is intended for the use of the individual or 
> entity to which
> it is addressed and may contain information that is confidential and
> privileged and exempt from disclosure under applicable law.  
> If the reader
> of this message is not the intended recipient, you are hereby 
> notified that
> any dissemination, distribution, or copying of this communication is
> strictly prohibited.  If you have received this communication 
> in error,
> please contact the sender immediately and delete it from your system.
> 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: [IDE War] Java IDE choices

2003-02-05 Thread Jarnot Voytek Contr AU HQ/SC
There's no accounting for taste?

> -Original Message-
> From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 05, 2003 1:58 PM
> To: Struts Users Mailing List
> Subject: [IDE War] Java IDE choices
> 
> 
> 
> "Les gouts et les couleurs ne se discutent pas"
> 
> If somebody can translate this expression in English ;)
> 
> 
> 
> 
>  --- Mitchell Morris <[EMAIL PROTECTED]> a écrit : > 
> Having seen a few posts claiming that
> JBuilder is the "Worst.Tool.Ever!!!1!"
> > and knowing that my own opinion is that JBuilder suits me 
> quite well, I'm
> > curious to know what specific complaints people have about 
> it.For the sake
> > of level-setting, let me state that I paid for and use the 
> SE version, so
> > it's possible that things I think are wonderful and shiny 
> are missing from
> > the free-to-download versions that other people might be using.
> > 
> > What (specifically, if you will) makes JBuilder so 
> distasteful? Any answer
> > that involves not having "vi" key bindings will be 
> personally unacceptable
> > to me, but may be useful for other readers.
> > 
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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




RE: DynaValidatorForm exception.

2003-02-04 Thread Jarnot Voytek Contr AU HQ/SC
WEB-INF/lib

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


> -Original Message-
> From: Jay Wright [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 04, 2003 2:35 PM
> To: 'Struts Users Mailing List'
> Subject: RE: DynaValidatorForm exception.
> 
> 
> 
> Where is the best place to put the struts jar files in tomcat 
> 4.0.4?  In the
> webapps WEB-INF or in a tomcat lib directory?
> 
> > -Original Message-
> > From: Jay Wright [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 04, 2003 12:27 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: DynaValidatorForm exception.
> > 
> > 
> > 
> > I've seen this problem posted all through the archives, but 
> > never with a
> > solution to the problem.   Is no one else encountering it 
> > anymore?  Is there
> > a solution that I've missed?  Any assistance would be 
> highly welcomed.
> > 
> > > -Original Message-
> > > From: Jay Wright [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, February 03, 2003 4:58 PM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: DynaValidatorForm exception.
> > > 
> > > 
> > > 
> > > I've seen a number of postings regarding a ServletException 
> > > that is thrown
> > > when a struts tag can't create a DynaValidatorForm:
> > > 
> > > javax.servlet.ServletException: Exception creating bean of class
> > > org.apache.struts.validator.DynaValidatorForm: {1}
> > > 
> > > Basically, when we restart tomcat (4.0.4 on unix, struts 
> > > 1.1-b2) we are
> > > likely to see this error the first time we try to access our 
> > > webapp.  But
> > > then a second (sometimes third) restart of tomcat will clear 
> > > the problem and
> > > the webapps will function properly.  
> > > 
> > > Is there any reason for this?  Does it have to do with the 
> > > location of the
> > > struts jar file?  Does it need to be in the WEB-INF/lib or 
> > > the common/lib or
> > > other part of the path?
> > > 
> > > Has anyone been able to overcome this annoyance?
> > > 
> > > Jay
> > > 
> > > 
> > 
> -
> > > 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: Can anyone help me out with this

2003-02-04 Thread Jarnot Voytek Contr AU HQ/SC
I think you're missing the point of how this all works.  Here's what I
understand to be the theory behind what you're trying to achieve:

index.jsp [forwards to] BinaryAction [forwards to] 

the question marks are where you're getting lost.  Typically your action
definition would look like this:





So from your action you would return a findForward(...) which points to a
jsp which is a forward local to that particular action (in most cases, and I
assume this is what you're after).

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


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 04, 2003 11:46 AM
> To: Struts Users Mailing List
> Subject: RE: Can anyone help me out with this
> 
> 
> 
> So if I changed my global forward name = "welcome" to name = "Welcome"
> it should work? Sorry I think I tried that already
> 
> 
> 
>       
>    
>   Jarnot Voytek Contr             
>
>   AU HQ/SC   To:   
> "'Struts Users Mailing List'" 
><[EMAIL PROTECTED]>   
>   ELL.AF.MIL>cc:  
>
>  Subject:  
> RE: Can anyone help me out with this  
>   02/04/2003 12:36 PM 
>
>   Please respond to   
>
>   "Struts Users   
>
>   Mailing List"   
>
>   
>
>   
>
> 
> 
> 
> 
> you're returning mapping.findForward("Welcome") but there is 
> no forward
> named "Welcome".
> 
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 04, 2003 11:33 AM
> > To: Struts Users Mailing List
> > Subject: RE: Can anyone help me out with this
> >
> >
> >
> > package binary.solutions;
> >
> > import javax.servlet.*;
> > import javax.servlet.http.*;
> > import org.apache.struts.action.*;
> >
> > public final class BinaryAction extends Action
> > {
> >   public ActionForward execute(ActionMapping mapping,
> > ActionForm form,
> > HttpServletRequest
> > request, HttpServletResponse response) throws Exception
> >   {
> >  HitModel hm = new HitModel();
> >  hm.incrementHit();
> >
> >  request.setAttribute(Constants.HIT_KEY, hm);
> >  //forward control to the specied URI
> >  return (mapping.findForward("Welcome"));
> >   }
> > }
> >
> >
> > package binary.solutions;
> >
> > import java.sql.*;
> >
> > public final class HitModel
> > {
> >private Connection conn;  public HitModel()
> >{
> > try
> > {
> >   Class.forName("com.mysql.jdbc.Driver").newInstance();
> >   conn = DriverManager.getConnection
> > ("jdbc:mysql://localhost/hittable");
> > }
> > catch(Exception exception)
> >   {
> >
> >     }
> >}public synchronized void incrementHit()
> > {
> >   try
> >   {
> > Statement stmt = conn.createStatement();
> >   ResultSet rs = stmt.executeQuery("SELECT * FROM 
> HITTABLE");
> >
> >   rs.next();
> >   int hitCounter = rs.getInt("HIT");
> >
> >   stmt.executeQuery("UPDATE HITTABLE SET HIT =" +
> > String.valueOf(hitCounter));
> >   }
> >   catch(Exception e)
> >   {
> >   

RE: Can anyone help me out with this

2003-02-04 Thread Jarnot Voytek Contr AU HQ/SC
you're returning mapping.findForward("Welcome") but there is no forward
named "Welcome".

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


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 04, 2003 11:33 AM
> To: Struts Users Mailing List
> Subject: RE: Can anyone help me out with this
> 
> 
> 
> package binary.solutions;
> 
> import javax.servlet.*;
> import javax.servlet.http.*;
> import org.apache.struts.action.*;
> 
> public final class BinaryAction extends Action
> {
>   public ActionForward execute(ActionMapping mapping, 
> ActionForm form,
> HttpServletRequest
> request, HttpServletResponse response) throws Exception
>   {
>  HitModel hm = new HitModel();
>  hm.incrementHit();
> 
>  request.setAttribute(Constants.HIT_KEY, hm);
>  //forward control to the specied URI
>  return (mapping.findForward("Welcome"));
>   }
> }
> 
> 
> package binary.solutions;
> 
> import java.sql.*;
> 
> public final class HitModel
> {
>private Connection conn;  public HitModel()
>{
> try
> {
>   Class.forName("com.mysql.jdbc.Driver").newInstance();
>   conn = DriverManager.getConnection
> ("jdbc:mysql://localhost/hittable");
> }
> catch(Exception exception)
>   {
> 
> }
>}public synchronized void incrementHit()
> {
>   try
>   {
> Statement stmt = conn.createStatement();
>   ResultSet rs = stmt.executeQuery("SELECT * FROM HITTABLE");
> 
>   rs.next();
>   int hitCounter = rs.getInt("HIT");
> 
>   stmt.executeQuery("UPDATE HITTABLE SET HIT =" +
> String.valueOf(hitCounter));
>   }
>   catch(Exception e)
>   {
> e.printStackTrace();
>       }
> 
> }
> 
> }
> 
> 
>   
>
>   Jarnot Voytek Contr 
>
>   AU HQ/SC   To:   
> "'Struts Users Mailing List'" 
><[EMAIL PROTECTED]>   
>   ELL.AF.MIL>cc:  
>
>  Subject:  
> RE: Can anyone help me out with this  
>   02/04/2003 12:15 PM 
>
>   Please respond to   
>
>   "Struts Users   
>
>   Mailing List"   
>
>   
>
>   
>
> 
> 
> 
> 
> what does binary.solutions.BinaryAction do?  post the code.
> 
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 04, 2003 11:08 AM
> > To: Struts Users Mailing List
> > Subject: Can anyone help me out with this
> >
> >
> >
> > This is driving me crazy. Originally in my index.jsp I had
> >  > name="welcome"/>
> > and the page was never forwarded to welcome.do. I changed my tag to
> > 
> > and the page was sent to welcome.do, but the page was blank.
> > In my console
> > window I get
> > the message RequestProcessor-Processing a GET for path 
> /welcome and no
> > other errors.
> > If I try the same web app in Netscape I get an error window with the
> > message "The document contained no data" What am I missing or
> > doing wrong?
> >
> >
> > 
> > 
> >
> > 
> >  > name="welcome"

RE: Can anyone help me out with this

2003-02-04 Thread Jarnot Voytek Contr AU HQ/SC
what does binary.solutions.BinaryAction do?  post the code.

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


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 04, 2003 11:08 AM
> To: Struts Users Mailing List
> Subject: Can anyone help me out with this
> 
> 
> 
> This is driving me crazy. Originally in my index.jsp I had 
>  name="welcome"/>
> and the page was never forwarded to welcome.do. I changed my tag to
> 
> and the page was sent to welcome.do, but the page was blank. 
> In my console
> window I get
> the message RequestProcessor-Processing a GET for path /welcome and no
> other errors.
> If I try the same web app in Netscape I get an error window with the
> message "The document contained no data" What am I missing or 
> doing wrong?
> 
> 
> 
> 
> 
> 
>  name="welcome"
> path="/welcome.do"/>
> 
> 
> 
> 
> 
> path="/welcome"
> type="binary.solutions.BinaryAction"/>
> 
> 
> 
> --
> -
> 
> 
> 
> 
> <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
> 
> 
> <%--
> 
> Redirect default requests to Welcome action.
> 
> --%>
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> **
> **
> *
> 
> This message is intended for the use of the individual or 
> entity to which
> it is addressed and may contain information that is confidential and
> privileged and exempt from disclosure under applicable law.  
> If the reader
> of this message is not the intended recipient, you are hereby 
> notified that
> any dissemination, distribution, or copying of this communication is
> strictly prohibited.  If you have received this communication 
> in error,
> please contact the sender immediately and delete it from your system.
> 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: Streaming PDF file problem

2003-02-03 Thread Jarnot Voytek Contr AU HQ/SC
I was having an IE + PDF problem as well; it seems that IE refuses to
display a streamed PDF when using method=post - used get and everything
started working...

I didn't like this solution, so we ended up saving the PDFs to disk
(sessionid.pdf) and redirecting to them.  We've got a session listener that
deletes the sessionid.pdf files when the session is destroyed.

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


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Streaming PDF file problem
> 
> 
> BTW, the code for streaming a servlet works perfectly as a stand alone
> servlet, but fails for IE in the struts framework.
> 
> Sheldon
> 
> >  -Original Message-
> > From:   Chan, Sheldon  
> > Sent:   Monday, February 03, 2003 9:36 AM
> > To: '[EMAIL PROTECTED]'
> > Subject:Streaming PDF file problem
> > 
> > Hi all,
> > 
> > I'm trying to stream a PDF from a Struts action by writing 
> an array of
> > bytes to the OutputStream of HttpServletResponse.  It works great in
> > Mozilla, however it fails on IE.  When I attempt to execute 
> the action, IE
> > brings up its "Save or Open" dialogue box with the request 
> Url as the file
> > it's trying to save.  When I click on "Save", it gives me an error
> > dialogue of "Internet Explorer cannot download... ".  Any ideas?
> > 
> > Thanks in advance for any help.
> > 
> > Sheldon
> > 
> > 
> > Here's the psuedo-code.
> > 
> > OutputStream outputstream = null;
> > 
> > try {
> > byte[] responseBytes = getBody().getBytes(ENCODING);
> > 
> > response.setContentType("application/pdf");
> > response.setContentLength(responseBytes.length);
> > response.setHeader("Content-Disposition",  
> >   "attachment; 
> filename=myfile.pdf");
> > response.setHeader("Pragma", "no cache");
> > response.setHeader("Cache-Control", "no-cache");
> > 
> > outputStream = response.getOutputStream();
> > 
> > outputStream.write(responseBytes, 0, responseBytes.length);
> > } catch (Exception e) {
> >// do something
> > }  finally {
> > outputStream.close();
> > }
> > 
> 
> -
> 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: Design question: Model component using Business logic beans

2003-02-03 Thread Jarnot Voytek Contr AU HQ/SC
This is why Java has exceptions.  In our case the backend mostly throws
standard EJB exceptions (RemoveException, CreateException, etc), the
business delegate translates those into our custom application exceptions,
many of which are handled by our base action class, otherwise they bubble up
to the specific action class and we generate the appropriate ActionErrors.

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


> -Original Message-
> From: mech [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 12:05 PM
> To: [EMAIL PROTECTED]
> Subject: Design question: Model component using Business logic beans
> 
> 
> Hi,
> 
> currently I'm doing all my business logic in my Action classes. So
> besides the execute() method I might have some helper methods like
> populateFormBean() or I even put those stuff in the execute() directly
> if it wasn't to much.
> I have to do quite a lot of database queries to populate the form bean
> for the views.
> 
> So actually the Action class should only do the controlling. So far so
> good and since things got to much in my Action classes I 
> planned to move
> the code out into business logic beans to be accessed within execute()
> in order to do all the populate form stuff there.
> 
> It's no problem to use a setter method to give my business logic beans
> the reference to my struts connection pool. Also fine to do 
> it with the
> form bean.
> 
> One thing, I'm having a bit trouble with migration is the ActionError
> stuff.
> 
> Since most of the errors, like lost DB connections or the rollbacks of
> db transactions usually happen in my business logic beans 
> then, I wonder
> what could be a good practice to pass those errors back to the Action
> execute() as I need those information in  in my views.
> 
> I guess if I import "org.apache.struts.action.ActionError" in my
> business logic, I'm doing a bad job to untie business logic from my
> controller, right? 
> I guess it would be similar bad like including the servlet packages as
> mentioned as a warning in the Struts documentation.
> 
> 
> But on the other hand, it's quite useful to say
> 
>   errors.add(ActionErrors.GLOBAL_ERROR, new
> ActionError("error.something.happend"));
> 
> in my business logic bean in order to log an error at the 
> place where it
> occurs, right?
> 
> But to use a setter method in my business logic bean writting 
> all those
> errors and retrieving them with a getter method in the 
> calling execute()
> requires importing Struts packages...
> 
> 
> Does anyone have good ideas how to untie business logic from all
> web-related stuff while still being able to pass errors in a
> sophisticated way back to the caller, like it can be done with the
> ActionError classes.
> 
> I would appreciate any design hints from everybody who doesn't put all
> his business logic code into the Action classes or it's execute()
> method, since most books "speak about not to tie business 
> logic with the
> controller", but usually do the opposite in the sample code. ;-)
> 
> Thanks
> Michael
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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




RE: [OT] Geek Code

2003-01-30 Thread Jarnot Voytek Contr AU HQ/SC
I'd call you stupid right back, but I can't figure out how to phrase it.
Are you a stupid:
Swissy?
Swissite?
Swizzler?
Switzerlandian?
Switzerlandener?
Switzerlard?
Switzerlander?

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

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




RE: java.util.date in edit form

2003-01-30 Thread Jarnot Voytek Contr AU HQ/SC
Your form bean should only deal with Strings.  Convert the string later -
either with BeanUtils or manually.  There have been a number of discussions
about why form beans should only deal with Strings - most reasons having to
do with the issue of invalid input, and the redisplaying thereof.

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


> -Original Message-
> From: Softwareentwicklung Hauschel
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 30, 2003 8:57 AM
> To: Struts Users Mailing List
> Subject: java.util.date in edit form
> 
> 
> Hey all,
> i've got an edit form, where i have to input a date.
> In my Form.java class the matching properties type is java.util.Date.
> 
> But there ist an error submitting the form -> "ServletException:
> BeanUtils.populate"
> 
> If i delete the date Field, the form/action works ;-(
> 
> How can i input a date with struts ?
> 
> Fredy
> 
> 
> -
> 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: Help!! Getting NT User

2003-01-29 Thread Jarnot Voytek Contr AU HQ/SC
I think you're probably out of luck, barring a non-portable VBScript
solution...

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


> -Original Message-
> From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 3:45 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Help!! Getting NT User
> 
> 
> Thanks for the reply! But it will not give the NT User information. It
> returns null.
> 
> -Manju
> 
> -Original Message-
> From: Robert Taylor [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 4:40 PM
> To: Struts Users Mailing List
> Subject: RE: Help!! Getting NT User
> 
> 
> HttpServletRequest.getRemoteUser() (I think)
> 
> robert
> 
> > -Original Message-
> > From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 29, 2003 4:15 PM
> > To: 'Struts Users Mailing List'
> > Subject: Help!! Getting NT User
> >
> >
> > Hello,
> > Is there any easy way to get client's NT User from JSP/Servlet
> > without using JAAS? My requirement: Once the user access 
> the application
> > URL, I want to get the use profile based on NT User 
> name(Assuming that the
> > user already authenticated by the NT domain).
> >
> > Appreciate your help!!
> >
> > Thanks,
> > Manju
> >
> 
> 
> -
> 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: [Newbie] ActionForm prepopulation

2003-01-29 Thread Jarnot Voytek Contr AU HQ/SC
Why is JSP -> .do -> .do -> JSP bad?  

I don't think you could make a case for doing population in the form bean
constructor - too much logic.  Besides, it wouldn't work, as that same
constructor would be called when the user submitted the form - you wouldn't
want to redo the database calls then, right?  We don't do action -> action
very often (don't need to), but when needed it works fine.

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


> -Original Message-
> From: Bredesen, Chris - NA US HQ Delray
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 2:43 PM
> To: Struts Users Mailing List (E-mail)
> Subject: [Newbie] ActionForm prepopulation
> 
> 
> Hi group,
> 
> There's one general struts concept that I haven't fully gotten my arms
> around yet.  I'm trying to design without using action 
> chaining, but I have
> the following scenario:
> 
> - JSP posts to an action which accesses a form bean and does 
> some business
> logic
> - The next JSP in the process has a DIFFERENT form bean on 
> it, and values on
> that one must be prepopulated using ... another action?
> 
> This would cause JSP -> .do -> .do -> JSP which we know is bad.
> 
> So then do I pre-pop my Form bean values in the ActionForm 
> constructor?  As
> member variables?  What happens when reset() is called ... 
> how do I make
> sure they return to their proper initial values upon reset?
> 
> Thanks for participating,
> 
> Chris
> *Struts Evangelist in Training*
> 
> -
> 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: Accessing JSP's under WEB-INF

2003-01-29 Thread Jarnot Voytek Contr AU HQ/SC
your forward path would be "/WEB-INF/securedocroot/whatever.jsp"

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


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

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




RE: passing value to and from popup window HELP

2003-01-29 Thread Jarnot Voytek Contr AU HQ/SC
Your second requirement will require refreshing the first page no matter how
much you are against it.  For your first one, just write a javascript
function on the first page and call it from the popup window as such:
opener.setSomeValue('whatever');

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


> -Original Message-
> From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 12:43 PM
> To: [EMAIL PROTECTED]
> Subject: passing value to and from popup window HELP
> 
> 
> Hi,
> 
> I have to do the following
> When a user clicks on a link, I want to open a jsp in
> new window , i want to pass some parameters to this
> jsp, which i am doing by using 
> 
> Click here 
> But now i want to get value back from the popup
> window, for e.g when the user clicks on some link on
> this window, get the value of this link
> and display it on the textfield of the first page.
> 
> Also there is one more requriement, depending upon the
> value selected by the user on popup window i want to
> get some extra info database, and display it on the
> first page.
> withour submitting the first page ( i was using
> submitting to iframe before)
> 
> Ashish
> 
> =
> A$HI$H
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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




RE: [OT] Geek Code

2003-01-29 Thread Jarnot Voytek Contr AU HQ/SC
+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]




  1   2   >