RE: Html Form Tag Question

2003-08-01 Thread Canning, Chuck
Hey, I had the same syptoms and the problem was an incorrect servlet-mapping in my web.xml. We had /*.do instead of *.do. because of that, the RequestUtils.getActionMappingURL() would not parse the action correctly. YOu might want to start looking there. Chuck -Original Message- From:

RE: JSTL and Struts

2003-07-31 Thread Canning, Chuck
Hey Mike, Why would you need the formatting inside of an input tag? You are only processing the data on the server side and that doesn't require formatting or am I missing something here? Chuck -Original Message- From: Mainguy, Mike [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31,

RE: struts-el example app not working?

2003-07-30 Thread Canning, Chuck
Hey Barry, Did you include the struts-el jars from the contrib directory or just the standard struts1.1 jars? Chuck -Original Message- From: struts [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 5:52 PM To: [EMAIL PROTECTED] Subject: struts-el example app not working? Hello,

RE: struts-el example app not working?

2003-07-30 Thread Canning, Chuck
Hey Barry, I didn't read enough of the stack trace, sorry. Caused by: java.lang.NullPointerException at org.apache.struts.util.MessageResources.getMessageResources(MessageResources .java:577) at org.apache.struts.taglib.html.BaseHandlerTag.clinit(BaseHandlerTag.java:10 8)

html-el:form writing wrong action path

2003-07-28 Thread Canning, Chuck
Hi, I am using the html-el:form tag and my action is getting written incorrectly? I have html-el:form name=myForm type=MyForm action=/path/myAction.do and the generated html has form name=myForm method=post action=/basedir where base dir is the based directory for the struts. If I copy the html

html:form tag generation

2003-07-28 Thread Canning, Chuck
Hi, Let me restate a question that I asked earlier. I am really stumped on this one and i can't move forward. I have an html:form tag with my action defined. html:form action=/myAction. When the form is generated as html, it has form name=myForm method=post action=. I have browsed the source code

RE: html:form tag generation

2003-07-28 Thread Canning, Chuck
: Monday, July 28, 2003 3:50 PM To: 'Struts Users Mailing List' Subject: RE: html:form tag generation Show how you defined your ActionMapping for /myAction in struts-config.xml Also can you see any errors in your logs? -Original Message- From: Canning, Chuck [mailto:[EMAIL PROTECTED] Sent

RE: html:form tag generation

2003-07-28 Thread Canning, Chuck
for start Alternatively just post your struts-config.xml and the jsp page here if it is not too big. Alex. -Original Message- From: Canning, Chuck [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 4:57 PM To: 'Struts Users Mailing List' Subject: RE: html:form tag generation Here

RE: html:form tag generation

2003-07-28 Thread Canning, Chuck
-Original Message- From: Canning, Chuck [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 4:13 PM To: 'Struts Users Mailing List' Subject: RE: html:form tag generation Oops, my bad. Sent he wrong one. action path=/myAction type=MyAction name

RE: html:form tag generation

2003-07-28 Thread Canning, Chuck
And here is the generated html -- sorry for second post, sent first by mistake. !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN html head TITLEDeploy New Price/TITLE link rel=stylesheet type=text/css href=styles/zdpm.css /head body class=mainContent div

ServletMapping and possible bug in getActionMappingURL()

2003-07-28 Thread Canning, Chuck
Is this a valid servlet mapping? servlet-mapping servlet-nameStrutsController/servlet-name url-pattern/*.do/url-pattern /servlet-mapping if so, the RequestUtils.getActionMappingURL() will not handle it in struts1.1 (not sure about earlier versions). It causes it to ignore

RE: ServletException Response has already been committed'

2003-07-24 Thread Canning, Chuck
Try this action path=/updateprovider ... forward=/WEB-INF/jsp/UpdProvDetailInfo.jsp / -Original Message- From: Sashi Ravipati [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: RE: ServletException Response has already been committed' Going

RE: Question About Passing Values from Action Class

2003-07-24 Thread Canning, Chuck
Hey Meka, I am not sure if I understand what you are saying, so let me surmise: You are trying to access an arraylist in a JSP page that has been set by your action class. If this is what you are trying to do, it you place the array list in the request scope or session scope as an attribute and

Problem with struts-el

2003-07-24 Thread Canning, Chuck
Hey, I am using the html-el tags, but I am getting this error. Does anyone know what might be causing this? Thanks, Chuck javax.servlet.jsp.JspException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope at

RE: Problem with struts-el

2003-07-24 Thread Canning, Chuck
-Original Message- From: Canning, Chuck [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 6:38 PM To: 'Struts Users Mailing List' Subject: Problem with struts-el Hey, I am using the html-el tags, but I am getting this error. Does anyone know what might be causing this? Thanks

RE: Has anybody extended the validator framework?

2003-07-23 Thread Canning, Chuck
Hey, I could really be missing the point and I haven't had time to delve into the struts/validator code. To me, it sounds like you might want to look into dynamically building a validator action (or whatever object is defined in the validation.xml) and map that to your form. If your jsp then has

Dsiplaying forms without validation

2003-07-22 Thread Canning, Chuck
Hi, I have a series of pages which are used to collection information about a user. basic registration type stuff. My question is: How do I get Struts to display my page with the form without performing validation until the form is submitted? Do I have to create separate action mappings for each

RE: Validator Problem

2003-07-22 Thread Canning, Chuck
You are getting the null value because the error message expects the maxLength arg to be arg1 not arg2. Your file should read field property=title depends=required,minlength,maxlength arg0 key=sections.validate.title/ arg1 key=${var:minlength} name=minlength

Problem with ActionErrors

2003-07-21 Thread Canning, Chuck
Hi, I am fairly new to struts and I am using struts1.1. I have some code which basically follows the LogonAction example that comes with the code. I use the message tag with id=error to view the errors. When the validator returns errors, they are displayed correctly. When my action saves the