Struts web app suddenly stops working when deployed...Help Please!

2005-12-09 Thread O. Oke
Help Please! BACKGROUND == Our struts web app works fine on our local (not on the internet) Tomcat server, but when we deploy it on the web based Tomcat server of our hosting company, we get the error below, when we attempt to connect to the application. Can anyone please tell me what

Re: How to get the value of parent form field in child - logic:equal

2005-09-11 Thread O. Oke
gt; > the page is sent to the browser, with Javascript, > which is processed by > > the browser after the page is sent. You can't do > that. > > > > What you'll need to do is, when formA opens formB > (presumably by > > submitting an

Re: How to get the value of parent form field in child - logic:equal

2005-09-11 Thread O. Oke
eed from formA > as request parameters formB can then access during > rendering. > > L. > > O. Oke wrote: > > Help please! > > > > BACKGROUND > > == > > A parent window/form - formA opens up formB. In > > formB, I am using logic:equal.

How to get the value of parent form field in child - logic:equal

2005-09-11 Thread O. Oke
].to_country.value" value='javascript:opener.forms[0].to_country.value' The only time it works is when the value is hardcoded i.e. value="UK" I do not want to hard code the country name, because it is not always UK. Pl

Re: Main class for a struts webapp...

2005-08-06 Thread O. Oke
Noted. I thank you all for your clarification and information. --- Yan Hu <[EMAIL PROTECTED]> wrote: > --- "O. Oke" <[EMAIL PROTECTED]> wrote: > > > Can anyone please tell me where the "main" (public > > static void main...) class of a St

Main class for a struts webapp...

2005-08-05 Thread O. Oke
Can anyone please tell me where the "main" (public static void main...) class of a Strus web application can be found. To put it another way, when I click a button in an HTML form, which "main" class kick starts the chain of processing that eventually leads to my action class being executed? Than

Re: Struts Native Compilation...obfuscation...

2005-08-02 Thread O. Oke
gt; documentation is good. > > Erik > > > -----Original Message- > From: "O. Oke" <[EMAIL PROTECTED]> > Sent: Aug 2, 2005 5:10 PM > To: user@struts.apache.org > Subject: Struts Native Compilation...obfuscation... > > Can anyone please recommend a

Struts Native Compilation...obfuscation...

2005-08-02 Thread O. Oke
Can anyone please recommend any good software for carrying out: 1. native compilation of Struts classes and 2. obfuscation of Struts classes Thank you O'Dele Oke ___ To help you stay safe and secure online, we've de

PASSWORD DIGESTION...RealmBase import problem...help please!

2005-07-11 Thread O. Oke
Help please! BACKGROUND == I want to store the digested version of user's password in the database. Therefore, I imported org.apache.catalina.realm.RealmBase so that I can use the static DIGEST method in the class for the digestion of the password i.e.Digest(myBean.getUser_pass()). I am

PASSWORD DIGESTION...RealmBase import problem...help please!

2005-07-11 Thread O. Oke
Help please! BACKGROUND == I want to store the digested version of user's password in the database. Therefore, I imported org.apache.catalina.realm.RealmBase so that I can use the static DIGEST method in the class for the digestion of the password i.e.Digest(myBean.getUser_pass()). I am

Re: HTML file generated by JSP is truncated...why?...Please help!...source attached

2005-06-19 Thread O. Oke
> crash when Tomcat tried to compile the JSP! > > If that is indeed the problem, you should be able to > solve it sections > in separate files and re-assembling them with > includes in the original JSP. > > L. > > O. Oke wrote: > > > Thank you all. >

RE: HTML file generated by JSP is truncated...why?...Please help!...source attached

2005-06-18 Thread O. Oke
 On wrote: > Ok- > > I would have to see the entire JSP before offering > any suggestion > > Greets, > > Martin Gainty > > __ > Disclaimer and confidentiality note > Everything in this e-mail and a

RE: HTML file generated by JSP is truncated...why?...Please help!...

