validwhen (please help)

2004-03-25 Thread Betty Koon
Hi all, I have followed the example in struts documentation (validwhen validaton section). I have an email address field that needs to be validated when one other field's value is set to true. But I can't get it to work at all. This is the example I cut and paste from struts web site. I am

Please help....Struts 1.0.2b and JDK 1.4.2

2004-03-23 Thread Kramer, Brad
Can anyone either confirm or deny if Struts 1.0.2b is compatible with JDK 1.4.2? Thanks a lot! _ Brad Kramer Pager - [EMAIL PROTECTED] _

Re: Please help....Struts 1.0.2b and JDK 1.4.2

2004-03-23 Thread Martin Cooper
You asked exactly the same question only 24 hours ago. Patience is a virtue. ;-) Do you mean 1.0.2 beta? Wow, that's old! There is no reason that it shouldn't, but I haven't run anything that old for some time now. I would recommend upgrading to 1.1 anyway. :-) -- Martin Cooper Kramer, Brad

UTF-8 encoding problem (Urgent, please help)

2004-03-22 Thread Betty Koon
Hi all, I ran into a problem of posting a hidden form field with a special UTF-8 characters and when it gets to the action and I looked at the action form had a different value, it's no longer containing UTF-8 characteres instead a '? was replaced. In my jsp, I have to put %@ page

Re: Re: Drop box problem please help

2004-03-17 Thread ddd ddd
On Tue, 16 Mar 2004 as as wrote : Hi, Try my snippet below I populated my jsp/form bean with values from database (dynamic) td % java.util.List driversList = (java.util.List)request.getAttribute(drivers); % Can i know what fullName,supervisor,supervisors ,employeeID i fpossible pl.

Re: please help, using logic:iterate and html:form

2004-03-16 Thread as as
Mike, What error are you getting -Sam. Mu Mike [EMAIL PROTECTED] wrote: Hi, all, last week, I spent a whole day trying to figure the below problem out, and you warmhearted guys just came and helped me,but to greatly disappiont you, I m still at a loss to know where the problem is ,so I

Re: Drop box problem please help

2004-03-16 Thread as as
Hi, Try my snippet below I populated my jsp/form bean with values from database (dynamic) td % java.util.List driversList = (java.util.List)request.getAttribute(drivers); % select name=fullName style=width:225px logic:iterate id=supervisor name=supervisors option value=bean:write

please help, using logic:iterate and html:form

2004-03-15 Thread Mu Mike
Hi, all, last week, I spent a whole day trying to figure the below problem out, and you warmhearted guys just came and helped me,but to greatly disappiont you, I m still at a loss to know where the problem is ,so I decided to explain detailedly and completely of what I did and hope you nice

Drop box problem please help

2004-03-14 Thread ddd ddd
Hi All I am new bie and learning to populate the drop box by all different ways . 1. By Collections of strings 2. By collections beans 3. Hard coding I am unable to achieve even first way tried a lot but failed can any body suggest me where I am wrong. Also pl. suggest me

Please help :No Collection found

