Re: help : JasperReports and struts

2004-12-13 Thread Andrew Hill
Have a look at the weapp sample in the demo folder that comes with jasperreports. That should get you started. Struts doesnt add any extra complications and its straightforward to put the relevant code into an Action instead of a servlet. hth Andrew sachin wrote: hi all , i am a newbie in Jas

help : JasperReports and struts

2004-12-13 Thread sachin
hi all , i am a newbie in JasperReports . i develop a .jrxml file using iReports ( visual report designer) Please , can someone tell me how to 1. create .jasper file from the .jrxml file 2. run .jasper to create a pdf file 3. display the pdf file in the same explorer Thanks in advance Regar

RE: Book/on-line examples

2004-12-13 Thread S.B.
I am not able to follow the userregistration.do example on it. I am having problems. Please check the thread from me put recently. If you could please let me know what could be wrong? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 1:4

RE: Problem with starting the samplecode-urgent help

2004-12-13 Thread S.B.
No, it still doesn't work. I am copying the error I get when I give: http://localhost:8080/strutsTutorial/userRegistration.do Can you tellme exactly where you are saying to change this? Also, I think it's the tilesprocessor request. I am not using tiles just default. Is default requestprocessor? I

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread uma.k
Hi Sunny, Thanks, I will try it out. Uma -Original Message- From: Sunny [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 10:10 AM To: Struts Users Mailing List Subject: Re: Cannot find ActionMappings or ActionFormBeans collection do some thing like this. ArticleForm: change

Re: Can't Search List Archive?

2004-12-13 Thread Hubert Rabago
Try http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2 H On Mon, 13 Dec 2004 20:08:57 -0800, James Watkin <[EMAIL PROTECTED]> wrote: > When I try to search the Struts E-mail list using the List Archive link on > the main Struts page, I get this error message: > > "Text search not available for

Re: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread Sunny
do some thing like this. ArticleForm: change the "keywords" to be a blank String instead of null private String keywords = ""; -- Action: execute ( ) method { ArticleForm articleForm = (ArticleForm) form; String kw = articleForm.getKeywords(); re

Can't Search List Archive?

2004-12-13 Thread James Watkin
When I try to search the Struts E-mail list using the List Archive link on the main Struts page, I get this error message: "Text search not available for this list" Why? It used to work. Have you considered moving this list to NNTP and allowing Google to index it? - Jim __

Re: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread Eddie Bush
Tomcat expects applications to be inside of the webapps directory. The base path for your app would be: $TOMCAT_HOME/webapps/myapp/ For simplicity, let's call this $APP_HOME Within that directory, you'd reference pages as relative to your context (like /somePage.jsp) in your struts-config fi

Re: ??? property naming convention problem

2004-12-13 Thread Andrew Hill
Yes, it is rather confusing. I wasted *many* hours with this issue the first time it hit me! Another poster also stated that putting the property name as "ECoupon" in the JSP would work - and thats because with a getter getECoupon() that IS the real property name (like your saying in the last l

Re: Problems initializing form objects

2004-12-13 Thread Andrew Hill
The problem here is the need to be able to populate the form from a submission. Initialising it in the action before forwarding to the view is okay when rendering the page to the browser, but when interpreting the forms submission, struts is going to instantiate the new actionform instance (its

Re: how to save last 5 searches in the cookie?

2004-12-13 Thread Derek Broughton
On Monday 13 December 2004 18:35, Webmaster wrote: > Personally I dislike cookies and dont allow any on my box...way too many > virus attacks this year. In fact if the site Im visiting only works with > cookies I write to the webmaster and ask them why dont they use Session?? I > would strongly rec

Re: Problems initializing form objects

2004-12-13 Thread Jeff Beal
When I have this sort of thing, I usually put it in an "initializer" Action that I always link to in place of the JSP. -- Jeff Diego Manilla Suárez wrote: Hi! I have a problem with form members initialization. I have this form. public class BasicContentForm extends ValidatorForm {

Re: Generating valid HTML from tag

2004-12-13 Thread Niall Pemberton
Joe, maybe you were thinking of this one: http://issues.apache.org/bugzilla/show_bug.cgi?id=15023 Niall - Original Message - From: "Joe Germuska" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 14, 2004 2:22 PM Subject: Re: Generating valid HTML from tag At 7:46 A

Re: Problems initializing form objects

2004-12-13 Thread Andrew Hill
Been a while since Ive done it, but this sort of thing can be managed using a lazy list (from commons-collections). http://jakarta.apache.org/commons/collections/api/org/apache/commons/collections/ListUtils.html#lazyList [http://jakarta.apache.org/commons/collections/api/org/apache/commons/collec

Re: Generating valid HTML from tag

2004-12-13 Thread Joe Germuska
At 7:46 AM -0600 12/14/04, Joe Germuska wrote: At 10:51 PM +1000 12/14/04, William Ferguson wrote: I noticed that the html generated form the tag is not valid HTML according to the W3C validation service (http://validator.w3.org). It generates a tag with a 'name' attribute which has been deprecat

Re: Generating valid HTML from tag

2004-12-13 Thread Joe Germuska
At 10:51 PM +1000 12/14/04, William Ferguson wrote: I noticed that the html generated form the tag is not valid HTML according to the W3C validation service (http://validator.w3.org). It generates a tag with a 'name' attribute which has been deprecated. Since I'm striving to conform to relevant s

Re: test

2004-12-13 Thread Andrew Hill
well, at the very least you really should follow this lists glorious tradition of mentioning BEER in your OT posts . Beer ;-) Frank W. Zammetti wrote: No. The problem is that my webmail client, which is all I can use at work to access mailing lists, has a bug which causes messages

RE: Error in CactusStrutsTestCase

2004-12-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 4:44 PM > To: [EMAIL PROTECTED] > Subject: RE: Error in CactusStrutsTestCase > > > > This one is a real pain because there is no real failure in > my logs. Just > the error I poste

RE: Error in CactusStrutsTestCase

2004-12-13 Thread Mick.Knutson
This one is a real pain because there is no real failure in my logs. Just the error I posted which came from my testcase page only. The closest thing I can figure, is this is where the error is happening: = if( Co

RE: Error in CactusStrutsTestCase

2004-12-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 4:20 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Error in CactusStrutsTestCase > > > I have the following method that keeps failing and I don't > know why. The method

Error in CactusStrutsTestCase

2004-12-13 Thread Mick.Knutson
I have the following method that keeps failing and I don't know why. The method should really only set a NavigationBean into session, then forward to a page based on the action parameter. public void testProductSelection() throws E

??? property naming convention problem

2004-12-13 Thread Vinod Easaw Varghese
Hi, I have a textbox in a JSP whose property has been named as eCoupon. I have created the necessary ActionForm with the necessary setter and getter methods such as setECoupon and getECoupon. When I run submit the form within the corresponding JSP I get the error message not able to find

Problems initializing form objects

2004-12-13 Thread Diego Manilla Suárez
Hi! I have a problem with form members initialization. I have this form. public class BasicContentForm extends ValidatorForm { protected java.util.List propertyValues; public BasicContentForm() { this.propertyValues = new java.util.ArrayList(); } public void setPropertyValu

RE: how to save last 5 searches in the cookie?

2004-12-13 Thread Ron Day
How are you maintaining your session: URL Rewriting?? -Original Message- From: Webmaster [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 4:35 PM To: Struts Users Mailing List Subject: Re: how to save last 5 searches in the cookie? Personally I dislike cookies and dont allow an

Re: Generating valid HTML from tag

2004-12-13 Thread William Ferguson
Well, the w3C validator certainly considers it to be invalid and is validating against the HTML 4.01 spec which came into being in December 1999. So I'd be inclined to say that 5 years is more than enough deprecation notice. William - Original Message - From: <[EMAIL PROTECTED]> > Is i

Re: Generating valid HTML from tag

2004-12-13 Thread DGraham
Is it the opinion of others that "deprecated" is semantically equivalent to "invalid"? Dennis "William Ferguson" <[EMAIL PROTECTED]> 12/14/2004 07:51 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To <[EMAIL PROTECTED]> cc Subject Generating valid HTML from tag

Re: how to save last 5 searches in the cookie?

2004-12-13 Thread Webmaster
Personally I dislike cookies and dont allow any on my box...way too many virus attacks this year. In fact if the site Im visiting only works with cookies I write to the webmaster and ask them why dont they use Session?? I would strongly recommend saving your User preferences etc back up to the S

Generating valid HTML from tag

2004-12-13 Thread William Ferguson
I noticed that the html generated form the tag is not valid HTML according to the W3C validation service (http://validator.w3.org). It generates a tag with a 'name' attribute which has been deprecated. Since I'm striving to conform to relevant standards as best as possible, I was wondering wheth

ServletContext, Initialisation, & Distributed Environments

2004-12-13 Thread Andrew Hill
According to the sevlet spec: "context attributes are local to the JVM in which they were created. This prevents ServletContext attributes from being a shared memory store in a distributed container". What Id like to know is how this affects configuration information I load in a PlugIn or in a

Re: html:image?

2004-12-13 Thread Bjørn T Johansen
Yes, of course. Thx :) BTJ Matthias Stoll wrote: Hi Bjorn You should use the tag. the tag renders an "input" tag of type "image" ( tag, which is what you need. greets __ Matthias Stoll hpi GmbH Application Development Web site: http://www.hpigmbh.com Bjørn T Johansen <[EMAIL PROTECTED

RE: Transmission of a session using jsessionID

2004-12-13 Thread Jerry Rodgers
FWIW: I had a similar situation and used cookies to pass encrypted values between the web apps. I also used a filter to check for changes in those cookie values and to put the values from the cookie into the correct web app session. -Jerry Rodgers -Original Message- From: Vadim Petrenko

RE: Transmission of a session using jsessionID

2004-12-13 Thread Jerry Rodgers
FWIW: I had a similar situation and used cookies to pass encrypted values between the web apps. I also used a filter to check for changes in those cookie values and to put the values from the cookie into the correct web app session. -Jerry Rodgers -Original Message- From: Vadim Petrenko

RE: Book/on-line examples

2004-12-13 Thread Bala . Paranj
Download the Jakarta Struts Live from serverside.com. Its a free ebook. It is a very practical and covers all the concepts. It is an excellent book. Enjoy! Bala -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 4:41 PM To: [EMAIL PROTECTED] S

RE: Book/on-line examples

2004-12-13 Thread Jim Barrows
> -Original Message- > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 2:41 PM > To: [EMAIL PROTECTED] > Subject: Book/on-line examples > > > Hello, > > I am trying to see if struts will be applicable to some work > I will be doing in the future. I have

Re: html:image?

2004-12-13 Thread Matthias Stoll
Hi Bjorn You should use the tag. the tag renders an "input" tag of type "image" ( tag, which is what you need. greets __ Matthias Stoll hpi GmbH Application Development Web site: http://www.hpigmbh.com Bjørn T Johansen <[EMAIL PROTECTED]> 14.12.2004 12:50 Please respond to "Struts Users M

Book/on-line examples

2004-12-13 Thread Scott Purcell
Hello, I am trying to see if struts will be applicable to some work I will be doing in the future. I have googled quite a bit of struts examples, but most seem incomplete, or refer to compiled class files, etc. Anyway, I would have read enough to be dangerous, but I am looking for some "good"

html:image?

2004-12-13 Thread Bjørn T Johansen
I have an image in my jsp page, that acts like a button when I click on the image, why is that? It creates a request to my action object, but this is not what I want... Clicking on the image, should do nothing. How do I fix this? The code in my jsp looks like this..: Regards, BTJ -- ---

Re: Validator question

2004-12-13 Thread Susan Bradeen
On Mon, 13 Dec 2004 10:44:24 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Vinicius Caldeira Carvalho > > [mailto:[EMAIL PROTECTED] > > Sent: Monday, December 13, 2004 11:32 AM > > To: Struts Users Mailing List > > Subject: Validator question > > > > >

Re: problem with html:Image and Indexed form

2004-12-13 Thread Tito Eritja
El lun, 13 de 12 de 2004 a las 20:44, Tito Eritja escribiÃ: > Hi everybody. > > I have a problem with tag > > I'm using a ImageButton bean like that: > > public final class ImageButtonBean implements Serializable { > private String x = null; > private String y = null; > > public St

RE: Struts configuration problem on Tomcat 5.5.4

2004-12-13 Thread alan . sinclair
Thanks Jim. The web.xml is in the right place: 1908 Sun Dec 12 18:34:58 PST 2004 WEB-INF/web.xml I have checked the permissions and I feel they are correct. It is very puzzling; I have ruled out an ant build issue either. Thanks -Original Message- From: Jim Barrows <[EMAIL PROTECTED]>

Re: problem with html:Image and Indexed form

2004-12-13 Thread Mark Lowe
You need to a subclass action and search the request parameter for "[" "]" find the index and do things this way, at least thats what i've done in the past. Mark On 13 Dec 2004 20:55:25 +0100, Tito Eritja <[EMAIL PROTECTED]> wrote: > El lun, 13 de 12 de 2004 a las 20:44, Tito Eritja escribió: >

Struts configuration problem on Tomcat 5.5.4

2004-12-13 Thread alan . sinclair
Hi, I am hoping I have selected the correct list for this problem. I can successfully deploy a simple struts application with 1 action and form by manually extracting the war file into the webapps directory of the Tomcat server. I cannot deploy the war file automatically on a running Tomcat 5.5

RE: Struts configuration problem on Tomcat 5.5.4

2004-12-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 12:49 PM > To: [EMAIL PROTECTED] > Subject: Struts configuration problem on Tomcat 5.5.4 > > > Hi, > I am hoping I have selected the correct list for this > problem. I can success

upgraded to 1.2.4 and form bean fields are not filled

2004-12-13 Thread Matthias Stoll
we upgraded to Struts 1.2.4 since then some form fields are not filled anymore. e.g. we have a input type="text" field in our jsp which contains a date. in the form bean we have a setter with a string argument that converts the fields contents from string to date. the form bean has a member var

problem with html:Image and Indexed form

2004-12-13 Thread Tito Eritja
Hi everybody. I have a problem with tag I'm using a ImageButton bean like that: public final class ImageButtonBean implements Serializable { private String x = null; private String y = null; public String getX() { return (this.x); } public void setX(String x) {

test

2004-12-13 Thread Frank W. Zammetti (MLists)
Please ignore me. Just seeing if my web host fixed the webmail problem I've been having. Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Validator upgrade?

2004-12-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 11:53 AM > To: [EMAIL PROTECTED] > Subject: RE: Validator upgrade? > > > Bingo > I sent an email last week about my custom rules, and was told > that I should/could put my cus

Re: test

2004-12-13 Thread Guillaume Cottenceau
"Frank W. Zammetti (MLists)" writes: > Please ignore me. Just seeing if my web host fixed the webmail problem > I've been having. Thanks! No offense, but is it not possible to test that from one email of yours to another one? -- Guillaume Cottenceau -

RE: Validator upgrade?

2004-12-13 Thread Hollaway, Shedrick L CIV TRIREFFAC
Is your custom validator in a resource (i.e. validation-custom.xml) that's identified in struts-config.xml like such: === validation-custom.xml = smime.p7s Description: S/MIME cryptographic signature

Re: Book/on-line examples

2004-12-13 Thread aris
Thanks for the cue Bala. I've found useful information about ActionForm at glance. aris. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 13, 2004 10:48 PM Subject: RE: Book/on-line examples > Download the Jakarta Struts Live from serverside.

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
Bingo I sent an email last week about my custom rules, and was told that I should/could put my custom rules into a file called validator-rules-wfb.xml and just add an entry into my struts-config validator setting with that file. So now I would have 4 different validator config files. But the

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
I did that, but, I have 4 entries, not 3. Is there a limit of 3 entries somehow? Mick Knutson Wells Fargo Business Direct (415) 222-1020 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the a

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
1st, I did not check the old way, and will attempt to revert back to arg0 instead of position="0". 2nd, here is the error I get each time (the original code is below in this thread): \=== 2004-12-10 15:12:08,998 ERROR [ExecuteThread: '8' for queue: 'weblogic.k

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
here is the error I get each time (the original code is below in this thread): === 2004-12-10 15:12:08,998 ERROR [ExecuteThread: '8' for queue: 'weblogic.kernel.Default'] validator.ValidatorForm (ValidatorForm.java:114) - No ValidatorActio n named isequalif foun

RE: Validator upgrade?

2004-12-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 11:22 AM > To: [EMAIL PROTECTED] > Subject: RE: Validator upgrade? > > > here is the error I get each time (the original code is below > in this thread): > =

RE: Validator upgrade?

2004-12-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, December 10, 2004 3:42 PM > To: [EMAIL PROTECTED] > Subject: Validator upgrade? > > > with the new struts 1.2.4 upgrade, I started to change all > the to but find that my > custom validators are n

RE: how to save last 5 searches in the cookie?

2004-12-13 Thread Jim Barrows
> -Original Message- > From: Yadav, Ganesh [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 11:00 AM > To: [EMAIL PROTECTED] > Subject: how to save last 5 searches in the cookie? > > > Hello All. > > I have a requirement to save last 5 searches in the cookie. > > In other w

ActionMessages and Struts-EL Tags

2004-12-13 Thread Hariharan V
In my application I want to differentiate b/w error and normal messages Here is the code in my Controller ActionMessages messages = new ActionMessages(); ActionMessages errors = new ActionMessages(); messages.add("sample.message", new ActionMessa

Re: my testimony about Struts

2004-12-13 Thread t t
Thanks, James. James Mitchell <[EMAIL PROTECTED]> wrote:Looks good T! -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "t t" To: "Struts Users Mailing List" Sent: Monday, December 13, 2004 11:27 AM Subj

RE: Validator upgrade?

2004-12-13 Thread Hollaway, Shedrick L CIV TRIREFFAC
What is your error message? Does it work if you keep it as ? Shed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 12:56 To: [EMAIL PROTECTED] Subject: RE: Validator upgrade? Ping.. Any help here... Mick Knut

how to save last 5 searches in the cookie?

2004-12-13 Thread Yadav, Ganesh
Hello All. I have a requirement to save last 5 searches in the cookie. In other words, saving last 5 set of "search param- value" pairs in cookie. Retrieve them and show these 5 searches in Combo box. So whenever user select one, he should have his search screen params filled up from the cookie

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
Ping.. Any help here... Mick Knutson Wells Fargo Business Direct (415) 222-1020 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread Hollaway, Shedrick L CIV TRIREFFAC
Uma, this should help, based on tomcat\webapps\jg1\articles\Template.jsp Shed. -Original Message- From: uma.k [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 7:21 To: 'Struts Users Mailing List' Subject: RE: Cannot find ActionMappings or ActionFormBeans collection

Re: my testimony about Struts

2004-12-13 Thread James Mitchell
Looks good T! -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "t t" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, December 13, 2004 11:27 AM Subject: my testimony abou

RE: Validator question

2004-12-13 Thread Jim Barrows
> -Original Message- > From: Vinicius Caldeira Carvalho > [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 11:32 AM > To: Struts Users Mailing List > Subject: Validator question > > > Hi there. Correct if I'm wrong, validator returns to the > input jsp after > a validation

Validator question

2004-12-13 Thread Vinicius Caldeira Carvalho
Hi there. Correct if I'm wrong, validator returns to the input jsp after a validation fails right? Now if my jsp was called by an action that receives parameters throught the request, how can I handle this? Imagine this flow: Search Action (receives parameters on the request) -> forwards to jsp

my testimony about Struts

2004-12-13 Thread t t
No question. Struts is a wonderful tool to build websites. I just built one: www.sportslovers.net using Struts. Take a look if you are a sports lover or you are a web developer but still doubt Struts. Sorry if this post bothered you. - Do you Y

RE: Form submission and javascript

2004-12-13 Thread David Bolsover
Ryan It is interesting that you should be working on this.. I have a similar requirement - I need to forward to a NAMED page once my action has completed - I do not know which page prior to form submittal. from what I have read so far, there is no 'struts' solution - you have to use Javascript.

Struts application

2004-12-13 Thread Freddy Villalba A.
Hello everyone, I'm facing some problems with Struts on a Tomcat server. I'm looking for my own answers. However, input from both groups would be appreciated. I just downloaded Tomcat v5.5 and installed on an XP Professional box. No problem. I've been running and testing without trouble a Struts

Re: cascading messageresource lookups

2004-12-13 Thread James Mitchell
Did you ever get a response on this? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Wayne Christian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 09, 2004 10:04 AM Subject: cascadin

Re: Problem with starting the samplecode-urgent help

2004-12-13 Thread Sebastián Gorgo
You must change "strutsTutorial.UserRegistrationAction" to "StrutsTutorial.UserRegistrationAction". Its case-sensitive. S.B. wrote: I have a created a subclass of Action, called UserRegistrationAction: package StrutsTutorial; import javax.servlet.http.HttpServletRequest; import javax.servlet.http

Problem with starting the samplecode-urgent help

2004-12-13 Thread S.B.
I have a created a subclass of Action, called UserRegistrationAction: package StrutsTutorial; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.ac

Re: about logic tag

2004-12-13 Thread Webmaster
Pramod (et al) Please refer to the "Guidelines for Struts Mailing List" for further posts http://struts.apache.org/mail.html Martin Gainty -Original message- From: Andrew Hill [EMAIL PROTECTED] Date: Mon, 13 Dec 2004 06:15:33 -0500 To: Struts Users Mailing List [EMAIL PROTECTED] Subject:

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread S.B.
I am having similar problems, check my email today sent. DO you know what's causing my problem? -Original Message- From: uma.k [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 6:39 AM To: 'Struts Users Mailing List' Subject: RE: Cannot find ActionMappings or ActionFormBeans colle

Re: [OT - Friday]Corporate Stupidity

2004-12-13 Thread fzlists
Well, certainly a dishonest company in any case is a bad thing. If there is a law on the book, as there is in my sector, that requires certain things of them, then there's not much you can complain about as far as the company goes, but complain all you want to your government representatives of

Re: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread Webmaster
Sunny: If you have any errors in your Jsp pages It is always helpful to make sure the JSP pages compile without errors thru Eclipse, JDeveloper or JBuilder Also make sure your package spec for ArticleAction is 'articles' of course Make the changes to struts-config.xml below.. Please keep us i

Re: Form submission and javascript

2004-12-13 Thread fzlists
If I'm understanding your question properly, the easiest way is just to add the attribute target="_new" in your tag. I don't know how that translates to the Struts tag as I tend to not use Struts tags, but for a plain-jane tag, it should get the job done. I have heard that the target attrib

Re: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread Dakota Jack
One calls actions with urls ending in things like myAction.do. The ".do" tells the appllication process an action. The action then passes the request on to an appropriate response object creator, like a JSP page, usually with an ActionForward. This is contrasted with just calling the JSP page di

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread uma.k
I am putting my jsp's under tomcat\jg1\articles\*.jsp Uma -Original Message- From: S.B. [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 7:51 PM To: 'Struts Users Mailing List' Subject: RE: Cannot find ActionMappings or ActionFormBeans collection Where are you putting jsp file?

Re: Form submission and javascript

2004-12-13 Thread Daniel H A Lima
Hi Ryan. Have you tried Javascript:toChildWindow('ProcessMainAction.do','doDataProcess', document.forms[0], 'myChildWindow',200, 400) instead of Javascript:toChildWindow('ProcessMainAction.do','doDataProcess', 'this.form', 'myChildWindow',200, 400) ? I think that the property "form" is only

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread S.B.
Where are you putting jsp file? In which folder? Is it under pages directory? --- Begin Message --- Title: RE: Cannot find ActionMappings or ActionFormBeans collection Hi Bush, Its confusing me. How do I call an Action without the Template.jsp form being submitted? My Action and ActionForm

Re: [OT - Friday]Corporate Stupidity

2004-12-13 Thread Derek Broughton
On Sunday 12 December 2004 11:40, Frank W. Zammetti wrote: > This might seem like an obvious comment, but this depends on what type > of job it is. > > I work for one of the largest financial companies in the U.S. in the > mutual fund sector. There are real, legitimate concerns with so much > mone

Form submission and javascript

2004-12-13 Thread Ryan julius
Hello, I am trying to submit a form to an action, with the resulting page displayed in a child window. function toChildWondow(actionName, methodeAppelee, form, nomFenetre, largeur, hauteur ) { var windowFeatures = "scrollbars=yes,resizable=no,width="+largeur+",height="+hauteur; var sUrl =

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread uma.k
Eddie, How do I set my path in struts-config.xml file when my app is in tomcat\webapps\jg1\articles\Template.jsp Is this correct? Uma -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 5:30 PM To: Struts Users Mailing List Subject

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread uma.k
Mohamed, Yes, Its right, I did not paste all of the code as its lengthy. Uma -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 5:38 PM To: Struts Users Mailing List Subject: Re: Cannot find ActionMappings or ActionFormBeans collection

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread uma.k
Hi Eddie, That worked, Thanks a lot. But this is a simple app, But any ideas on my real question? on using a html:form? Uma -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 5:30 PM To: Struts Users Mailing List Subject: Re: Cannot find ActionMa

Re: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread Mohamed . Abdulkhaliq
Hi, In your Action Servlet you are trying to call the getTtitle() method from the bean Object. I am not able to see such a method in the Bean. Is this Right? ArticleForm articleForm = (ArticleForm)form; keywords = articleForm.getTitle(); Thanks Mohamed Abdul Khaliq.M IT Specialist SDC2 - Chen

Re: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread Eddie Bush
Uma, That's being generated by the RequestProcessor. That means your ActionServlet instance loaded and is probably setup right. Do you have an action in your struts-config with a path of "/test1"? I'm betting you don't. You probably want to be using "/testme.do", since that's what you've got

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread uma.k
Ok, I now executed the test1.do by removing all un necessary codes and I get this error The requested resource (Invalid path /test1 was requested) is not available. Why is the context not found for .do file? my struts-config.xml file http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd

Re: about logic tag

2004-12-13 Thread Pramod
This is the code in the model class's method if(result!=null || result.size()>0) { objectVector = new Vector(); for(int i=0;i

Re: about logic tag

2004-12-13 Thread Andrew Hill
opps. Didnt see this post when I replied just now. The syntax seems ok. When you say its not producing results, is there any error message or stack trace, or is it just that that part of the page is blank? If blank it sounds like the results vector is empty. I presume you initialise it in your

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread uma.k
Hello Sunny, I am using Tomcat 4.0. And Tomcat uses JDK classpath, my JDK classpath is set in the environment variables in Windows. The classpath that I have given you is the one that I am using. I have tried your test programme, using the http://localhost:8080/test/test1.do and I get java.lang.C

Re: logic tag

2004-12-13 Thread Andrew Hill
Sorry mate, you going to have to be a bit more specific about the problems your having, and precisely what result it is that you are actually trying to achieve, as we are having some trouble understanding the question! I am having a vector object in jsp In a request or session attribute I pre

Re: about logic tag

2004-12-13 Thread Pramod
i didnt get u - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: about logic tag

2004-12-13 Thread Andrew Hill
Are there stairs in your house? Pramod wrote: I have done the steps but i didn't get results - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -

Re: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread Sunny
hi, there is *no need* to add struts-bean.tld as she is *not* using any bean tags uma, please paste your tomcat's class path. mail your setclasspath.sh(linux) or setclasspath.bat(windows) or whatever file in which you are setting tomcat's class path also try creating a normal jsp ( no form sub

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread uma.k
Hello Mohamed, Thanks for the reply. I added this line, but I still get that problem. Any ideas? Uma -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 3:02 PM To: Struts Users Mailing List Subject: Re: Cannot find ActionMappings or Action

RE: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread uma.k
Hi Sunny, I checked the classpath and its perfect. No issues with classpath. This is my first Struts page, I have no other pages. Uma -Original Message- From: Sunny [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 1:11 PM To: Struts Users Mailing List Subject: Re: Cannot find Act

Re: Cannot find ActionMappings or ActionFormBeans collection

2004-12-13 Thread Mohamed . Abdulkhaliq
Hi, Can you please include the below line in your JSP. <%@ taglib uri = "/WEB-INF/structs-bean.tld" prefix="bean" %> Pardon me if I am wrong. Thanks Mohamed Abdul Khaliq.M IT Specialist SDC2 - Chennai Ph 8272628 Ext 8098

  1   2   >