2005-06-18 Thread O. Oke
; > I would have to see the entire JSP before offering > any suggestion > > Greets, > > Martin Gainty > > __ > Disclaimer and confidentiality note > Everything in this e-mail and any attachments > relating to the offi

HTML file generated by JSP is truncated...why?...Please help!...

2005-06-18 Thread O. Oke
Please help!... BACKGROUND == I am using Tomcat-5.0.27 on Windows 2000. I use Eclipse IDEfor dev. Furthermore, I have a JSP form that has about 50 fields; when the JSP is converted to an HTML file by Tomcat, the last 7 fields do not appear in the generated HTML document. When I viewed

Re: Hosting cost: Java/Struts apps -versus- PHP apps...help!

2005-05-04 Thread O. Oke
, > then choosing java > may have been the false solution :-) > > regards > Leon > > P.S. As for list of java-hosters - check the > archives. > > On Wed, 2005-05-04 at 13:43 +0100, O. Oke wrote: > > Please direct me on how to deal with the > comparative >

Hosting cost: Java/Struts apps -versus- PHP apps...help!

2005-05-04 Thread O. Oke
Please direct me on how to deal with the comparative high cost of hosting Java applications. DETAIL == My potential clients/customers already have PHP server as part of their hosting package. With Tomcat, it is a different story; the hosting companies of most of these potential clients, do n

RE: Reset button does not clear JSP fields

2004-11-29 Thread O. Oke
Thank you all. I will experiment with the Javascript option. O. Oke --- [EMAIL PROTECTED] wrote: > I'm not sure how tricky it is in JavaScript... > > function doit(obj) { > obj = obj.form; > i = 0; > while (obj.elements[i] != null) { > if (obj.el

Reset button does not clear JSP fields

2004-11-29 Thread O. Oke
tell me the conventional Struts way of setting all JSP fields to empty. Note: In the reset method of the Action form, I set all fields to "" . Thank you. O. Oke ___ Moving house? Beach bar in Thailand? Ne

RE: How to configure Tomcat/Struts ... error messages are sent to a file, not the console?

2004-10-06 Thread O. Oke
/api/org/apache/log4j/FileAppender.html > > Hiran > > > - > Hiran Chaudhuri > SAG Systemhaus GmbH > Elsenheimer Straße 11 > 80867 München > Phone +49-89-54 74 21 34 > Fax +49-89-54 74 21 99 > > > >

RE: How to configure Tomcat/Struts ... error messages are sent to a file, not the console?