2004-03-11 Thread suneetha kurakula
Hello All, I am Kurakula .I am new to this group .My Problem is I've three jsp pages create,view and edit. I've one form bean UIForm with attributes I am invoking create.jsp and saving data UIForm and then forwarding it uiview.jsp From uiview.jsp I am trying to populate data to

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-29 Thread Martin Sturzenegger
- From: Martin Sturzenegger [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 3:28 PM To: Struts Users Mailing List Subject: RE: Problem in nested tags- Very Urgent - Please Help hi, i'm trying to use hubert's (and shirish's) approach on request-scope, and as long as the amount of rows

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread Parthasarathy Kesavaraj
To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help Nice one.. For some reason i thought the Factory would involve more than it does, so i shied away from it. Cheers Mark On 26 Feb 2004, at 15:57, Paul, R. Chip wrote: Note: I think this is likely

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread McCormack, Chris
: 27 February 2004 09:45 To: 'Struts Users Mailing List' Subject: RE: Problem in nested tags- Very Urgent - Please Help Thanks mark , hubert and paul. i removed scope = request and it is working fine now. (Temporary fix :-)) i'll try to use lazy list once i finish off my work) With Regards

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread shirishchandra.sakhare
To: Struts Users Mailing List Subject: RE: Problem in nested tags- Very Urgent - Please Help i'll try to use lazy list once i finish off my work Eugh... We have all done it, but that is how botches get in to production code. People usually get too busy to apply the 'proper' code, or something more

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread Parthasarathy Kesavaraj
Thx chris for pointing to this... With Regards Partha -Original Message- From: McCormack, Chris [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 5:51 PM To: Struts Users Mailing List Subject: RE: Problem in nested tags- Very Urgent - Please Help i'll try to use lazy list

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread Martin Sturzenegger
Subject: Re: Problem in nested tags- Very Urgent - Please Help wouldn't mind an example of how to use lazy list if you have one. On 26 Feb 2004, at 15:33, Paul, R. Chip wrote: Or use the Commons Collections LazyList which handles this problem automatically. -Original Message

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread shirishchandra.sakhare
Urgent - Please Help hi, i'm trying to use hubert's (and shirish's) approach on request-scope, and as long as the amount of rows are fixed it works well. BUT now i have an additional feature on my page and that gives me headaches. actionOne gets the rows from the dto-bean and initializes the jsp

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Paul, R. Chip
Or use the Commons Collections LazyList which handles this problem automatically. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 8:09 AM To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help shirish

Re: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Mark Lowe
, 2004 8:09 AM To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help shirish posted this a few times. if you're scoping to request you'll need a while loop in your getFoo(int index) method public class OrgManagementForm extends ActionForm { private List

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Paul, R. Chip
:49 AM To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help wouldn't mind an example of how to use lazy list if you have one. On 26 Feb 2004, at 15:33, Paul, R. Chip wrote: Or use the Commons Collections LazyList which handles this problem automatically

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Hubert Rabago
} -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 8:49 AM To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help wouldn't mind an example of how to use lazy list if you have one. On 26 Feb

Re: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Mark Lowe
(), factory); } // Getter/setters for list omitted } -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 8:49 AM To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help wouldn't mind an example of how

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Parthasarathy Kesavaraj
Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 8:35 PM To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help Nice one.. For some reason i thought the Factory would involve more than it does, so i shied away from

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Paul, R. Chip
To: 'Struts Users Mailing List' Subject: RE: Problem in nested tags- Very Urgent - Please Help Hi Thanks for ur replies. But i could not understand what actually is the problem and how lazy list will solve it. This is the first time i am coming across lazy list. can u explain what actually

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Parthasarathy Kesavaraj
:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 8:35 PM To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help Nice one.. For some reason i thought the Factory would involve more than it does, so i shied away from it. Cheers Mark On 26 Feb 2004, at 15

Re: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Mark Lowe
shirish posted this a few times. if you're scoping to request you'll need a while loop in your getFoo(int index) method public class OrgManagementForm extends ActionForm { private List addressList = new ArrayList(); public Address getAddress(int index) { while(index =

Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Parthasarathy Kesavaraj
I am having an OrganzationVO inside my form-bean. The OrganzationVO has a collection of AddressVOs. I am using nested tags like this. nested:nest property = orgVO nested:text property=orgID size=10 maxlength=10 styleClass=inputmand tabindex= /

2 PROBLEMs-Please Help

2004-02-11 Thread f f
Hi gurus, I have 2 problems(or may be 2 bug reports) : 1. The point is IT CAN'T SAVE ERRORS ! Here is some relevant codes(some of them are simplified) === from TrySubmitOrderAction.java(on execute method) : // if object under the name

Re: 2 PROBLEMs-Please Help

2004-02-11 Thread hgosper
PROTECTED] cc: Subject:2 PROBLEMs-Please Help Hi gurus, I have 2 problems(or may be 2 bug reports) : 1. The point is IT CAN'T SAVE ERRORS ! Here is some relevant codes(some of them are simplified) === from

RE: 2 PROBLEMs-Please Help

2004-02-11 Thread Navjot Singh
, February 12, 2004 8:26 AM To: [EMAIL PROTECTED] Subject: 2 PROBLEMs-Please Help Hi gurus, I have 2 problems(or may be 2 bug reports) : 1. The point is IT CAN'T SAVE ERRORS ! Here is some relevant codes(some of them are simplified) === from

Re: unsuccessful in keyboard monkey's nesting tutorial... please help :)

2004-02-10 Thread Arron Bates
He's right. And to elaborate... use the tld and classes from the struts distro, and not the tld and nested tag classes from the tutorial. All the best. Arron. The latest nested tags are already included with the Struts 1.1 distribution. --- mariel hizon [EMAIL PROTECTED] wrote: Hi!

Re: unsuccessful in keyboard monkey's nesting tutorial... please help :)

2004-02-10 Thread mariel hizon
okay got it. thanks hubert and arron! :) - Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online

unsuccessful in keyboard monkey's nesting tutorial... please help :)

2004-02-09 Thread mariel hizon
hi! i'm a struts newbie and i need to do some nesting real quick. i followed the tutorial in www.keyboardmonkey.com and i was just able to do the first part which was actually just the setup part. when i tried to do the succeeding exercises, i got an internal server error. i think it has

unsuccessful in keyboard monkey's nesting tutorial... please help :)

2004-02-09 Thread mariel hizon
hi! i'm a struts newbie and i need to do some nesting real quick. i followed the tutorial in www.keyboardmonkey.com and i was just able to do the first part which was actually just the setup part. when i tried to do the succeeding exercises, i got an internal server error. it's the

RE: unsuccessful in keyboard monkey's nesting tutorial... please help :)

2004-02-09 Thread VAN BROECK Jimmy
monkey's nesting tutorial... please help :) hi! i'm a struts newbie and i need to do some nesting real quick. i followed the tutorial in www.keyboardmonkey.com and i was just able to do the first part which was actually just the setup part. when i tried to do the succeeding exercises, i got

Re: unsuccessful in keyboard monkey's nesting tutorial... please help :)

2004-02-09 Thread mariel hizon
Hi! Actually, i just downloaded the nest extension tutorial war file from www.keyboardmonkey.com and tried to make it work. This jsp code (the nested:text part) is just to check if the nested-tags.tld is working. Apparently it's not, because when i changed the nested: text to html:text, i

Re: unsuccessful in keyboard monkey's nesting tutorial... please help :)

2004-02-09 Thread Hubert Rabago
The latest nested tags are already included with the Struts 1.1 distribution. --- mariel hizon [EMAIL PROTECTED] wrote: Hi! Actually, i just downloaded the nest extension tutorial war file from www.keyboardmonkey.com and tried to make it work. This jsp code (the nested:text part) is just to

RE: PLEASE HELP!!!!

2004-01-20 Thread Anita Raeppel
in them. Shishir -Original Message- From: Anita Raeppel [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 10:23 PM To: Struts Users Mailing List Subject: RE: PLEASE HELP First let me apologize if I seemed like I was shouting earlier. This obviously was my first time ever

PLEASE HELP!!!!

2004-01-19 Thread Anita Raeppel
I am developing a new Struts Application. I have successfully been able to run the StrutsBlank example following the instructions from a tutorial on the web. However when I try to execute my own project I am getting the following error message in the browser:

RE: PLEASE HELP!!!!

2004-01-19 Thread Shishir K. Singh
if it works. Shishir -Original Message- From: Anita Raeppel [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 7:10 PM To: [EMAIL PROTECTED] Subject: PLEASE HELP I am developing a new Struts Application. I have successfully been able to run the StrutsBlank example

RE: PLEASE HELP!!!!

2004-01-19 Thread Andrew Hill
/smart-questions.html or to be specific about being specific... http://www.catb.org/~esr/faqs/smart-questions.html#bespecific -Original Message- From: Anita Raeppel [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20 January 2004 08:10 To: [EMAIL PROTECTED] Subject: PLEASE HELP I am

RE: PLEASE HELP!!!!

2004-01-19 Thread Anita Raeppel
: PLEASE HELP I am developing a new Struts Application. I have successfully been able to run the StrutsBlank example following the instructions from a tutorial on the web. However when I try to execute my own project I am getting the following error message in the browser

RE: PLEASE HELP!!!!

2004-01-19 Thread Shishir K. Singh
:23 PM To: Struts Users Mailing List Subject: RE: PLEASE HELP First let me apologize if I seemed like I was shouting earlier. This obviously was my first time ever trying to use a messageboard. I did receive a few links to help me in posting future questions. Thanks for responding. However

RE: PLEASE HELP!!!!

2004-01-19 Thread Andrew Hill
config? (This goes after the controller/ element in the struts config, which comes after the action-mappings/) -Original Message- From: Anita Raeppel [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20 January 2004 11:23 To: Struts Users Mailing List Subject: RE: PLEASE HELP First let me

RE: PLEASE HELP!!!!

2004-01-19 Thread hgosper
your properties file should be called ApplicationResources.properties according to your config file. Heya Gosper CSC Australia 212 Northbourne Ave, Braddon ACT 2612 Ph: +61 (0) 2 6246 8155 Fax: +61 (0) 2 62468100 MOB: 0401 611779

Templates And Modules - Please HELP !!

2004-01-13 Thread Renato Romano
I already used the struts template tags successfully, but I'm having trouble now inside a moduled application. The problem is that the template tags seems to insert the module prefix before the path of the jsp template file, which I would not, also because I thought the jsp pages could/should not

RE: Templates And Modules - Please HELP !!

2004-01-13 Thread Patrick Cheng
. -Original Message- From: Renato Romano [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 6:37 PM To: 'Struts Users Mailing List' Subject: Templates And Modules - Please HELP !! I already used the struts template tags successfully, but I'm having trouble now inside a moduled application

Struts Templates And Modules - Please HELP !!

2004-01-12 Thread Renato Romano
I'm trying to use struts templates (not tiles) tags inside a module, but I get a completely blank page and no errors. The paths of the resources are correct, but it seems to me struts tries to find them by prefixing the module name!! Any help is very appreciated. Renato

RE: Please Help - ClassCastException

2004-01-05 Thread Richard Hightower
. Comments below look for * -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 10:18 PM To: Struts Users Mailing List Subject: RE: Please Help - ClassCastException Allow me to ask three more questions: 1. If I want to reset some specific

RE: Please Help - ClassCastException

2004-01-04 Thread Caroline Jen
04, 2004 1:42 AM To: Struts Users Mailing List Subject: RE: Please Help - ClassCastException I think that there are a lot more mistakes in my code than I originally thought. The root of the problem is that I do not know how to use DynaValidatorForm. If you could help me

RE: Please Help - ClassCastException

2004-01-04 Thread Joe Hertz
class with a getString method that calls get() and does the String cast for me to save the tediom. Making sense now? -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 2:46 AM To: Struts Users Mailing List Subject: RE: Please Help

Re: Please Help - ClassCastException

2004-01-04 Thread Pedro Salgado
a ClassCastException: PostForm postForm = ( PostForm )form; I cannot figure out the reason. Please help. Allow me to show more code of the class where the exception occurred: ... import org.apache.struts.action.Action; import org.apache.struts.action.ActionForward; import

Re: Please Help - ClassCastException

2004-01-04 Thread Martin Gainty
31, 1969 7:05 PM Subject: Re: Please Help - ClassCastException On 04/01/2004 05:04, Caroline Jen [EMAIL PROTECTED] wrote: Thank you for trying to help. I have added import org.apache.artimus.message.PostForm; to my action class. I do not fully follow what I should check in the struts

RE: Please Help - ClassCastException

2004-01-04 Thread Caroline Jen
: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 2:46 AM To: Struts Users Mailing List Subject: RE: Please Help - ClassCastException I am still confused... I have a jsp that provides text fields for user to fill out information. All the information is passed

Please Help - ClassCastException

2004-01-03 Thread Caroline Jen
The statement shown below encountered a ClassCastException: PostForm postForm = ( PostForm )form; I cannot figure out the reason. Please help. Allow me to show more code of the class where the exception occurred: ... import org.apache.struts.action.Action; import

Re: Please Help - ClassCastException

2004-01-03 Thread Pedro Salgado
[EMAIL PROTECTED] wrote: The statement shown below encountered a ClassCastException: PostForm postForm = ( PostForm )form; I cannot figure out the reason. Please help. Allow me to show more code of the class where the exception occurred: ... import

Re: Please Help - ClassCastException

2004-01-03 Thread Caroline Jen
. Pedro Salgado On 04/01/2004 03:22, Caroline Jen [EMAIL PROTECTED] wrote: The statement shown below encountered a ClassCastException: PostForm postForm = ( PostForm )form; I cannot figure out the reason. Please help. Allow me to show more code of the class where

RE: Please Help - ClassCastException

2004-01-03 Thread David Friedman
) PropertyUtils.getSimpleProperty(form, receiver); Regards, David -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 11:04 PM To: Struts Users Mailing List Subject: Re: Please Help - ClassCastException Thank you for trying to help. I have added import

RE: Please Help - ClassCastException

2004-01-03 Thread Caroline Jen
-Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 11:04 PM To: Struts Users Mailing List Subject: Re: Please Help - ClassCastException Thank you for trying to help. I have added import org.apache.artimus.message.PostForm; to my action class. I

RE: Please Help - ClassCastException

2004-01-03 Thread Joe Hertz
: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 1:42 AM To: Struts Users Mailing List Subject: RE: Please Help - ClassCastException I think that there are a lot more mistakes in my code than I originally thought. The root of the problem is that I do not know how to use

error:null property value please HELP

2003-12-21 Thread ajay brar
) org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) javax.servlet.http.HttpServlet.service(HttpServlet.java:763) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) please help thanks Ajay _ Get less junk mail with ninemsn

Re: error:null property value please HELP

2003-12-21 Thread hgosper
. ajay brar [EMAIL PROTECTED] 22/12/2003 12:55 PM Please respond to Struts Users Mailing List To: [EMAIL PROTECTED] cc: Subject:error:null property value please HELP hi! i am

Re: error:null property value please HELP

2003-12-21 Thread ajay brar
: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: error:null property value please HELP Date: Mon, 22 Dec 2003 13:28:17 +1100 Hi Ajay I am doing something similar... I have a Tree class and a Node class to represent

Re: error:null property value please HELP

2003-12-21 Thread hgosper
To: [EMAIL PROTECTED] cc: Subject:Re: error:null property value please HELP hi! 'functions' is the name of the tree structure in the form class, as class SomeForm extends ActionForm { private TreeStructure functions;} this form class also includes some String attributes

RE: Please Help With This Error Message

2003-12-17 Thread fredatwork
Your statement is OK. It comes from the surrounding quote. The only idea I have is to check double-quotes correctly. Fred -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: mercredi 17 décembre 2003 07:41 To: [EMAIL PROTECTED] Subject: Please Help With This Error

Re: Please Help With This Error Message

2003-12-17 Thread Firat TIRYAKI
: Please Help With This Error Message Your statement is OK. It comes from the surrounding quote. The only idea I have is to check double-quotes correctly. Fred -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: mercredi 17 décembre 2003 07:41 To: [EMAIL PROTECTED

Re: Please Help With This Error Message

2003-12-17 Thread Caroline Jen
, not multiple lines. F. - Original Message - From: fredatwork [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 8:53 AM Subject: RE: Please Help With This Error Message Your statement is OK. It comes from the surrounding quote

RE: Please Help With This Error Message

2003-12-17 Thread Barett McGavock
Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 4:46 PM To: Struts Users Mailing List Subject: Re: Please Help With This Error Message Hi, I tried and tried. I cannot figure out the error. I need your sharp eyes and experience. I keep getting this error

RE: Please Help With This Error Message

2003-12-17 Thread hgosper
' [EMAIL PROTECTED] cc: 'Caroline Jen' [EMAIL PROTECTED] Subject:RE: Please Help With This Error Message C, You can't nest tags as you did in the value attribute. bean:define ... value=bean:write name=author/ / The rest of the list will croak when I recommend that you

RE: Please Help With This Error Message

2003-12-17 Thread hgosper
Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:RE: Please Help With This Error Message Maybe they can tell you a fancy -el/JSTL way to do it. :) yes, if you use html-el:text instead then you should be able to use an el expression

Please Help With This Error Message

2003-12-16 Thread Caroline Jen
Please help me to figure out this error message that I got in the browser: equal symbol expected. The error complains about this statement in my JSP: bean:define id=author name=creator scope=session type=java.lang.String/ and the above statement is intended to retrieve the string creator from

Re: Please Help With This Error Message

2003-12-16 Thread Gurpreet Dhanoa
hi Caroline According to me this is perfectly fine. Please see there may be something worng in your JSP Regards Gary - Original Message - From: Caroline Jen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 12:11 PM Subject: Please Help With This Error Message

Re: Please Help! Unable to Pass A Hidden Field To scaffold.ProcessAction

2003-12-09 Thread Adam Hardy
Hi Caroline, have you checked the source of the HTML page in the browser to see what the value of username is, client-side? I expect the value is being sent to the browser as null. If that is the case, it is because request.getRemoteUser() is returning null and that would be because you don't

Re: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-09 Thread Adam Hardy
-Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:32 PM To: Struts Users Mailing List Subject: Re: Please Help! Unable to Pass A Hidden Field To scaffold.ProcessAction I did not mess up lowercase and uppercase of the hidden field I want

Re: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-09 Thread Paul Thomas
On 09/12/2003 01:29 Caroline Jen wrote: I use container-managed authentication. In which case, why don't you get the user name using request.getUserPrincipal().getName() ? -- Paul Thomas +--+-+ | Thomas Micro Systems Limited

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-09 Thread Caroline Jen
, Richard -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 2:56 PM To: Struts Users Mailing List Subject: RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction I pass two hidden fields: username and keyName

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-09 Thread Richard Yee
, Richard -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 2:56 PM To: Struts Users Mailing List Subject: RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction I pass two hidden fields: username and keyName

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-09 Thread Caroline Jen
: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 2:56 PM To: Struts Users Mailing List Subject: RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction I pass two hidden fields: username and keyName at the same time

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-09 Thread Richard Yee
Caroline, As a sanity check, in your bean, initialize the username variable to something ie. XX. and re-run your app. This will show if your setUsername is ever called. -Richard --- Caroline Jen [EMAIL PROTECTED] wrote: I do not fully understand what you say about null or null. Anyway, I

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-09 Thread Caroline Jen
I followed your advice. In the Bean.java, I did the following: private String username = natalie; public String getUsername() { return this.username; } public void setUsername(String username) { this.username = username; } and I compiled all the relevant

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-09 Thread Caroline Jen
I did another test. I took out those data access activities in the FindEditorData.java and ran the application. The conclusion is that those few lines of data access activities have nothing to do with the value of the 'username' becoming null in the FindEditorData.java. -Caroline --- Richard

Re: Please Help! Unable to Pass A Hidden Field To scaffold.ProcessAction

2003-12-08 Thread Caroline Jen
I did not mess up lowercase and uppercase of the hidden field I want to pass from my JSP to the scaffold.ProcessAction. If it had been the lowercase/uppercase problem, I would have gotten a message saying that the variable could not be recognized. I pass two hidden fields at the same time.

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-08 Thread Yee, Richard K,,DMDCWEST
, December 08, 2003 1:32 PM To: Struts Users Mailing List Subject: Re: Please Help! Unable to Pass A Hidden Field To scaffold.ProcessAction I did not mess up lowercase and uppercase of the hidden field I want to pass from my JSP to the scaffold.ProcessAction. If it had been the lowercase/uppercase problem

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-08 Thread Caroline Jen
that request.getRemoteUser() in your JSP is returning null. Regards, Richard -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:32 PM To: Struts Users Mailing List Subject: Re: Please Help! Unable to Pass A Hidden Field To scaffold.ProcessAction I

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-08 Thread Yee, Richard K,,DMDCWEST
) then the server doesn't know about the user being authenticated and will return null. Regards, Richard -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 2:56 PM To: Struts Users Mailing List Subject: RE: Please Help! Unable to Pass A Hidden Field

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-08 Thread Caroline Jen
] Sent: Monday, December 08, 2003 2:56 PM To: Struts Users Mailing List Subject: RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction I pass two hidden fields: username and keyName at the same time. The keyName is passed and with the correct value

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-08 Thread Richard Yee
) then the server doesn't know about the user being authenticated and will return null. Regards, Richard -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 2:56 PM To: Struts Users Mailing List Subject: RE: Please Help! Unable to Pass

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-08 Thread Richard Yee
? If it is the username, then I'd suspect that request.getRemoteUser() in your JSP is returning null. Regards, Richard -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:32 PM To: Struts Users Mailing List Subject: Re: Please Help! Unable

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-08 Thread Caroline Jen
: Monday, December 08, 2003 1:32 PM To: Struts Users Mailing List Subject: Re: Please Help! Unable to Pass A Hidden Field To scaffold.ProcessActionI did not mess up lowercase and uppercase of the hidden field I want to pass from my JSP to the scaffold.ProcessAction. If it had

