Struts - failure - apostrophe************

2007-01-18 Thread Krishna, Hari \(FTT-CInternet\)
Hi Now everything is resolved except... I am trying to check the checkboxes of those challenge questions which are there already in the LDAP. JSP:

Re: How to get the property value in action

2007-01-18 Thread Nuwan Chandrasoma
Hi, You have to write your own ActionMapping implementation like below. eg:- public class MyOwnActionMapping extends ActionMapping{ private String myProperty; /** Creates a new instance of MyOwnActionMapping */ public MyOwnActionMapping() { } public String getMyPro

Re: Passing parameters to a struts action in URL

2007-01-18 Thread Nuwan Chandrasoma
Hi, Have you tried changeing the parameter name, for eg:- try by renaming the personid parameter name to something like personId, and also introduce a totally new parameter to this link and read it from your action class and see. Thanks, Nuwan. - Original Message - From: "Joe Yue

Re: How to get the property value in action

2007-01-18 Thread Nuwan Chandrasoma
Hi, below code is that you have used your own ActionMapping implementation, but if you have used struts 1.3 you can use the method getProperty() in ActionMapping class. for eg: mappnig.getProperty("myProperty"); Thanks, Nuwan. - Original Message - From: "Nuwan Chandrasoma" <[EMAI

Re: How to get the property value in action

2007-01-18 Thread Nuwan Chandrasoma
Hi, Inside you action class execute method mapping.getMyProperty(); Thanks, Nuwan. - Original Message - From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, January 18, 2007 10:59 PM Subject: How to get the property value in action I have

Using Message Resource Keys in Tiles Definitions

2007-01-18 Thread Asad Habib
I know the following is not possible because the put tag does not have a key attribute but can the same result be achieved in another way? Any help would be greatly appreciated. Thank you. -Asad - To unsubscribe, e-ma

How to get the property value in action

2007-01-18 Thread Zhang, Larry \(L.\)
I have the following action mapping, how to get the property value of myProperty in action? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Passing parameters to a struts action in URL

2007-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, Joe Yuen wrote: > Does anyone have an idea as to why this URL > > http://localhost:8080/Chisq/Insurance.do?action=edit&personid=1001 > > works in Firefox but not in IE6? In my action class, I can see a personid in > Firefox but in IE personi

Re: struts2

2007-01-18 Thread Laurie Harper
Aljosa Mohorovic wrote: i'm about to start coding new application and i'm considering using struts2 but have no idea when will it be ready for production use. application is relatively small so i expect to deploy fast on ibm websphere (v6.x). any hints whether i should start coding using struts2?

RE: Passing parameters to a struts action in URL

2007-01-18 Thread Joe Yuen
In my action class: public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { String perso

RE: Passing parameters to a struts action in URL

2007-01-18 Thread Ross, Scott
I don't think this is a URL issue. What is your code to retreive the variables from the URL? -Original Message- From: Joe Yuen [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 4:12 PM To: Struts Users Mailing List Subject: Passing parameters to a struts action in URL Does an

Passing parameters to a struts action in URL

2007-01-18 Thread Joe Yuen
Does anyone have an idea as to why this URL http://localhost:8080/Chisq/Insurance.do?action=edit&personid=1001 works in Firefox but not in IE6? In my action class, I can see a personid in Firefox but in IE personid is null. I am using struts 1.2.8. Thanks, Joe Yuen --

Re: causing Exception in JSP

2007-01-18 Thread Patrick . Grimard
I believe I found the source of my problems. I was flipping back and forth between the mailreader example and the app I was working on when something caught my eye in the web.xml file. Here's what the mailreader had for in the servlet config: org.apache.struts.action.ActionServlet Here's what I

struts2

2007-01-18 Thread Aljosa Mohorovic
i'm about to start coding new application and i'm considering using struts2 but have no idea when will it be ready for production use. application is relatively small so i expect to deploy fast on ibm websphere (v6.x). any hints whether i should start coding using struts2? Aljosa Mohorovic -

Re: causing Exception in JSP

2007-01-18 Thread Patrick . Grimard
That didn't work. I did however take a closer look at my struts-config.xml. I happened to find in my action mapping my type was "com.jamesholmes.minihr/SearchAction", I replace the "/" with "." and now it doesn't give me JSP exception, now it just gives me: type Exception report message desc

Re: causing Exception in JSP

2007-01-18 Thread Pierre Thibaudeau
I believe your global forward should point onto /search.do (which is the ActionMapping whose path is defined as "/search" further down in your struts-config.xml: Everything else in your struts-config-xml seems to be fine. Does that help? 2007/1/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>

RE: causing Exception in JSP

2007-01-18 Thread Patrick . Grimard
Just posted my struts-config.xml. It does have a global forward called "search" "Dave Newton" <[EMAIL PROTECTED]

Re: causing Exception in JSP

2007-01-18 Thread Patrick . Grimard
I just tried putting the slash before search in my forward attribute as you mentioned, but I got the same error. Here's my struts-config.xml. http://struts.apache.org/dtds/struts-config_1_3.dtd";>

RE: causing Exception in JSP

2007-01-18 Thread Dave Newton
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > 15: • Search for Do you have a global forward called "search?" It's a Good Idea to post (as much as possible, but hopefully restricted to the problem at hand :/ more information such as the struts configuration etc. otherwise nobody really knows

Re: causing Exception in JSP

2007-01-18 Thread Pierre Thibaudeau
Hi Patrick, Have you tried putting a slash: If that doesn't solve your problem, I suspect that you would need to post the content of your struts-config.xml file... Good luck! Pierre 2007/1/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: org.apache.jasper.JasperException: Exception in JSP: /ind

causing Exception in JSP

2007-01-18 Thread Patrick . Grimard
I'm new to JSP and Struts. I'm trying to learn from a book I bought, but I'm getting an error on my index.jsp page. Not sure what the problem is and I've spent all day trying to figure it out. Any help is appreciated. HTTP Status 500 - type Exception report message description The serve

Re: Form population and locale

2007-01-18 Thread Hubert Rabago
On 1/17/07, Zero <[EMAIL PROTECTED]> wrote: Hi everybody, I use Struts 1.2.9 and I would like to know if there is any way to link the user locale (available with RequestUtils.getUserLocale(HttRequest)) with the form population process. In fact, I have many forms which have date field (with the

RE: [s2] Getting started - Just a question..

2007-01-18 Thread Nick Tucker
Hi The '/tutorial/WEB-INF/lib/CORE&OPTIONAL *.jar' just means that you put the required jar files in folder /tutorial/WEB-INF/lib I don't know what release you are using, but I could not find the spring files in release 2.0.1 where I expected to find them either. To get the spring files, Go to

RE: Using Tiles with fmt:setBundle

2007-01-18 Thread bjorn.de.bakker
I already tried that. I always get an error. -Original Message- From: navin mca [mailto:[EMAIL PROTECTED] Sent: woensdag 17 januari 2007 10:37 To: Struts Users Mailing List Subject: Re: Using Tiles with fmt:setBundle Put it into the layout jsp. [EMAIL PROTECTED] wrote: I'm using Tiles

RE: Using DynaValidatorForm

2007-01-18 Thread bjorn.de.bakker
Sorry, forgot to supply that. I'm using Struts 1.3.5 and commons-validator 1.1.3 -Original Message- From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] Sent: donderdag 18 januari 2007 16:46 To: Struts Users Mailing List Subject: Re: Using DynaValidatorForm Hi, what is the struts version

Re: Using DynaValidatorForm

2007-01-18 Thread Nuwan Chandrasoma
Hi, I think you have the methodParams attributes in validator-rules.xml defined incorrectly. compare with ones you already have there.. they should be something like this methodParams="java.lang.Object, org.apache.commons.validator.ValidatorAction,

Re: Using DynaValidatorForm

2007-01-18 Thread Nuwan Chandrasoma
Hi, what is the struts version you are using? Thanks, Nuwan - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, January 18, 2007 9:33 AM Subject: Using DynaValidatorForm Is this deprecated ? The reason why I'm asking is that I want to use it in my application, but

Using DynaValidatorForm

2007-01-18 Thread bjorn.de.bakker
Is this deprecated ? The reason why I'm asking is that I want to use it in my application, but I can't seem to find a lot of articles on it. The guide on the Struts website is well written, but beside that, not a lot of people have written tutorials on it. I have some problems with the Action