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

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

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] _

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 contentType=

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) > > > ><% > >java.util.List driversList = (java.util.List)request.getAttribute("drivers"); > > > > > >%> > > > > > > Can i know what fullName,supervisor,supervisors ,empl

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) <% java.util.List driversList = (java.util.List)request.getAttribute("drivers"); %> "> ddd ddd <[EMAIL PROTECTED]> wrote: Hi All I am new bie and learning to populate the dr

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

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 bud

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 h

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 uiedit.jsp.Pl

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

2004-02-29 Thread Martin Sturzenegger
et the list to empty properly. > >HTH. >regards, >Shirish > >-Original Message- >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

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 init

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

2004-02-27 Thread Martin Sturzenegger
>> } >> }; >> this.actionList = ListUtils.lazyList(new ArrayList(), >> factory); >> } >> >> // Getter/setters for list omitted >> } >> >> -Original Message- >> From

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 l

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

2004-02-27 Thread shirishchandra.sakhare
TED] Sent: Friday, February 27, 2004 1:21 PM 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

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

2004-02-27 Thread McCormack, Chris
IL PROTECTED] Sent: 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 f

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

2004-02-27 Thread Parthasarathy Kesavaraj
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:57, Paul, R. Chip wrote: > Note: I think this i

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. while submitting the form I am getting an exception like this. 2004-02-26 18:17:08,133 [E

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 >= addre

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
ry 26, 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

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

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

2004-02-26 Thread Hubert Rabago
stUtils.lazyList(new ArrayList(), > 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 > Subje

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 o

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 it

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

2004-02-26 Thread Paul, R. Chip
1:24 AM 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

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: 2 PROBLEMs-Please Help

2004-02-11 Thread Navjot Singh
>Sent: Thursday, 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

Re: 2 PROBLEMs-Please Help

2004-02-11 Thread hgosper
;Struts Users Mailing List" To: [EMAIL 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) =

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

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 tags are already included with the Struts 1.1 > distribution. > > --- mariel hizon <[EMAIL PROTECTED]> wrote: > > > >

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

2004-02-09 Thread Hubert Rabago
The latest 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 > Apparently it's not, because

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 Monkey Name: Monkey Age: Submit Form - Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing onli

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

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

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 somet

RE: PLEASE HELP!!!!

2004-01-20 Thread Anita Raeppel
with the list of files 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

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 -

RE: PLEASE HELP!!!!

2004-01-19 Thread Andrew Hill
ch comes after the ) -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 apologize if I seemed like I was shouting earlier. This obviously was my first time ev

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 Anita Raeppel
ed in the properties file > > Put this after the tag in > struts-config.xml and see > if it works. > > > > Shishir > > -Original Message- > From: Anita Raeppel [mailto:[EMAIL PROTECTED] > Sent: Monday, January 19, 2004 7:10 PM > To: [EMAIL PROTECTED] &g

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 Shishir K. Singh
errors that may not have been defined in the properties file Put this after the tag in struts-config.xml and see 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

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: javax.servlet.ServletException:

RE: Templates And Modules - Please HELP !!

2004-01-13 Thread Patrick Cheng
) Rgds, Patrick. -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 tags successfully, but I'm having trouble now insid

Templates And Modules - Please HELP !!

2004-01-13 Thread Renato Romano
I already used the struts 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 necessa

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
below. 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 spe

RE: Please Help - ClassCastException

2004-01-04 Thread Caroline Jen
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 Hel

Re: Please Help - ClassCastException

2004-01-04 Thread Martin Gainty
List" <[EMAIL PROTECTED]> Sent: Wednesday, December 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.

Re: Please Help - ClassCastException

2004-01-04 Thread Pedro Salgado
TECTED]> wrote: >> >> On your struts config file check if the form bean >> for StoreMessage action >> is of type pkg.pkg.PostForm and if the action name >> is pointing to the >> correct form bean... It also seems to be missing the >> import of the Post

RE: Please Help - ClassCastException

2004-01-04 Thread Joe Hertz
really is). I made a base form 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 Use

RE: Please Help - ClassCastException

