--- Begin Message ---
Hi,
You need to use the some LDAP api to query/update with LDAP. Struts
doesn't have any api for this purpose.
Sun has its own api to interact with LDAP. Search for LDAP api in
internet, you will get what you want.
Regards
Kathir.
On Fri, 2006-01-20 at 15:47 -0500, Priya Saloni wrote:
> Hi There,
>
> As per the requirement in my project i need to access(Query and update) LDAP
> from my web application.Is there any way to do this using Struts??Any other
> suggestions and advices are highly appreciable.
JNDI is the de facto
On 1/20/06, Paul Benedict <[EMAIL PROTECTED]> wrote:
> Laurie,
>
> I thought I saw a version of dispatchaction that could handle this. The
> parameter attribute
> contained a comma-delimited list of possible names and thus methods which
> could be invoked for the
> particular action. Do you remem
Laurie,
I thought I saw a version of dispatchaction that could handle this. The
parameter attribute
contained a comma-delimited list of possible names and thus methods which could
be invoked for the
particular action. Do you remember this proposal?
Paul
http://struts.apache.org/struts-taglib/tlddoc/html/messages.html
L.
Thomas Garben wrote:
Niall,
Thanks for the hint.
Did you mean "Niall Pemberton" <[EMAIL PROTECTED]>
01/20/2006 10:58 AM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
Subject
Re: Valid
Paul Benedict wrote:
What's the best way to accomplish this? I really dislike using the button text
to find the correct
dispatch so I don't want to use LookupDispatchAction. Is there another way,
such as using the
button's name to invoke the correct method? I thought I saw such a proposal in
t
In your preceeding example code, it didn't work because you were calling
it a a locally created form, not the one that the JSP saw. If you call
it on the form Struts passes into your action, it should work fine.
L.
Thibaut wrote:
ok I understand
but why "form.set("partner_id",secteurDefault);
What's the best way to accomplish this? I really dislike using the button text
to find the correct
dispatch so I don't want to use LookupDispatchAction. Is there another way,
such as using the
button's name to invoke the correct method? I thought I saw such a proposal in
the API docs but I
can n
On 1/20/06, Adam B <[EMAIL PROTECTED]> wrote:
> My goal is to create a web page in my Stuts webapp with links to download
> any file in the Tomcat/logs directory.
http://wiki.apache.org/struts/StrutsFileDownload
-
To unsubscribe,
My goal is to create a web page in my Stuts webapp with links to download
any file in the Tomcat/logs directory. I am able to do this using a my
getFile.do action:
catalina.out
stdout.log
The problem is that when the user clicks this link the browser wants to
download the file as "getFile.do" be
On 1/20/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Rick Reumann wrote:
> > "Wicket is all about simplicity. There are no configuration files to
> > learn in Wicket. Wicket is a simple class library with a consistent
> > approach to component structure. In Wicket, your web applications will
On 1/20/06, Jason King <[EMAIL PROTECTED]> wrote:
> I looked at it also. The idea seems good, but I didn't see any fancy UI
> like grids or treeviews. As somebody at a bigger shop the separation of
> concerns appeals to me, but if I have to create all the interesting
> components myself I think I
On 1/20/06, David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
>
> When I create a button I would like for the value="add" to always have the
> text add - for my programming that uses that value to determine which button
> was pressed.
>
> However, I want the displayed text to come from a resource so i
... you are always seen with a coffee cup and people start handing you
Dilbert clippings
-Original Message-
From: Emmanouil Batsis [mailto:[EMAIL PROTECTED]
Sent: Friday, January 20, 2006 7:46 AM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] You might be a Wally if ...
David Delbec
Rick Reumann wrote:
Nick's comment on here about a week ago got me to at least look at
Wicket. http://wicket.sourceforge.net/ Has anyone actually used it
for a real-world application? I'd be curious on your thoughts.
I looked at Wicket quite a bit too, having heard a lot of good things
about
Hi;
When I create a button I would like for the value="add" to always have the
text add - for my programming that uses that value to determine which button
was pressed.
However, I want the displayed text to come from a resource so it is
localized. Is there a way to do this? It appears that
I looked at it also. The idea seems good, but I didn't see any fancy UI
like grids or treeviews. As somebody at a bigger shop the separation of
concerns appeals to me, but if I have to create all the interesting
components myself I think I'll do JSF instead.
Hello
LDAP is outside the scope of struts
a couple ideas from the top of my head:
1 JDBC-LDAP, from www.openldap.org. Possibly can be used as a
datasource.
2 The LDAP api from netscape/mozilla www.mozilla.org/directory/
3 There is also the jndi from sun...
On Jan 20, 2006, at 4:46 PM, Pri
I believe this is handled at the J2EE server level.
Shawn
-Original Message-
From: Priya Saloni [mailto:[EMAIL PROTECTED]
Sent: Friday, January 20, 2006 2:47 PM
To: Struts Users Mailing List
Subject: [OT]Query and update LDAP
Hi There,
As per the requirement in my project i need to acc
Hi There,
As per the requirement in my project i need to access(Query and update) LDAP
from my web application.Is there any way to do this using Struts??Any other
suggestions and advices are highly appreciable.
Thanks
Priya
Hi There,
As per the requirement in my project i need to access(Query and update) LDAP
from my web application.Is there any way to do this using Struts??Any other
suggestions and advices are highly appreciable.
Thanks
Proya
Nick's comment on here about a week ago got me to at least look at
Wicket. http://wicket.sourceforge.net/ Has anyone actually used it
for a real-world application? I'd be curious on your thoughts.
So far, with my limited two days of looking over the examples and
example code, I'm not so sure of
Niall,
Thanks for the hint.
Did you mean
01/20/2006 10:58 AM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
Subject
Re: Validation Asterisk
*
Niall
- Original Message -
From: "Thomas Garben" <[EMAIL PROTECTED]>
To:
Sent: Friday, January 20,
How are you certain the validation.xml isn't being called? Log the
ActionErrors stuff in the try block after the call to
validator.validate()
Actually I think the easiest is to just validate what you need
manually and then I think you should just be able to do:
super.validate(mapping, request);
Legolas Woodland wrote:
can you please let me know the Netcraft url ?
In their last post feedback Program people said that it is running on
sun.
so it would be good to know that , whether they are true or not .
http://toolbar.netcraft.com/site_report?url=http://feedbackprograms.sun.com
And t
I don't find this to be terribly important... lots of companies that make
certain products don't use their own for one reason or another. It's
always nice to "eat your own dog food", but sometimes there are very
legitimate reasons for not doing so. It could simply be that they haven't
gotten arou
Bahadır Yağan wrote:
Legolas Woodland wrote:
Who told you this ?
The server is running on solaris and in SUN hardware.
there is not .net crap in sun site.
There is aspx extention on some pages and netcraft says it is Windows
2003. I am not talking about sun.com. I am talking about
*https://f
Legolas Woodland wrote:
Who told you this ?
The server is running on solaris and in SUN hardware.
there is not .net crap in sun site.
There is aspx extention on some pages and netcraft says it is Windows
2003. I am not talking about sun.com. I am talking about
*https://feedbackprograms.sun.co
Bahadır Yağan wrote:
I may be wrong but I think *feedbackprograms.sun.com *uses ASPX on a
windows 2003 server. Isn't something wrong with this situation? I
mean, I use this site to submit my feedbacks about "Sun Java Studio
Creator 2 Early Access", which is promoted with its JSF features. And
Thanks Rick! You spotted it correct...It now executes the validate
function of the form :-)
Now I move onto second step. I cut paste the code that you sent in the
action form's validate function. Now the problem is that
validation.xml is not having any effect.
Just to paste back the exact code I
I have a struts application that is using tiles and weblogic. When I try
to use a multipart form I get the Servlet Exception listed below. I think
I have traced it down to the UrlController class. The execute method
creates a RequestDispatcher and tries to call the include method. The
reque
I may be wrong but I think *feedbackprograms.sun.com *uses ASPX on a
windows 2003 server. Isn't something wrong with this situation? I mean,
I use this site to submit my feedbacks about "Sun Java Studio Creator 2
Early Access", which is promoted with its JSF features. And a site
related with th
Oh great, I have a Mac, so I *have* to work! Boo hoo!
(Well, actually I have a day off today! :-)
Simon
On 1/20/06, David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
>
>
>
> For those that want something other than work to do today -
> http://www.windwardreports.com/enemy_nations.htm
>
>
>
> - dav
David Thielen wrote:
> 3) I need to have a method called when the servlet first loads. Is a
> listener the best way to do this?
>
What servlet?
> 4) When using IE on an ASP application, there is a way to click on a word
> document in the browser, it brings up Word to edit the document, and when
> 4) When using IE on an ASP application, there is a way to click on a word
> document in the browser, it brings up Word to edit the document, and when
> you save the document in Word, it uploads it back to the website.
>
> a. Is there a way to do this in the J2EE world?
> b. And if not,
On 1/20/06, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
> Let me repaste what I think might be relevant for you to take a look at it:
>
> DynaActionForm code: [ Note: This is extending DynaValidatorForm ]
> ---
>
> public class StudentEnquiryDynaActionForm exten
Let me repaste what I think might be relevant for you to take a look at it:
DynaActionForm code: [ Note: This is extending DynaValidatorForm ]
---
public class StudentEnquiryDynaActionForm extends DynaValidatorForm
{
public ActionErrors validate(ActionMapping
>-- Original message --
>From: "Demetz Markus" <[EMAIL PROTECTED]>
>
> Hi!
>
> I'm trying to integrate struts-faces to my Struts applications.
>
> In the execute(...) method I put a Collection of items ("bookList") to the
> request and forward to a faces page. I wond
Richard,
try adding this to your web.xml and try hitting your default.html again.
javax.faces.DEFAULT_SUFFIX
.html
Ryan
In the Windows world, if a users uses IE to access an ASP website, and both
are on domains and they are the same domain or there is a trust relationship
between the domains, you can do the following (the joy of one company
providing the entire stack):
1. You can authenticate the user which is
Hi;
1) I want my default page to be index.do so I set the following in web.xml:
index.do
But instead I get a directory of files in my root when I go to the servlet.
I can do this which works:
index.txt
It appears it wants a file. Not an issue (see
> > You are correct that there's no current way to control the order of view
> > handler initialization. For the specific case of choosing a
> > ViewControllerMapper instance, however, use the context init parameter
> > ShaleApplicationFilter.VIEW_CONTROLLER_MAPPER (the literal value is "
> > org.a
What does your action mapping look like? Do you have validate=true set for
the form?
Mind you, I'm not a fan of using automatic validation:) I prefer to call
validate manually from my Action class. I explain my reasons here
http://www.learntechnology.net/validate-manually.do
On 1/20/06, Raghu K
Try this too:
...
When I was trying to pass in a list to a tile, I ran into a similar
problem, but I was trying to pass in the list using an EL expression in
the "value" attribute of the tiles' tag. I discovered I had
to use the "beanName" and "beanProperty" attributes which are similar
Thanks Rick for the response.
My first issue Rick is that my validate function in the form is not getting
called at all.
I have simply put a "System.out.println" statement there to verify that it
is getting called.
What you have given is definitely useful for me in the second step :-) But I
need t
*
Niall
- Original Message -
From: "Thomas Garben" <[EMAIL PROTECTED]>
To:
Sent: Friday, January 20, 2006 2:41 PM
Subject: Validation Asterisk
> Hello
> Does anyone know how to easily get an Asterisk next to a field that fails
> Struts validation?
> I know of the LabelTag by E. Hatche
Raghu Kanchustambham wrote the following on 1/20/2006 9:22 AM:
Hi,
When I want to retain validation.xml for validation of most of my fields on
the form. However, the rules for one particular field is too complex to be
done with just the validation.xml. I intend to check for it in the
validation f
David Delbecq wrote:
... you wander everyday in corridors, asking everyone around if there are any
meetings today.
...after you got into this when you delivered a pizza to the company and
someone grabbed you to take his place in a meeting. Especially if you
forgot to get paid for the piz
... you wander everyday in corridors, asking everyone around if there are any
meetings today.
Le Vendredi 20 Janvier 2006 16:05, Ted Husted a écrit :
> ... your petname for seminars and user group meetings is "naps and snacks".
>
> -Ted.
>
> --
Attendance at the NE JUG presentation of "Struts 2006: An
Embarrassment of Riches" topped 230 last Thursday. The last
presentation to draw so many attendees was "An Insiders View of
Struts" in October 2005. The New England Java Users Group
(http://www.nejug.org/) is the largest JUG in the US and se
... your petname for seminars and user group meetings is "naps and snacks".
-Ted.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello
Does anyone know how to easily get an Asterisk next to a field that fails
Struts validation?
I know of the LabelTag by E. Hatcher.
Is this the optimal way to achieve this functionality, or are there better
solutions?
Tom
Hi,
When I want to retain validation.xml for validation of most of my fields on
the form. However, the rules for one particular field is too complex to be
done with just the validation.xml. I intend to check for it in the
validation form action. What I see is that the action form's validate
functio
On 1/20/06, Sony Thomas <[EMAIL PROTECTED]> wrote:
> Is there is any way to manipulate the value of request object. I have a
> text field in my jsp called "locationName". when I use
> "request.getParamentName("locationName") in my action, I am getting the
> value entered in my jsp. While forwardin
put get/set locationName in your struts form,
in your jsp use
httpservletrequest does not have a setParameter method.
Le Vendredi 20 Janvier 2006 14:47, Sony Thomas a écrit :
> Hi,
>
> Is there is any way to manipulate the value of request object. I have a
> text field in my jsp called "locatio
As Far as I know you can't manipulate the Request object.
But what you can do is move the parameters into your own object and of
course you can manilpulate that and set it as atrribute in the request.
Bernhard
> -Ursprüngliche Nachricht-
> Von: Sony Thomas [mailto:[EMAIL PROTECTED]
> Gese
Sony Thomas wrote:
> Is there is any way to manipulate the value of request object. I have
> a text field in my jsp called "locationName". when I use
> "request.getParamentName("locationName") in my action, I am getting
> the value entered in my jsp. While forwarding from my action, if i
> want to
Hi,
Is there is any way to manipulate the value of request object. I have a
text field in my jsp called "locationName". when I use
"request.getParamentName("locationName") in my action, I am getting the
value entered in my jsp. While forwarding from my action, if i want to
reset the value
of l
FYI this problem has now been solved. When I upgraded to the latest
struts in my app I had forgotten to replace my old validation-rules.xml
with the new one. Once I made that replacement everything started
working again.
Thanks for your help,
Bart.
Bart Busschots wrote:
Thanks for your rep
Hi,
In one of my application I have a file uploading functionality and I am
using struts FormFile for achieving the same.
I am able to get the file content in the servlet and I show a
confirmation page to the user. Once the user accepts the content, I save
this file info into the database. Once
try
...
Gareth
Gary Feidt wrote:
Are you storing myList on a form?
Gary
[EMAIL PROTECTED] 1/20/2006 12:37:18 AM >>>
Hi, I am using struts taglib. I have a object like
public class myObject{
List myList;
List getList(){
return myList;
}
...
}
The myObje
Thanks for your reply Niall,
The Definition I have at the top of my validation.xml was:
Commons Validator Rules Configuration 1.0//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";>
That looks right to me and looks like it was using the 1.0 DTD which is
supposed to be shipped i
Are you storing myList on a form?
Gary
>>> [EMAIL PROTECTED] 1/20/2006 12:37:18 AM >>>
Hi, I am using struts taglib. I have a object like
public class myObject{
List myList;
List getList(){
return myList;
}
...
}
The myObject is send through aciton to the jsp. In my
j
Hi!
I'm trying to integrate struts-faces to my Struts applications.
In the execute(...) method I put a Collection of items ("bookList") to the
request and forward to a faces page. I wondered if in the faces page i could
do something like this:
Title
ok I understand
but why "form.set("partner_id",secteurDefault);" doesn't work ?
"
public ActionForward execute(..., ActionForm form,...)
{
...
form.set("partner_id",secteurDefault);
...
}
"
Where form is a DynaForm
Thank you
Laurie Harper a écrit :
Thibaut wrote:
Thank you for your quick r
Yes. reset method in my Action form was missing and hence th problem.
Thanks for your reseponse.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Thursday 19 January 2006 22:01
To: user@struts.apache.org
Subject: Re: FW: Indexed properties
Vidya (Su
The easiest way for you is to exploit the SET FOREIGN_KEY_CHECKS property. I
know this is supported by MySQL for sure. And something similar if not the
same, should be available with other databases too.
SET FOREIGN_KEY_CHECKS=0;
//script generated
SET FOREIGN_KEY_CHECKS=1;
Remember to set it
While you can do it yourself, I strongly recommend take a look at the Struts
Layout tags.
http://struts.application-servers.com/
To be specific, for the dependent combo, check
http://struts.application-servers.com/faqs/field.html#Interdependent_combo_box
It is very easy to get it up and running w
Hi,
You can do this
But it will prove costly when for each and every change in the dropdown
value you make s server call(+DB Call)
Its better that at the first instance get all this data a populate it in
a JavaScript Array.
You should be able to identify from your DB design which Tables will
co
69 matches
Mail list logo