creating a class that extends Action Mapping...what is the purpose of it?

2003-12-31 Thread deepak saini
Hi, I was trying one struts example. In that example, it has created one class whcih extends ActionMapping class. I was just wondering why we need to create this class and when is it used and whether we define this class in struts-config or web.xml? Regards Deepak Saini

Re: creating a class that extends Action Mapping...what is the purpose of it?

2003-12-31 Thread Nicolas De Loof
Sometime we need to add some info to struts mappings, and for this we use a class that extends ActionMapping. As an example, we need for a webapp to add a description to any mapping to build some stats. DescActionMapping defines a description attribute. every action-mapping in struts-config

RE: creating a class that extends Action Mapping...what is the purpose of it?

2003-12-31 Thread Mohan Radhakrishnan
I remember that this is done to use custom properties in your action mapping in the struts-config.xml file. action ... set-property property=foo value=x/ set-property property=bar value=y/ /action You can access them in your action. Mohan -Original Message- From

Re: DOTs, wild cards, and action mapping

2003-12-18 Thread Thomas E Enebo
David Friedman wrote: Thomas, (Probably a) Dumb question From the ${area.name} it looks like you're using Velocity Templates. I thought Velocity couldn't mix with JSP's like that (My impression from ch 17 of 'Struts in Action'. How are you mixing the two? (Or is there a Velocity update

DOTs, wild cards, and action mapping