2004-01-04 Thread Caroline Jen
ll work properly. > > Hope this helps, > > -Joe > > > > > -Original Message----- > > From: Caroline Jen [mailto:[EMAIL PROTECTED] > > Sent: Sunday, January 04, 2004 1:42 AM > > To: Struts Users Mailing List > > Subject: RE: Please Help - C

RE: Please Help - ClassCastException

2004-01-03 Thread Joe Hertz
helps, -Joe > -Original Message- > From: 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 > tha

RE: Please Help - ClassCastException

2004-01-03 Thread Caroline Jen
it as-initially defined (not casting like > above) and use BeanUtils > such as: > String receiver = (String) > PropertyUtils.getSimpleProperty(form, > "receiver"); > > Regards, > David > > -Original Message----- > From: Caroline Jen [mailto:[EMAIL PROTECTED] &

RE: Please Help - ClassCastException

2004-01-03 Thread David Friedman
such as: String receiver = (String) 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

Re: Please Help - ClassCastException

2004-01-03 Thread Caroline Jen
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 whe

Re: Please Help - ClassCastException

2004-01-03 Thread Pedro Salgado
e 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 the &g

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: error:null property value please HELP

2003-12-21 Thread hgosper
;Struts Users Mailing List" 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;}

Re: error:null property value please HELP

2003-12-21 Thread ajay brar
Ajay From: [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.

Re: error:null property value please HELP

2003-12-21 Thread hgosper
]> 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 getting an error when i submit a form. briefly i have a tree stucture that gets displayed, alon

error:null property value please HELP

2003-12-21 Thread ajay brar
ts.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 wi

RE: Please Help With This Error Message

2003-12-17 Thread hgosper
t" <[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 a'la: " size="82"

RE: Please Help With This Error Message

2003-12-17 Thread hgosper
s Users Mailing List" To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> cc: "'Caroline Jen'" <[EMAIL PROTECTED]> Subject:RE: Please Help With This Error Message C, You can't nest tags as you did

RE: Please Help With This Error Message

2003-12-17 Thread Barett McGavock
IL 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 message in the browser: ServletException

Re: Please Help With This Error Message

2003-12-17 Thread Caroline Jen
atwork" <[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

Re: Please Help With This Error Message

2003-12-17 Thread Firat TIRYAKI
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. The only idea I have is to check double-quotes correctly. Fred -Original Message- From: Caroline Jen [mailto:[EMAIL PR

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

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: and the above statement is intended to retrieve the string "creator" from a session object. __ Do

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 Yee

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 cla

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". Any

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

2003-12-09 Thread Caroline Jen
Returns the login of the user making this > request, > > > if the user has been > > > authenticated, or null if the user has not been > > > authenticated. Whether the > > > user name is sent with each subsequent request > > > depends on the browser and > &

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

2003-12-09 Thread Richard Yee
> > Returns: a String specifying the login of the user > > making this request, or > > null > > > > As the JavaDoc says: "Whether the user name is > sent > > with each subsequent > > request depends on the browser and type of > > authentication." Ar

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

2003-12-09 Thread Caroline Jen
; 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: P

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 Adam Hardy
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 to Pas

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 h

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

2003-12-08 Thread Richard Yee
urnal_category"/> > >value="<%=username%>"/> View Articles > >--- "Yee, Richard K,,DMDCWEST" wrote: > Caroline, > > Are you having > >problems with the username or the > keyName hidden > variable? If > it

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

2003-12-08 Thread Caroline Jen
t;Yee, Richard K,,DMDCWEST" wrote: > Caroline, > > Are you having > >problems with the username or the > keyName hidden > variable? If > it is > >the username, then I'd suspect that > > request.getRemoteUser() in your > > >JSP is returning null. &g

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

2003-12-08 Thread Richard Yee
he > keyName hidden variable? 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, D

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

2003-12-08 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

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

2003-12-08 Thread Caroline Jen
r > 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:

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

2003-12-08 Thread Yee, Richard K,,DMDCWEST
db lookup) 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

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

2003-12-08 Thread Caroline Jen
nt: 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 to pass from my JSP to the > scaffold.P

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

2003-12-08 Thread Yee, Richard K,,DMDCWEST
onday, 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 pr

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. One

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 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 simply use getXxx.

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

2003-12-07 Thread Richard Yee
Are you using the 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: <% String username = re

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: <% String username = request.getRemoteUser();%> View Articles and an action mapping: How come the username is not passed to the FindEditorData.java while the keyName is successfully pa

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

2003-11-10 Thread Kam Lung Leung
"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" <[EMAIL PROTECTED]

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 F

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

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 >> There were errors

Re: PLEASE HELP: Exception handling

2003-11-07 Thread Vic Cekvenich
Say this in WEB.XML java.lang.Exception /error.jsp Then this in error.jsp or what ever you consider friendly: <%@ page isErrorPage ="true" %> You are at a J2EE error page: <%= exception.getMessage() %> and then: throw new Exception("Oops, I did it again"); Or if you want to

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!!! 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 validation

  1   2   3   4   5   6   >