Html link Action and DynaValidatorForm

2005-09-17 Thread Sagar Naik
Hi, I would like to have a link which fires an action of Class DynaValidatorForm JSP PAGE :- STRUTS FILE EXCEPTION :- Request[/joinWorkGroup] does not contain handler parameter named 'workGroupActionProperty'. This may be cause

Re: Cannot find bean" error" in any scope / Error

2005-09-17 Thread Murray Collingwood
If the bean "error" doesn't exist in the request or the session then this is the error you get. 1. either generate the "error" form bean and add it to the scope (any scope will do) or 2. add logic code to test for the presence of the bean before you try using it. ...do the error here. Kind

Re: Persistence on a form bean?

2005-09-17 Thread Murray Collingwood
Hi Jan Yes, this is what I'm doing. This solution (including html:hidden for these fields) does raise the potential for problems, for example, when I now add a new variable to my databases / form-bean I have to manually check through all of the JSP files that use this form-bean and ensure

Re: Cannot find bean" error" in any scope / Error

2005-09-17 Thread Laurie Harper
R. Markham wrote: I get following error if I push the submit button. I get following error message javax.servlet.ServletException: Cannot find bean error in any scope I have following in my JSP File Lastname

Re: FormDef [was Re: I remember now why I said I usually use my VO in my ActionForm]

2005-09-17 Thread Laurie Harper
No, though to be honest I didn't try very hard; I found another route to achieving what I needed and never came back to look further at FormDef. L. Ted Husted wrote: Just curious, Laurie. Did you ever find a way to use FormDef within your constraints? On 7/18/05, Laurie Harper <[EMAIL PROTEC

Cannot find bean error in any scope

2005-09-17 Thread R. Markham
I get following error if I push the submit button. javax.servlet.ServletException: Cannot find bean error in any scope I have following in my JSP File Lastname I want t

Re: AW: AW: Cannot find ActionMappings or ActionFormBeans

2005-09-17 Thread Dave Newton
R. Markham wrote: If the attribute of the property name does not exists in the Action Mapping list the program will not work. I believe that you can name a forward anything you want; they are arbitrary strings. At least that's what I've been doing. Dave -

AW: AW: Cannot find ActionMappings or ActionFormBeans