RE: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-08 Thread Richard Yee
? If it is the username, then I'd suspect that request.getRemoteUser() in your JSP is returning null. Regards, Richard-Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:32 PM To: Struts Users Mailing List Subject: Re: Please Help

Please Help! Unable to Pass A Hidden Field To scaffold.ProcessAction

2003-12-07 Thread Caroline Jen
I want to pass two hidden fields; username and keyName from a JSP via a SUBMIT button: req:isUserInRole role=editor html:form action=/find/Category % String username = request.getRemoteUser();% html:hidden property=keyName value=journal_category/ html:hidden property=username value=%=username%/

Re: Please Help! Unable to Pass A Hidden Field To scaffold.ProcessAction

2003-12-07 Thread Richard Yee
Are you using the input type=hidden or html:hidden attributes? I didn't see it in your email. If you do, the values will be available in the request. Regards, Richard At 08:20 PM 12/7/2003, you wrote: I want to pass two hidden fields; username and keyName from a JSP via a SUBMIT button:

Re: Please Help! Unable to Pass A Hidden Field To scaffold.ProcessAction

2003-12-07 Thread Caroline Jen
My code was shown in my original message. I used two html:hidden ... tags to pass two hidden fields, one is successfully passed while the other shows null. By the way, I do not use 'request' to retrieve the value of the hidden field because my Java class is a scaffold.ProcessAction type. I

