Re:problem deployin webapplication in Tomcat 5.5

2006-06-01 Thread starki78
Have you checked the web.xml and the struts-config? I downloaded the struts-blank.war as a start and deployment always worked! -- Initial Header --- >From : "Anil Kumar Pippalapalli" [EMAIL PROTECTED] To : user@struts.apache.org Cc : Date : Fri, 2 Jun

problem deployin webapplication in Tomcat 5.5

2006-06-01 Thread Anil Kumar Pippalapalli
hi all, iam gettin following error when iam tryin to deploy a simple webapp in tomcat web server. Jun 1, 2006 2:13:42 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-7070 Jun 1, 2006 2:13:43 PM org.apache.catalina.startup.Catalina load INFO: I

Form Parameter gets overwritten: Found Solution but don't understand!

2006-06-01 Thread starki78
Ciao I've to actions that share a form (session scope). In action 1 I change an attribute and set it from false to true (using the reset-method) and forward to action2 When I debug (into the struts-framework) this parameter of the form is suddenly true-again in the RequestProcessor. Solution was t

wrong direction in validate

2006-06-01 Thread Andreas Hartmann
Hello, I'm using the following: public final class Eigenschaftenform extends ActionForm { ... public ActionErrors validate( ActionMapping mp, HttpServletRequest rq ) { ActionErrors errors = new ActionErrors(); if (error) { errors.add( "id", new ActionMessage(

RE: Cancel button:NOT work

2006-06-01 Thread Sateesh Nelluri
Hi This is good information. I am facing another problem with the cancel button. When I click on the cancel button(), instead of submit, It is still going through the form validation part. Is there any way, to reach the execute(), with the cancel button directly? Thank you sateesh -Original

Re: Cancel button:NOT work

2006-06-01 Thread M.Liang Liu
Thanks for your quick reply. I've fixed it. Thank you,sir. On 6/2/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 6/1/06, M.Liang Liu <[EMAIL PROTECTED]> wrote: > Hi,I have got another problem,exception was thrown when I click my cancel > button using If it was an 'InvalidCancelException' th

Re: Cancel button:NOT work

2006-06-01 Thread Wendy Smoak
On 6/1/06, M.Liang Liu <[EMAIL PROTECTED]> wrote: Hi,I have got another problem,exception was thrown when I click my cancel button using If it was an 'InvalidCancelException' then see if this helps: http://wiki.apache.org/struts/StrutsUpgradeNotes128to129#head-e417741603dac43bb4fbde589271c568

Re: Cancel button:NOT work

2006-06-01 Thread M.Liang Liu
Exception is following: *exception* javax.servlet.ServletException org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:211) org.apache.struts.action.ActionServlet.

Cancel button:NOT work

2006-06-01 Thread M.Liang Liu
Hi,I have got another problem,exception was thrown when I click my cancel button using The excute method in the related action is following: public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse resp

Re: Problem to add several actions

2006-06-01 Thread Wang Tseng
I am sorry for confusing the concept of action chain. What I suggest you is just to forward request to the second action you need,since you need both of them to be executed. Maybe that will help. -- Wang Tseng

Re: Problem to add several actions

2006-06-01 Thread Wang Tseng
I think it's not a problem wether you are using a proper version or not. An action can forward the request to another action freely. That's what I mean. It shouldn't be a problem. 2006/6/1, Hakhnazaryan, Arus <[EMAIL PROTECTED]>: Thank you very much, but it is for 1.3.x versions and ther

Re: Global forwards don't support Tiles definitions?