2003-12-17 Thread Thomas E Enebo
I started using the wild-card support in action mappings (from a CVS build). It works, but I noticed something strange (until I realized what it was doing). So, I have a action mapping like: action path=/areas/* type=apackage.AreaAction forward name

RE: DOTs, wild cards, and action mapping

2003-12-17 Thread David Friedman
it?) Regards, David -Original Message- From: Thomas E Enebo [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 7:16 PM To: [EMAIL PROTECTED] Subject: DOTs, wild cards, and action mapping I started using the wild-card support in action mappings (from a CVS build). It works, but I noticed

Action Mapping - without formbean

2003-12-09 Thread Ravi Kulkarni
Hi All, I have a form with yes/no buttons. I want to use html:form tag but do not want to map to any Formbean. How can I do that? Thanks in advance. Kulkarni. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Action Mapping - without formbean

2003-12-09 Thread HG
. Sorry if I misunderstood your quuestion.. Regards Henrik - Original Message - From: Ravi Kulkarni [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 10:37 AM Subject: Action Mapping - without formbean Hi All, I have a form with yes

RE: Action Mapping - without formbean

2003-12-09 Thread Ravi Kulkarni
Thanks Henrik, that answers my question. -Original Message- From: HG [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 3:30 PM To: Struts Users Mailing List Subject: Re: Action Mapping - without formbean Hi Ravi The action attribute of your form tag points to the path for your

Why the Action Mapping Cannot Be Retrieved?

2003-11-05 Thread Caroline Jen
I got this message in the browser: [ServletException in:/article/content/menu.jsp] Cannot retrieve mapping for action /do/editor/Category' The menu.jsp is a tile in my application. This is my tile menu.jsp: req:isUserInRole role=editor html:form action=/do/editor/Category TR TD class=option

Need help to create owm Custom Action Mapping to read the propertys

2003-10-20 Thread Archana Annamaneni
Hello everyone, I have to read a property when certain action is called. for simple mail application i want to read the smtp mailserver value from outside , i don't want to hard code it, for that I am creating my ActionMapping.And adding new tag called set-property for the action.but i am

RE: Need help to create owm Custom Action Mapping to read the pro pertys

2003-10-20 Thread Fred Tsang
class name. try that. cheers, Fred -Original Message- From: Archana Annamaneni [mailto:[EMAIL PROTECTED] Sent: 20 October 2003 17:00 To: [EMAIL PROTECTED] Subject: Need help to create owm Custom Action Mapping to read the propertys Hello everyone, I have to read a property when certain

RE: Need help to create owm Custom Action Mapping to read the pro pertys

2003-10-20 Thread Archana Annamaneni
[mailto:[EMAIL PROTECTED] Sent: 20 October 2003 17:00 To: [EMAIL PROTECTED] Subject: Need help to create owm Custom Action Mapping to read the propertys Hello everyone, I have to read a property when certain action is called. for simple mail application i want to read the smtp

Re: How To Work Out This Action Mapping?

2003-10-11 Thread Craig R. McClanahan
Caroline Jen wrote: To answer your questions: 1. The LOGON button links to a forward: html:link forward=logonLOGON/html:link and in my struts-config.xml, I have forward name=logon path=/do/admin/Menu/ Well, that's the first problem ... security constraints are only

Re: How To Work Out This Action Mapping?

2003-10-11 Thread Caroline Jen
Craig, thank you for your very strong support in the past day or two to guide me through problems with the container-managed authentication. I looked at my web.xml file again and again. There is nothing wrong with the order of the elements in that file. And there is no stack trace in the log

How To Work Out This Action Mapping?

2003-10-10 Thread Caroline Jen
Because there is such a statement (shown below) in my signinForm.jsp: html:form action=j_security_check method=post focus=j_username I put action name=j_security_check path=/do/admin/Menu/ in my struts-config.xml file. When I ran the application, I got:

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Sasha Borodin
I think you may be doing two things wrong: 1. j_security_check is a special URL. If you have a security realm defined in your web application, and authentication method specified as FORM, then the container will automatically forward any requests for protected resources to a configurable login

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Caroline Jen
Thank you for your reply. I am using container managed authentication. My problem is how to go from j_security_check back to my Struts framework. I have my Tomcat JDBCRealm configured and users, user_roles tables prepared in the database. In my struts-config.xml file, I did this forward when

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Craig R. McClanahan
Caroline Jen wrote: Thank you for your reply. I am using container managed authentication. My problem is how to go from j_security_check back to my Struts framework. That turns out to not be your problem ... that is the container's problem. The key thing to remember is that the user should

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Caroline Jen
Thank you very much for the detailed explanation. Yet, I still have hard time to make my application work -- I am able to display the welcome page (no problem). And I have http://localhost:8080/PracticeVersion/do/Menu;jsessionid=0A6E76A8F3E849BC8DAAC45BFB72F72E in the address bar. However, after

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Craig R. McClanahan
Caroline Jen wrote: Thank you very much for the detailed explanation. Yet, I still have hard time to make my application work -- I am able to display the welcome page (no problem). And I have http://localhost:8080/PracticeVersion/do/Menu;jsessionid=0A6E76A8F3E849BC8DAAC45BFB72F72E in the address

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Caroline Jen
To answer your questions: 1. The LOGON button links to a forward: html:link forward=logonLOGON/html:link and in my struts-config.xml, I have forward name=logon path=/do/admin/Menu/ 2. the security-constraint in my web-xml is: security-constraint

Re: Confused - Scaffold and Action Mapping

2003-09-18 Thread Ted Husted
1. The .article.Menu tile uses the menuForm bean. 2. Check the import statement at the top of the file =:0) It's just a static String. HTH, Ted. Caroline Jen wrote: I have problem to understand the action mapping shown below: code: - action

Re: derrive the form action name from the action mapping that called the JSP

2003-09-17 Thread Daniel Wang
Subject: derrive the form action name from the action mapping that called the JSP Is it possible to derive the form action name from the action mapping that called the JSP? Like: html:form action=${actionName} method=post I have 2 different actions that calls a JSP page. I want each of them

Confused - Scaffold and Action Mapping

2003-09-17 Thread Caroline Jen
I have problem to understand the action mapping shown below: code: - action path=/Menu name=menuForm type=org.apache.struts.scaffold.ExistsAttributeAction parameter=application;HOURS forward name=success path=.article.Menu/ forward

derrive the form action name from the action mapping that called the JSP

2003-09-16 Thread Mick Knutson
Is it possible to derive the form action name from the action mapping that called the JSP? Like: html:form action=${actionName} method=post I have 2 different actions that calls a JSP page. I want each of them to submit to the respective action I.e action1 gets submitted to action1.do

RE: One form multiple Action mapping

2003-09-15 Thread deepaksawdekar
Users Mailing List' Subject: RE: One form multiple Action mapping Come to think of it more, since I want the submitted form to use different action mappings, I thought of using something like Scanfold's RelayAction which dispatches to different action mappings based on the parameter (in my case

RE: action-mapping forward - how do I use it?

2003-08-28 Thread Bill Chmura
How about a little javascript snippet on that button that submits it? That way it will not submit as a form... -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 3:56 PM To: Struts-Users Subject: action-mapping forward - how

Re: action-mapping forward - how do I use it?

2003-08-28 Thread Adam Hardy
the action to be to go to a new page. No ActionServlet or ActionForm because the only thing in the form is the button. But I would like to use the action-mapping to determine where to go. I tried to do this with: action path=/RegisterSubmit forward=/store/address.jsp /action But if I use a html

Re: action-mapping forward - how do I use it?

2003-08-28 Thread David Thielen
: action-mapping forward - how do I use it? David, what happens when you use a form ... ? If the URL is wrong, have you tried html:rewrite... ? Alternatively, don't use a form. Use a button inside a a/a Hope that helps Adam On 08/27/2003 09:56 PM David Thielen wrote: Hi; I have a case

action-mapping forward - how do I use it?

2003-08-27 Thread David Thielen
Hi; I have a case where, when the user clicks on a button, I want the action to be to go to a new page. No ActionServlet or ActionForm because the only thing in the form is the button. But I would like to use the action-mapping to determine where to go. I tried to do this with: action path

Exception if no form in my action mapping - why?

2003-08-19 Thread David Thielen
Hi; When I set an action mapping as this (no form): action path=/Logout type=net.windward.store.LogoutAction forward name=next redirect=true path=/var/login.jsp/ /action It threw an exception. When I added a from like this: action path=/Logout type

RE: Exception if no form in my action mapping - why?

2003-08-19 Thread Ditlinger, Steve
. Steve -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 8:47 AM To: Struts-Users Subject: Exception if no form in my action mapping - why? Hi; When I set an action mapping as this (no form): action path=/Logout type

Action mapping 'inputForward'

2003-08-15 Thread Erez Efrati
Hi all, Is it recommended to use the 'inputForward'=true in the controller configuration? Thanks, Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Action mapping 'inputForward'

2003-08-15 Thread Craig R. McClanahan
On Fri, 15 Aug 2003, Erez Efrati wrote: Date: Fri, 15 Aug 2003 18:49:25 +0200 From: Erez Efrati [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: Action mapping 'inputForward' Hi all, Is it recommended

Re: Action mapping 'inputForward'

2003-08-15 Thread Jing Zhou
- Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, August 15, 2003 11:05 AM Subject: Re: Action mapping 'inputForward' On Fri, 15 Aug 2003, Erez Efrati wrote: Date: Fri, 15 Aug 2003 18:49:25 +0200 From

RE: One form multiple Action mapping

2003-08-14 Thread Bailey, Shane C.
, 2003 11:04 AM To: 'Struts Users Mailing List' Subject: One form multiple Action mapping I have a registration form (RegForm) which based on the method/mode I want to direct it to a different action mapping in order to assign different roles or security restrictions. I have a single RegAction

One form multiple Action mapping

2003-08-14 Thread Erez Efrati
I have a registration form (RegForm) which based on the method/mode I want to direct it to a different action mapping in order to assign different roles or security restrictions. I have a single RegAction extending the DispatchAction class, with parameter 'method' as the dispatch parameter. I

RE: One form multiple Action mapping

2003-08-14 Thread Erez Efrati
Come to think of it more, since I want the submitted form to use different action mappings, I thought of using something like Scanfold's RelayAction which dispatches to different action mappings based on the parameter (in my case 'method'). On each action mapping I could set my required roles etc

extending RequestProcessor for only ONE action mapping

2003-08-04 Thread tim
I've just recently began hacking out my own RequestProcessor extension and I have found that my extended versions are not needed very much. Most of the time I would like to use the default struts provided RequestProcessor and for individual action mappings be able to specify an extended

RE: extending RequestProcessor for only ONE action mapping

2003-08-04 Thread Mike Whittaker
RequestProcessor. Is this possible? There may be a simpler alternative, but if needs be you can just call super.thatMethod() (in all the methods you overide) first when the extended beheviour isn't required. Can't remember what the RP gets access to but likely it gets an Action mapping, perhaps

AW: [newbie] Problem with Action Mapping

2003-07-25 Thread sem . Gottofrey
with Action Mapping I tried both the ways in the login.jsp 1 html:form action=/Login AND 2. html:form action=/Login name=LoginForm type=com.xxx.yyy.LoginForm Both the ways i got same response. Any ideas about the placement of the LoginForm

[newbie] Problem with Action Mapping

2003-07-24 Thread struts user
Hi, I am new to Struts, i am facing the following a problem with the action mappings. Here are my code snippets related to mapping the action In web.xml servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping In login.jsp - html:form

Re: [newbie] Problem with Action Mapping

2003-07-24 Thread Susan Bradeen
On 07/24/2003 08:22:44 AM struts user wrote: Hi, I am new to Struts, i am facing the following a problem with the action mappings. Here are my code snippets related to mapping the action In web.xml servlet-mapping servlet-nameaction/servlet-name

Re: [newbie] Problem with Action Mapping

2003-07-24 Thread struts user
List [EMAIL PROTECTED] Subject: Re: [newbie] Problem with Action Mapping Date: Thu, 24 Jul 2003 08:55:12 -0400 On 07/24/2003 08:22:44 AM struts user wrote: Hi, I am new to Struts, i am facing the following a problem with the action mappings. Here are my code snippets related to mapping the action

Re: [newbie] Problem with Action Mapping

2003-07-24 Thread Kelvin wu
Try to add action path=/LoginForm forward=/login.jsp/ in action-mappings - Original Message - From: struts user [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 24, 2003 9:32 PM Subject: Re: [newbie] Problem with Action Mapping I tried both the ways in the login.jsp 1

action mapping 'input' question

2003-07-18 Thread Erez Efrati
I guess it's simple, but why can't I put an action /MyAction.do in the 'input' field in a action-mapping in the struts-config.xml? Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: action mapping 'input' question

2003-07-18 Thread Amit Kirdatt
To: 'Struts Users Mailing List' Subject: action mapping 'input' question I guess it's simple, but why can't I put an action /MyAction.do in the 'input' field in a action-mapping in the struts-config.xml? Erez - To unsubscribe

RE: action mapping 'input' question

2003-07-18 Thread Erez Efrati
I am using struts/tiles/validator in my application. Using the following configuration works fine, still I see that on the first invocation the form gets validated and I get validation errors. My ForgotPasswordAction action is used both for the INIT and the SUBMIT operations. The only solution I

RE: action mapping 'input' question

2003-07-18 Thread Michael Ruppin
Unless validation suceeds, this looks like an infinite loop to me: input=/ForgotPassword.do path=/ForgotPassword m --- Erez Efrati [EMAIL PROTECTED] wrote: I am using struts/tiles/validator in my application. Using the following configuration works fine, still I see that

action-mapping in include tag

2003-06-17 Thread Anurag Garg
Hello Everyone, How can I include an action-mapping in a jsp include directive ? I want to achieve something like this: jsp:include page=Test.do / Is there any solution using TILES or something else ? Thanks, BS

tiles - input attribute in action mapping

2003-06-06 Thread koen boutsen
Hi I'm using different tiles to create my page. On my login tile, name and password are required fields, so the validator creates an error if one is not provided. Normally, you are redirected to the 'input' attribute of the action mapping in the struts-config. When I put the login-tile

Posted Again: Build Navigation based on action mapping

2003-06-04 Thread Haytham Samad
Sorry for reposting but wanted to get some feedback on this as I am sure everyone here had to deal with this at some point. I am trying to find a way to have navigation built based on the struts-config.xml's action mappings. Since all my use cases are enabled through action listed under action

RE: Build Navigation based on action mapping

2003-06-04 Thread Hibbs, David
I'm guessing that what you really want is to be able to do either a) some reverse engineering/documentation or b) a site map type function because navigation in a Struts app is absolutely based on action mapping and tiles config. That said (and without a clearer question), I will give some very

Struts console action mapping attribute question.

2003-03-20 Thread Mick . Knutson
What is the Configuration class attribute of an action mapping in the struts console? I see it adds a className= but I have no idea what this is used for in Struts 1.1rc1 Thank You Mick Knutson Sr. Designer - Project Trust aUBS AG, Financial - Zürich Office: +41 (0)1/234.42.75 Internal

Re: Struts console action mapping attribute question.

2003-03-20 Thread David Graham
Check the struts-config.xml DTD. David From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Struts console action mapping attribute question. Date: Thu, 20 Mar 2003 16:43:48 +0100 What is the Configuration class attribute of an action

action-mapping redirect

2003-03-02 Thread Dinesh Samson J
Greetings, I need to forward/redirect to an htm page on success. In my action mapping I have mentioned forward name=success path=/pages/Dummy.htm redirect=true/ my htm pages are in c:\testweb\pages and jsp are under ..\tomcat\webapps\myexample since the context is getting added the htm page

Action Mapping path vs parameter

2003-02-28 Thread Mark
There appears to be a one to one relationship with regards to the path and parameter values in action mappings. Is there any particular reason why one would use both of these instead of just the path to determine the correct course of action? Regards, Mark

action mapping

2003-02-05 Thread pqin
I remembered some one on the list had said that ActionMapping is deprecated in 1.1b3. If ActionMapping is deprecated, why all those Action.execute still accept ActionMapping as argument? Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing

Re: action mapping

2003-02-05 Thread Emmanuel Boudrant
Only for compatibility reasons between 1.0 and 1.1 javadoc said : NOTE - This class would have been deprecated and replaced by org.apache.struts.config.ActionConfig except for the fact that it is part of the public API that existing applications are using.

follow up on action mapping

2003-01-20 Thread pqin
Last week I asked if action mapping's input accepts action. The answer is Yes after I did a test. action path=/myAction1 type=myActionClass1 input=/myAction2.do forward../ /action input can be a page or an action. Regards, PQ This Guy Thinks He Knows

How to access the current action mapping from the jsp

2003-01-16 Thread Garth Ramakant Patil
i'm trying to build a dynamic navigation widget in a header.jsp that will be included in all my display jsps. i have elected not to use tiles. in order to correctly render the navigation, i need to know what the current action forward is that is being executed. how can i access that from the jsp

struts-config action-mapping how to set custom attribute

2002-12-17 Thread Steve Vanspall
Hi there I was wondering if there is a way to set a custom attrbiute to an action mapping, and then retieve it using the ActionMapping class. I notice that the ActionMapping class has a getAttribute(String s) method, but I am not sure if there is a way to set that attribute in the struts-config

How to get the action mapping

2002-12-04 Thread Jordan Thomas
Hi All, A newbie with a basic question (I hope...). How do I get the action mapping from the current request? thanks Jordan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

action-mapping

2002-12-04 Thread LUCERO,DENNIS (HP-Boise,ex1)
I am a newbie but I am a little confused about the following. In the struts api it states the following about the forward property of the action mapping class Exactly one of the forward, include, or type properties must be specified. But, in the examples I downloaded with the struts package

Re: action-mapping

2002-12-04 Thread David Graham
-mapping Date: Wed, 4 Dec 2002 16:09:05 -0500 I am a newbie but I am a little confused about the following. In the struts api it states the following about the forward property of the action mapping class Exactly one of the forward, include, or type properties must be specified. But, in the examples

Re: action-mapping

2002-12-04 Thread Emmanuel Boudrant
You a 3 type of action-mapping : A simple forward action path=/toto forward=/toto.jsp/ A simple include action path=/toto include=/toto.jsp/ Or a typed action : action path=/toto type=com.toto.TotoAction forward name=success path=/ok.jsp/ forward name=failure path=/error.jsp/ /action

RE: action mapping input

2002-10-28 Thread Chen, Gin
- From: Chen, Gin [mailto:Gin_Chen;tvratings.com] Sent: Friday, October 18, 2002 3:19 PM To: 'Struts Users Mailing List' Subject: RE: action mapping input Okay, just to get this straight. So I define a failure forward and it will behave the same as validation error following the input tag

Re: security roles per action mapping

2002-10-18 Thread Alexis Gallagher
Eddie Vicc, Thanks for your help on this. It got me started in the right direction, and I found a solution that I thought I'd share in case it's useful to someone else. In the end, I created a custom subclass of RequestProcess that overrides the processRoles() and always returns true. It's less

action mapping input

2002-10-18 Thread Chen, Gin
Hi all, I'm still new to struts and I cant find this in the documentation but, lets say that you have one of the struts-config from the docs. global-forwards type=org.apache.struts.action.ActionForward/ forward name=logon path=/logon.jsp redirect=false / /global-forwards

Re: action mapping input

2002-10-18 Thread John Nicholas
Chen, Gin wrote: Hi all, I'm still new to struts and I cant find this in the documentation but, lets say that you have one of the struts-config from the docs. global-forwards type=org.apache.struts.action.ActionForward/ forward name=logon path=/logon.jsp redirect=false /

RE: action mapping input

2002-10-18 Thread Chen, Gin
Mailing List Subject: Re: action mapping input Chen, Gin wrote: Hi all, I'm still new to struts and I cant find this in the documentation but, lets say that you have one of the struts-config from the docs. global-forwards type=org.apache.struts.action.ActionForward/ forward

Re: action mapping input

2002-10-18 Thread Kris Schneider
You can also leverage the input attribute in an action by returning the following from perform/execute: new ActionForward(mapping.getInput()) Quoting John Nicholas [EMAIL PROTECTED]: Chen, Gin wrote: Hi all, I'm still new to struts and I cant find this in the documentation but, lets

RE: action mapping input

2002-10-18 Thread Kris Schneider
, October 18, 2002 2:45 PM To: Struts Users Mailing List Subject: Re: action mapping input Chen, Gin wrote: Hi all, I'm still new to struts and I cant find this in the documentation but, lets say that you have one of the struts-config from the docs. global-forwards type

security roles per action mapping

2002-10-16 Thread Alexis Gallagher
Hello, I've gotten a lot of help just lurking on this list, so I'm hoping my first question isn't too off base. I am trying to use the action roles parameter to define fine-grained security constraints. However, these constraints will apply to security roles which are defined programmatically

Re: security roles per action mapping

2002-10-16 Thread V. Cekvenich
One aproach: make all the users is a single role for CMA. In first action, make a getUserPricipal, and store in session bean (I also have getFullName in there, so I display in header loged in user name) the Session bean, add methods for getProjectRole() that calls dao to find this. Based on

Re: security roles per action mapping

2002-10-16 Thread Eddie Bush
Alexis Gallagher wrote: Hello, I've gotten a lot of help just lurking on this list, so I'm hoping my first question isn't too off base. I am trying to use the action roles parameter to define fine-grained security constraints. However, these constraints will apply to security roles which are

Re: security roles per action mapping

2002-10-16 Thread Eddie Bush
Bah! Your web.xml - not your server.xml. I know what I'm talking about, I'm just experiencing technical difficulties in the broadcasting department! LOL Your web.xml holds all your role data and constraints, so using traditional CMA, you'd have to modify that file and restart the app every

A big problem for me in Action Mapping

2002-10-02 Thread Ashish Kulkarni
Hi, I have a action mapping as below, action path=/pages/sessioninvalid type=com.myapp.action.SessionInvalidAction scope=request forward name=success path=/pages/index.jsp redirect=false / /action Then i have jsp called include.jsp in pages folder with following line of code String user = (String

RE: A big problem for me in Action Mapping

2002-10-02 Thread Ashish Kulkarni
List Subject: A big problem for me in Action Mapping Hi, I have a action mapping as below, action path=/pages/sessioninvalid type=com.myapp.action.SessionInvalidAction scope=request forward name=success path=/pages/index.jsp redirect=false / /action Then i have jsp called

action mapping question

2002-08-30 Thread Darren McGuinness
to logoff.do here's my action mapping for logoff: action path=/logoff type=struts1.action.LogoffAction name=logoffForm input=/logon.do scope=request forward name=success path=/logon.jsp/ forward name=failure path

RE: action mapping question

2002-08-30 Thread Trieu, Danny
1) why would you need a logoff form? 2) what version of struts are you using? You don't have to have a form bean declare for an action mapping. The reason it throw the exception Because you have the input attribute setting. With this setting the controller makes assumsion that your mapping

Re: action mapping question

2002-08-30 Thread Darren McGuinness
1) I dont need a logoff form, but if i dont have one then i get errors of type: form bean null. 2) 1.0 Trieu, Danny wrote: 1) why would you need a logoff form? 2) what version of struts are you using? You don't have to have a form bean declare for an action mapping. The reason

Re: action mapping question

2002-08-30 Thread Darren McGuinness
this error to be exact javax.servlet.ServletException: Cannot retrieve definition for form bean null Trieu, Danny wrote: 1) why would you need a logoff form? 2) what version of struts are you using? You don't have to have a form bean declare for an action mapping. The reason it throw

RE: action mapping question

2002-08-30 Thread Trieu, Danny
:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 9:24 AM To: Struts Users Mailing List Subject: Re: action mapping question 1) I dont need a logoff form, but if i dont have one then i get errors of type: form bean null. 2) 1.0 Trieu, Danny wrote: 1) why would you need a logoff form? 2) what

RE: action mapping question

2002-08-30 Thread Bartley, Chris P
You shouldn't have to have a form bean. Here's the global forward I use for the logout action: forward name=forward.logout path=/exec/logout/ Here's my action mapping for my logout action (Struts 1.0.2, with Tiles): action path=/logout type

Re: action mapping question

2002-08-30 Thread Ted Husted
. Or, you could just use whatever bean is handy. You don't need a bean with an Action, but you do need one to appease the html:form tag. -Ted. then on search.jsp i have 2 forms, one to search.do and one to logoff.do here's my action mapping for logoff: action path=/logoff type

action mapping error (2nd post)

2002-08-22 Thread Frederic Barozzi
re Hi, i done the following intallations: - sdk 1.4 - j2ee 1.3.1 - Tomcat 4.0.4 - Struts 1.0.2 - Eclipse 2.0 - Tomcat eclipse plugin - Easy struts eclipse plugin - struts config file editor. I made a simple application, that asks for a login and a passsword. - I launch tomcat - I launch my web

Re: action mapping error (2nd post)

2002-08-22 Thread Adrian Brown
Hi Frederic, Usually when I get this error it means something is amiss in the web.xml file, either it cannot be parsed because of unexpected elements or cannot be found at all. Check the output from the console where you started tomcat from, it should give you some clues. Adrian --- Frederic

cannot find action mapping

2002-07-10 Thread Clay Graham
STRUTS people, this is bizzare, but I have come to expect this in my travels. so any hints as to what the problem may be would be great! I am using tomcat 4.1.3 I have a struts application in $CATALINA_HOME/webapps/test, it has the following stuff in it... test home.jsp

RE: cannot find action mapping

2002-07-10 Thread Clay Graham
Message- From: Clay Graham [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 2:47 PM To: '[EMAIL PROTECTED]' Subject:cannot find action mapping STRUTS people, this is bizzare, but I have come to expect this in my travels. so any hints as to what the problem may be would

RE: cannot find action mapping

2002-07-10 Thread Clay Graham
PROTECTED]' Subject:RE: cannot find action mapping Just a follow up, I figured out the problem, basically the datasource is failing. When I look at the log file for the context I get the following error: 2002-07-10 18:13:42 WebappLoader[/test]: Deploying class repositories to work

Passing a parameter into an action from the action mapping?

2002-06-18 Thread wbchmura
was looking at dispatch, but these are all from links so I would need to do /search.do?dur=1week Is there a way in the action mapping to say when they go to /search1w.do it forwards them into the same action with some sort of parameter? Or is it just a dumb ass idea and should I just do the dispatch

Re: Passing a parameter into an action from the action mapping?

2002-06-18 Thread Joe Germuska
Is there a way in the action mapping to say when they go to /search1w.do it forwards them into the same action with some sort of parameter? Or is it just a dumb ass idea and should I just do the dispatch? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail

Re: Passing a parameter into an action from the action mapping?

2002-06-18 Thread James Holmes
need to do /search.do?dur=1week Is there a way in the action mapping to say when they go to /search1w.do it forwards them into the same action with some sort of parameter? Or is it just a dumb ass idea and should I just do the dispatch? -- To unsubscribe, e-mail: mailto

RE: Passing a parameter into an action from the action mapping?

2002-06-18 Thread wbchmura
Doh! I tried that with request.getParameter() Duh - the difference is wonderfully obvious now! Thanks -Original Message- From: Joe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 4:10 PM To: struts-user Subject: Re: Passing a parameter into an action from the action mapping

RE: Passing a parameter into an action from the action mapping?

2002-06-18 Thread wbchmura
, June 18, 2002 4:18 PM To: struts-user Subject: Re: Passing a parameter into an action from the action mapping? The parameter that Joe is talking about is for the action tag in your struts-config.xml. Take a look at the Struts Console. It makes setting all this stuff a breeeze. http

RE: Passing a parameter into an action from the action mapping?

2002-06-18 Thread James Holmes
the action mapping? The parameter that Joe is talking about is for the action tag in your struts-config.xml. Take a look at the Struts Console. It makes setting all this stuff a breeeze. http://www.jamesholmes.com/struts/ -james [EMAIL PROTECTED] --- Joe Germuska [EMAIL

RE: Passing a parameter into an action from the action mapping?

2002-06-18 Thread James Mitchell
To: [EMAIL PROTECTED] Subject: RE: Passing a parameter into an action from the action mapping? Already there... The only thing that I would love to see in struts console is if I view source having it on more than one line... In my development environment (windows) there is no line feeds

RE: Passing a parameter into an action from the action mapping?

2002-06-18 Thread wbchmura
the action mapping? Hmm…try using the Output Options underneath the Options menu in the standalone version (1.12 and later). -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- [EMAIL PROTECTED] wrote: Already there... The only thing that I would love to see in struts console is if I

  1   2   >