Re: Fwd: Please Help !! Can't Display ActionMessages

2003-11-10 Thread Kam Lung Leung
, 09 Nov 2003 11:39:26 +0100, Adam Hardy wrote: Hi Kam, it's not obvious what is going wrong. What error message are you expecting? Do you see the There were errors text? Adam On 11/09/2003 08:55 AM Kam Lung Leung wrote: --- Start of forwarded message --- Subject: Please

Fwd: Please Help !! Can't Display ActionMessages

2003-11-09 Thread Kam Lung Leung
--- Start of forwarded message --- Subject: Please Help !! Can't Display ActionMessages From: Kam Lung Leung [EMAIL PROTECTED] Date: Sat, 08 Nov 2003 18:22:07 -0700 (MST) To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Hi, I am trying to follow the logon example of the struts-example.war

Re: Fwd: Please Help !! Can't Display ActionMessages

2003-11-09 Thread Adam Hardy
Hi Kam, it's not obvious what is going wrong. What error message are you expecting? Do you see the There were errors text? Adam On 11/09/2003 08:55 AM Kam Lung Leung wrote: --- Start of forwarded message --- Subject: Please Help !! Can't Display ActionMessages From: Kam Lung Leung

Please Help !! Can't Display ActionMessages

2003-11-08 Thread Kam Lung Leung
Hi, I am trying to follow the logon example of the struts-example.war. However, I can not see the error messages print on the logon.jsp. Any suggestion is greatly appreciated. here is the part that display the errors on my logon.jsp logic:messagesPresent There

PLEASE HELP: Exception handling

2003-11-07 Thread Bard A. Evjen
Can anyone provide me with a complete example of using execption handling in struts that supports a nice message to the user and the actual error message (displayed on the jsp page)? (I'm using struts 1.1) I think I've tried everything now (well, obviously not everything since it is not working),

Re: PLEASE HELP: Exception handling

2003-11-07 Thread Vic Cekvenich
Say this in WEB.XML error-page exception-typejava.lang.Exception/exception-type location/error.jsp/location /error-page Then this in error.jsp or what ever you consider friendly: %@ page isErrorPage =true % You are at a J2EE error page: p %= exception.getMessage() % and then:

Re: Please Help!!! A Validation Rule Fail On A Second-Page Causes A Blank Page To Show Up

2003-10-31 Thread Kam Lung Leung
Hi Ted, Thank you for your time in helping me out. After your email message I take a hard look at the jsp file and can not find what was wrong with it. The secondPage.jsp is almost the same as the firstPage.jsp. When I move all the code from the secondPage.jsp to the firstPage.jsp the

  1   2   3   4   5   6   >