2005-09-17 Thread R. Markham
Hi Dave, If the attribute of the property name does not exists in the Action Mapping list the program will not work. I use following code Regards Richard Markham -Ursprüngliche Nachricht- Von: Dave Newton [mailto:[EMAIL PROTECTED] Gesend

Re: Persistence on a form bean?

2005-09-17 Thread Jan Fetyko
Why not put the ID as a hidden field on the form too, so you SAVE action can read it from the request and update the record with the ID ? It's not hard at all. J On Mon, 12 Sep 2005 13:48:45 +1000 "Murray Collingwood" <[EMAIL PROTECTED]> wrote: > Hi folks > > Getting back to some operational

Re: AW: How to pass Session variable to different Webapplication?

2005-09-17 Thread Dave Newton
R. Markham wrote: How about using scope="session" instead of request in the Action Mapping Eniity in struts-config.xml That won't accomplish what they want; the original poster wanted to share session variables across webapps, and I'm not sure that's possible (or legal :) The original pos

Re: FormDef [was Re: I remember now why I said I usually use my VO in my ActionForm]

2005-09-17 Thread Ted Husted
Just curious, Laurie. Did you ever find a way to use FormDef within your constraints? On 7/18/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Hubert Rabago wrote: > > On 7/16/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > >>I then fill the form in using a JSP tag if > >>necessary (i.e. the first ti

Re: AW: Cannot find ActionMappings or ActionFormBeans

2005-09-17 Thread Dave Newton
R. Markham wrote: Hi! Look at your config-struts.xml file. Why do you use action path="/DatabaseRetrievalAction" type="DatabaseRetrievalAction" input="/index2.jsp" Change "intro" to ="DatabaseRetrievalAction" or vice versa both names should be equal. And the name of "form action" in

Cannot find bean" error" in any scope / Error

2005-09-17 Thread R. Markham
I get following error if I push the submit button. I get following error message javax.servlet.ServletException: Cannot find bean error in any scope I have following in my JSP File Lastname

AW: Cannot find ActionMappings or ActionFormBeans

2005-09-17 Thread R. Markham
Hi! Look at your config-struts.xml file. Why do you use action path="/DatabaseRetrievalAction" type="DatabaseRetrievalAction" input="/index2.jsp" Change "intro" to ="DatabaseRetrievalAction" or vice versa both names should be equal. And the name of "form action" in index.jsp must be

Re: Struts ActionForms and DWR/AJAX

2005-09-17 Thread Joe Germuska
I've just recently explored DWR for the first time, and I was quite impressed. However, my take was that of the authors of the page you cited -- there's really not much rationale that I can see for doing anything specifically with Struts and DWR together. Good practice for a Struts applicatio

Re: javax.servlet.UnavailableException: Parsing error processing resource path

2005-09-17 Thread Laurie Harper
I don't see anything obviously wrong with the struts-client.xml you posted, and it's valid according to the DTD... It's possible, though, that the config file parsing isn't coping properly with it being essentially empty. Since it *is* basically empty, why not just not include it? Alternative

AW: How to pass Session variable to different Webapplication?

2005-09-17 Thread R. Markham
How about using scope="session" instead of request in the Action Mapping Eniity in struts-config.xml How it will help. Regards Richard Markham -Ursprüngliche Nachricht- Von: Martin Burkert [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 17. September 2005 13:06 An: Struts Users Mailing L

Re: Struts ActionForms and DWR/AJAX

2005-09-17 Thread Laurie Harper
Michael Jouravlev wrote: On 9/17/05, Laurie Harper <[EMAIL PROTECTED]> wrote: Correct, Struts makes no distinction between GET and POST requests (other than transparently doing the extra request parsing for a POST). What do you mean by "extra request parsing for a POST"? Pulling parameters fro

Re: internal error while merging PDs: type mismatch between read and write methods

2005-09-17 Thread Laurie Harper
No problem, glad you found it :) Stephen Hartley wrote: Hi again Laurie Sorry for wasting your time, I found the problem with the help of your hint "this might be caused by changes elsewhere, such as a super-class". When I read the superclass again *carefully* I saw that the subclass was overr

javax.servlet.UnavailableException: Parsing error processing resource path

2005-09-17 Thread Kam Lung Leung
Hi,   I have not been able to figure out why I have the following exception from tomcat: StandardContext[/ClientComponentTier]: Servlet /ClientComponentTier threw load() exception javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config-client.xml The

AW: AW: struts on jboss

2005-09-17 Thread Marc Ende
Hi Adam, hmmm... I always had this problem with the struts.jar. So I decided to put the jar in the shared lib. The .war I do deploy is an application wich have connections to an existing ejb on the same server but there are no ejb's inside this project. There is only an webapp.war and an webapp.ja

Re: AW: struts on jboss

2005-09-17 Thread Adam Hardy
Marc, I've never had that problem with JBoss locking up the struts.jar. If it just a webapp with no EJB, then basically you are just using tomcat and I can't see what would make it lock the jars. Did you remove the struts.jar from the shared lib dir? Marc Ende on 16/09/05 18:49, wrote: Okay.

RE: how to show data on jsp from bean

2005-09-17 Thread Wojciech Ciesielski
And one more thing - get yourself some good book/manual/tutorial on Struts. There's plenty of them on o'reilly/amazon/direct connect/emule etc... It's gonna be much easier ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

RE: how to show data on jsp from bean

2005-09-17 Thread Wojciech Ciesielski
> I am new to struts and have a basic question regarding bean > > I am collecting some data(its a plain java bean) in an 'Action' > from database and want to show that data on a jsp page from where > it can be edited and submitted to some other 'Action' in the form > of 'ActionForm' > > I

Re: internal error while merging PDs: type mismatch between read and write methods

2005-09-17 Thread Stephen Hartley
Hi again Laurie Sorry for wasting your time, I found the problem with the help of your hint "this might be caused by changes elsewhere, such as a super-class". When I read the superclass again *carefully* I saw that the subclass was overriding a property. And guess what, the property type in the

Re: internal error while merging PDs: type mismatch between read and write methods

2005-09-17 Thread Stephen Hartley
Hi Laurie Thanks for your help, but I still don't seem to be making much progress on this... Just to clear up the confusion - perhaps it wasn't a good idea for me to include the link to the Sun forum, as my problem is not related to changing the JVM. I am running v 1.4, and always have been, so

Re: How to pass Session variable to different Webapplication?

2005-09-17 Thread Martin Burkert
On Fri, 2005-09-16 at 16:20 -0700, Wendy Smoak wrote: > How are the users logging in? You need some form of 'single sign on,' but > how to go about it depends on where the credentials are coming from. thx for answering! I'm using JAAS to logon the user. The JAAS-subject is containing the user

Re: Struts ActionForms and DWR/AJAX

2005-09-17 Thread Michael Jouravlev
On 9/17/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Frank W. Zammetti wrote: > > Further, I'm almost positive if you were to simply do a GET to an Action > > mapping with XMLHttpRequest, assuming the parameters you include in the > > query string match what would be POSTed from a form, it should

how to show data on jsp from bean

2005-09-17 Thread rahul
Hi all, I am new to struts and have a basic question regarding bean I am collecting some data(its a plain java bean) in an 'Action' from database and want to show that data on a jsp page from where it can be edited and submitted to some other 'Action' in the form of 'ActionForm' I w

Re: Struts ActionForms and DWR/AJAX

2005-09-17 Thread Laurie Harper
Frank W. Zammetti wrote: Further, I'm almost positive if you were to simply do a GET to an Action mapping with XMLHttpRequest, assuming the parameters you include in the query string match what would be POSTed from a form, it should work the same (never tried that... anyone else know differentl

Re: recv failed

2005-09-17 Thread Laurie Harper
No idea, that's coming from something in Netbeans. Probably whatever HTTP resource it's trying to connect to isn't there. L. Murray Collingwood wrote: Hello My Struts app appears to be working quite well, however I'm occassionally getting the following error in the log file: NotifyUtil::ja

Re: Cannot find ActionMappings or ActionFormBeans

2005-09-17 Thread Laurie Harper
Those aren't startup errors, they're from attempting to access and index.jsp. The root of the problem is probably something going wrong on startup. What's in your Tomcat log files immediately after Tomcat starts (before you try to access the web application)? L. T West wrote: I'm developing