2006-06-01 Thread Scott Van Wart
OK I went with the following workaround. I create a form bean to handle the name of the "global" forward: public class ForwardForm extends ActionForm { private String name; public ForwardForm() { } public String getName() { return this.name; } public void setName( String name ) { this.name

Re: Global forwards and actions

2006-06-01 Thread Maya menon
Yes I did. 1. In jsp: form.action="/Delete.do"; 2. In config file: action *.do Now the error is this: The requested resource (/Delete.do) is not available. Monkeyden <[EMAIL PROTECTED]> wrote: I dont know how else I can say this. Put this in your JSP instea

RE: Global forwards and actions

2006-06-01 Thread Samere, Adam J
Maya, It looks like you need to use the tag to generate your url to the /Delete action. form.action=""; The tag will look up your action and prepend the context path etc. -Original Message- From: Maya menon [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 2:42 PM To: Struts Us

Email validation doesn't work

2006-06-01 Thread marisol
With Struts Validator Framework, the following mail is valid [EMAIL PROTECTED] I tried with the following but it doesn't work. mask ^[=]*$ Anyone knows if there's a bug place or it's me doing something wrong??? THANKS! Marisol. -

Re: Global forwards and actions

2006-06-01 Thread Monkeyden
I dont know how else I can say this. Put this in your JSP instead: form.action="/Delete*.do*"; //in the jsp On 6/1/06, Maya menon <[EMAIL PROTECTED]> wrote: well, Here is exactly what I have: 1. jsp files are in /jsp folder. struts-config file entries and action classes. struts-config ent

Re: Global forwards and actions

2006-06-01 Thread Maya menon
well, Here is exactly what I have: 1. jsp files are in /jsp folder. struts-config file entries and action classes. struts-config entry is like this: Monkeyden <[EMAIL PROTECTED]> wrote: If that's the error you're getting, then that can't be your code. Yo

Re: Global forwards and actions

2006-06-01 Thread Monkeyden
The path in the form action needs a ".do" after it. I am also assuming you have ActionServlet set up in web.xml On 6/1/06, Maya menon <[EMAIL PROTECTED]> wrote: well, I put form.action="/Delete"; //in the jsp and //in the xml file Still it says, HTTP 404 Status report message /Delete de

Re: Global forwards and actions

2006-06-01 Thread Maya menon
well, I put form.action="/Delete"; //in the jsp and //in the xml file Still it says, HTTP 404 Status report message /Delete description The requested resource (/Delete) is not available.\ whats going wrong here ? Monkeyden <[EMAIL PROTECTED]> wrote:

Re: Global forwards and actions

2006-06-01 Thread Monkeyden
If that's the error you're getting, then that can't be your code. You're trying to request "/jsp/Delete" somewhere in your code. I suspect that the /jsp is a directory and thus will only be relevant to the action-forwards, not the form or the action-mapping. On 6/1/06, Monkeyden <[EMAIL PROTE

Re: implementing javax.servlet.Filter w/Struts

2006-06-01 Thread Konstantin Priblouda
--- CrackheadMillionaire <[EMAIL PROTECTED]> wrote: > Also, can anyone explain why my filter is bypassed > if the mapping is for *.jsp, but gets hit for *.do? > > Any advice is greatly appreciated. I think that nobody would say you why this happens, unless you post relevant code from yo

Re: Global forwards and actions

2006-06-01 Thread Monkeyden
The form action is the same as the action mapping in struts-config, plus the ".do", so if the form has: then the action mapping must be: On 6/1/06, Maya menon <[EMAIL PROTECTED]> wrote: Ok, for delete.jsp I put action="delete.do" form.action="Delete.do"; form.submit(); In struts-config.x

RE: Global forwards and actions

2006-06-01 Thread Maya menon
Ok, for delete.jsp I put action="delete.do" form.action="Delete.do"; form.submit(); In struts-config.xml, I put Now, when I run, it it gives me the following error: type Status report message Invalid path /jsp/Delete was requested description The request sent

RE: Where do you submit bug reports for struts?

2006-06-01 Thread Chaudhary, Harsh
On a related note. I would like to specify something like this: A field with validwhen condition that (*this* <= 12.5) When I use the above code in my validation.xml, I get an error: ValidWhen Error for field ' clientaSurvivorsIncomeFundRateOfReturnAfterDeath' - line 1:15: expecting RPAREN, fou

RE: Global forwards and actions

2006-06-01 Thread Maya menon
Manoj, Thanks. So, just 2 action entries r fine, thats what you think. [EMAIL PROTECTED] wrote: Sample config Note the following 1. This is a typical example modify according to your need 2. Name of the form is addForm and deleteForm in the xml abo

RE: Where do you submit bug reports for struts?

2006-06-01 Thread Chaudhary, Harsh
I had actually posted this a few days back and received a response, but I could not solve this problem. Here it is again. 1. This has to do with the "validwhen" validations. Especially when used with "float" as defined in validation.xml. Scenario: I have a field which is validated as follows: - It

Re: Where do you submit bug reports for struts?

2006-06-01 Thread Wendy Smoak
On 6/1/06, Chaudhary, Harsh <[EMAIL PROTECTED]> wrote: I would like to report a couple of bugs I have found in Struts Validation. I am pretty sure they are not Commons validator problems. Does anyone know where I could file a bug. If you haven't already, post your question to the list and see i

Where do you submit bug reports for struts?

2006-06-01 Thread Chaudhary, Harsh
I would like to report a couple of bugs I have found in Struts Validation. I am pretty sure they are not Commons validator problems. Does anyone know where I could file a bug. Harsh. - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

RE: Global forwards and actions

2006-06-01 Thread manoj.tripathi
Sample config http://struts.apache.org/dtds/struts-config_1_2.dtd";> Note the following 1.This is a typical example modify according to your need 2.Name of the form i

Global forwards and actions

2006-06-01 Thread Maya menon
All, I want to understand this better: Say, I have one form , addDetails.jsp and another deleteDetails.jsp addDetails.jsp when submitted should call AddAction and deleteDetails should call Deleteaction. In adddetails I have and in delete I have Now, what all entries do

RE: Validating in Action?

2006-06-01 Thread Samere, Adam J
You can use the ActionMessage constructor that takes a string and a boolean indicating whether or not the string is a key to be looked up in a resource bundle. By setting this to false, the string is taken as a literal. public ActionForward execute(ActionMapping mapping, ActionForm form,

Validating in Action?

2006-06-01 Thread marcus biel \(innoWake gmbh\)
Hi, I got a JSP, form and Action. I want to add 3 values into an database. This is done in my action. The problem: I am using a Service to add the stuff to the db, and when using this service, it throws error messages like "artikel not found" or "project not found". Now I want to display these err

RE: Image Button

2006-06-01 Thread Samere, Adam J
The html:image tag renders an input of type image, which is a submit type button. If all you are looking for is to customize the size of the standard submit button you can achieve this using CSS. -Original Message- From: marcus biel (innoWake gmbh) [mailto:[EMAIL PROTECTED] Sent: Thursda

AW: Image Button

2006-06-01 Thread marcus biel \(innoWake gmbh\)
> No, I don't need a regular image, I need a "customized submit button". The reason is, I need a submit button that is bigger then the regular submit buttons, because this app needs to be usable on a touchscreen... Marcus - T

RE: Image Button

2006-06-01 Thread Samere, Adam J
Or you could just put javascript in the onclick handler for a regular image. -Original Message- From: marcus biel (innoWake gmbh) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 5:59 AM To: Struts Users Mailing List Subject: Image Button Hi, I am looking for an example of ho

Re: Global forwards don't support Tiles definitions?

2006-06-01 Thread M.Liang Liu
How about forwarding to an action path using ForwardAction redirect to your tiles page? I just shoot in the dark.

RE: Problem to add several actions

2006-06-01 Thread Hakhnazaryan, Arus
Thank you very much, but it is for 1.3.x versions and there is no release yet, am I write? -Original Message- From: Wang Tseng [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 1:57 PM To: Struts Users Mailing List Subject: Re: Problem to add several actions you can use action ch

Image Button

2006-06-01 Thread marcus biel \(innoWake gmbh\)
Hi, I am looking for an example of how to create an image button in Struts. Thanks, Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem to add several actions

2006-06-01 Thread Wang Tseng
you can use action chain. 2006/6/1, Hakhnazaryan, Arus <[EMAIL PROTECTED]>: Hello. does anybody know how to add several actions to one action map. I have 2 actions, that work separatly on different pages, but on onee page under the clickon one button both of them must work. Whow to organize it

Re: Global forwards don't support Tiles definitions?

2006-06-01 Thread Antonio Petrelli
Scott Van Wart ha scritto: http://struts.apache.org/struts-action/struts-taglib/tlddoc/logic/forward.html *Note*: forwarding to Tiles definitions is not supported from this tag. You should forward to them from an Action subclass. Main Page http://struts.apache.org/struts-action/struts-

Re: Global forwards don't support Tiles definitions?

2006-06-01 Thread Shervin Asgari
Have you tried main.page instead of page.main? I don't know if this is the reason, but I have main.page and not other way around. Shervin Scott Van Wart wrote: I have a tiles definition (tiles-defs.xml), and a global forward (struts-config.xml), When the forward is triggered

Re: Global forwards don't support Tiles definitions?

2006-06-01 Thread Shervin Asgari
Have you tried main.page instead of page.main? I don't know if this is the reason, but I have main.page and not other way around. Shervin Scott Van Wart wrote: I have a tiles definition (tiles-defs.xml), and a global forward (struts-config.xml), When the forward is triggered

RE: multiox

2006-06-01 Thread David Friedman
There are a number of notes on the usage of html:multibox here that should help you: http://struts.apache.org/struts-action/struts-taglib/tlddoc/html/multibox.ht ml Regards, David -Original Message- From: Abhimanyu Koul [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 2:37 AM To: