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:
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
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
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
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
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
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]
-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
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?
In my action class:
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse
response)
throws IOException, ServletException {
String perso
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
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
--
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
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
-
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
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]>
Just posted my struts-config.xml. It does have a global forward called "search"
"Dave Newton"
<[EMAIL PROTECTED]
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";>
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
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
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
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
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
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
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
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,
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
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
28 matches
Mail list logo