2004-10-06 Thread O. Oke
to configure your setup. > > Hiran > > - > Hiran Chaudhuri > SAG Systemhaus GmbH > Elsenheimer Straße 11 > 80867 München > Phone +49-89-54 74 21 34 > Fax +49-89-54 74 21 99 > > > > > > -Original Message- > > From: O. Oke [mailto:[EMA

How to configure Tomcat/Struts ... error messages are sent to a file, not the console?

2004-10-06 Thread O. Oke
Please tell me how to configure Tomcat/Struts so that error messages are sent to a file, not the console? SERVER == I am using tomcat-5.0.27 BACKGROUND == I am using for logging error messages. The output of the code below goes to Eclipse console. What I want is for the output t

MappingDispatchAction's JSP code

2004-09-24 Thread O. Oke
Please help! Background == I have a class that extends the new MappingDispatchAction class . This class has two methods, namely getCustomer and updateCustomer. The corresponding mapping for each method are below:

MappingDispatchAction's JSP code

2004-09-23 Thread O. Oke
generate the correct path with your button or > form. > > > > Michael > > > > O. Oke wrote: > > > > >If it is "/updateCustomer", it means I will have > to > > a > > >separate jsp for each mapping. This will defeat > >

MappingDispatchAction's JSP code

2004-09-23 Thread O. Oke
> anyway, which I would find > odd but you may find even, you can do whatever you > like, but you have to > generate the correct path with your button or form. > > Michael > > O. Oke wrote: > > >If it is "/updateCustomer", it means I will have to

Re: MappingDispatchAction ...what what should be the value of the action attribute of html:form

2004-09-23 Thread O. Oke
's LookupDispatchAction. > MappingDispatchAction is > a lot easier to deal with when it comes to mapping > methods, IMO. :) > > Hubert > > On Thu, 23 Sep 2004 15:26:56 +0100 (BST), O. Oke > <[EMAIL PROTECTED]> wrote: > > Please help! &g

MappingDispatchAction ...what what should be the value of the action attribute of html:form

2004-09-23 Thread O. Oke
Please help! I have a class that extends MappingDispatchAction class . This class has, they are below: My question: 1. In my JSP, what what should be the value of the action attribute of html:form i.e. (i.e. which map

Re: COMPARING PROPERTY VALUES OF TWO JAVABEANS ...please help

2004-09-21 Thread O. Oke
> > > > if (!(o instanceof MyClass)) return false; > > > > MyClass bean = (MyClass) o; > > > > if (!(name.equals(bean.name))) return false; > > > > if (!(sex.equals(bean.sex))) return false; > > > > //etc. . . > > > > retur

COMPARING PROPERTY VALUES OF TWO JAVABEANS ...please help

2004-09-19 Thread O. Oke
Please, I want find out if the value of each of the matching properties in two beans are the same. BACKGROUND == I have two JAVABEANS A AND B. They both have name and sex properties amongst others. I want to find out if A.name == B.name and A.sex == B.sex. Is there any method in Struts

Validator with DispatchAction...help!...newbie

2004-09-14 Thread O. Oke
--- Matt Bathje <[EMAIL PROTECTED]> wrote: > O. Oke wrote: > > > Can anyone please tell me how to use the Struts > > Validator with DispatchAction. > > > > This article in bugzilla does not seem to deal > with > > the issue: > > > http://i

Validator with DispatchAction...help!...newbie

2004-09-14 Thread O. Oke
Can anyone please tell me how to use the Struts Validator with DispatchAction. This article in bugzilla does not seem to deal with the issue: http://issues.apache.org/bugzilla/showattachment.cgi?attach_id=8633 Thank you. Ola ___

Struts Validator with DispatchAction...help!...newbie

2004-09-14 Thread O. Oke
Can anyone please tell me how to use the Struts Validator with DispatchAction. This article in bugzilla does not seem to deal with the issue: http://issues.apache.org/bugzilla/showattachment.cgi?attach_id=8633 Thank you. Ola _

Re: ExceptionHandler handles, but no error output in JSP(tiles)

2004-09-06 Thread O. Oke
--- Michael McGrady <[EMAIL PROTECTED]> wrote: > O. Oke wrote: > > >Help please! > > > >I have just integrated ExceptionHandler into > >struts-config.xml file. It now > >appears to handle exceptions (because stack trace > is > >no longer disp

ExceptionHandler handles, but no error output in JSP(tiles)

2004-09-05 Thread O. Oke
Help please! I have just integrated ExceptionHandler into struts-config.xml file. It now appears to handle exceptions (because stack trace is no longer displayed in browser, when there is an error) but no error is output in JSP. My jSP (TILES) has tags for actionErrors and ActionMessages, which o

ExceptionHandler handles, but no error output in JSP

2004-08-28 Thread O. Oke
Help please! I have just integrated ExceptionHandler. It now appears to handle exceptions (because stack trace is no longer displayed in browser, when there is an error) but no error is output in JSP My jSP (TILES) has tags for actionErrors and ActionMessages, which outputs errors/messages for oh

Re: date parsing/validation...newbie 23/Jan/2004 and 23/JAN/2004

2004-08-26 Thread O. Oke
Thanks for your advice, I will do as you suggested. I am confident that this will work. However, I am unable to test it straight away because I have just come accross another unrelated problem. Regards. Ola. --- Erik Weber <[EMAIL PROTECTED]> wrote: > Hmm, sorry, I don't use client-side f