From: "netsql" <[EMAIL PROTECTED]>
JAAS I think acts a bit like a filter, it just gets called. In your
web-xml you tell it what url you want secured and somehow map how the
users see it. Bea site has a good doc on web.xml.
I'm okay with web.xml, it's configuring the Realm that I'm stuck on--
Hello all,
This is my attempt on using SecurityFilter + JDBCRealm for
Authenticating a Struts Application.
If it works, I will post a simple howto to help other folks with the
same difficulties on my school webpage.
So I appreciate all the input, opinions and help that anyone can give me
on th
Wendy,
Check out this article on JAAS with LDAP. I am sure that it might not be
as hard to use Kerberos. I've seen an example of the userClassNames and
roleClassNames somewhere this week. Let me see if I find it and I will
forward it to you.
The article on JAAS is at:
http://www.theserversid
1st answer is I duno.
But...
JAAS I think acts a bit like a filter, it just gets called. In your
web-xml you tell it what url you want secured and somehow map how the
users see it. Bea site has a good doc on web.xml.
So I assume that when you get to the secure url, those classes fire and
see
As I mentioned earlier today, we've licensed a (Struts-based, so I'm not
*entirely* off topic) third-party webapp that comes pre-configured to do
LDAP authentication. We, of course, do not have LDAP. We have Kerberos.
Easy enough, I thought... surely there's a KerberosRealm I can configure and
Johnson, Kaerstin wrote:
I have some code that access a collection from the bean using
request.getAttribute(myAttributeName);
I'd like to access it using the form directly or jstl and then iterate
over it.
Whats the bets way to do this?
Don't forget the JSP taglib directive and
I have some code that access a collection from the bean using
request.getAttribute(myAttributeName);
I'd like to access it using the form directly or jstl and then iterate
over it.
Whats the bets way to do this?
-
To unsubs
While implementing struts validation for the first time (yup - I'm a
newbie), I received a NoSuchMethodException during runtime. The exact error
on the console log was:
[8/12/05 12:49:19:062 EDT] 0042 Validator E TRAS0014I: The
following exception was logged java.lang.NoSuchMethodExcepti
Hi,
how can i reload the tiles.xml?
When i touch the web.xml, the whole Webapplication will be reloaded, so the
tiles.xml will be reloaded!
But this isnt very useable.
How can i reload the tiles.xml without touching the web.xml and with Java-Code?
Thanks for any advice!
Udo Krass
1 Million Sing
On 8/12/05, Ted Husted <[EMAIL PROTECTED]> wrote:
> A colleague is looking to add VoiceXML capabilities to their Struts
> consumer-to-business application.
>
> I don't see any prior references to VoiceXML in the archives, just
> this one aside:
>
> * http://www.mail-archive.com/user@struts.apache
I need to know if Tomcat has a request timeout that can be configured.
Looking into the server.xml, I see timeouts related to database
connections, and session, and something called tcpSelectorTimeout
I have a wierd scenario:
Typically, logging massive amounts of data will overburden memory usage
A colleague is looking to add VoiceXML capabilities to their Struts
consumer-to-business application.
I don't see any prior references to VoiceXML in the archives, just
this one aside:
* http://www.mail-archive.com/user@struts.apache.org/msg30556.html
I wonder if anyone here has any VoiceXML bes
Do you get the same problem submitting over http instead of https? If so,
you can use a packet sniffer to see what's actually being submitted to
figure out what IE's doing wrong. Otherwise you could try writing a filter
to dump the raw request (the filter would need to keep a copy of the
reques
Of course, if you're happy to push all the data for each row out to the
browser in the page. Just include all the data for the row you want to edit
in the request to edit it and construct your edit page accordingly. You'll
still need a database hit to save the data, of course.
Bear in mind tha
Does it matter if I create my WAR file from WSAD environment? My plugin
class just queries the database for a set of results and cache them. Nothing
complex. Atleast if I fail going to the database I should see my log
statements in the log files. Right? See my plugin config code in my
struts-confi
My app is throwing a method not found exception. I've run it through
the debugger and verified. The code snippet below is from commons
ValidatorAction. It blows up on the getMethod call.
private void loadValidationMethod() throws ValidatorException {
if (this.validationMethod != null)
Yes I have multipart/form-data in my jsp .
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> What does your tag look like? Are you sure
> you've specified
> method="POST" and enctype="multipart/form-data"?
>
> L.
>
> temp temp wrote:
>
> >
> >
> >
> >
> >I am using jakarta commo
Shabada, Gnaneshwer wrote:
Is there any chance that Struts Plug-in class wouldn't work on Tomcat 5.5.9
server? I have a web application where I wrote a Plugin to cache my results
prior to the page display. I want to run this plug-in during server startup.
I configured my struts-config.xml accordi
What does your tag look like? Are you sure you've specified
method="POST" and enctype="multipart/form-data"?
L.
temp temp wrote:
I am using jakarta commons fileupload to upload a
file . It worked fine with Internet explorer and
netscape navigator with http protocol.
I configured
I like the CacheFilter of OpenSymphony. That will be good enough for my
needs. Thanks a lot.
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Friday, August 12, 2005 11:56 AM
To: Struts Users Mailing List
Subject: Re: [OT] : Web App Caching
Ditto
check it out at
Hello,
I created struts appliction on a local box calling it like so:
http://localhost/unique/welcome.do
and so on. I used all struts:html tags in order to handle the context
("unique"). Even my images use the . so I could show the
client.
I really do not know what is going on, bu
At 4:41 PM +0100 8/12/05, Lance Semmens wrote:
Is there any way to break up struts-config.xml into multiple xml files?
I'd like to be able to logically group my form and action mappings in
separate files.
Yes, you can use any number of struts-config files; there is a
servlet init parameter whi
Laurie,
I am also looking into similar thing. Doesn't that call for an extra
database hit. What if the row contains all the possible values that are
to be displayed on the edit page? Is there a way I can just send the
entire row-object instead of the primary key/id?
-Original Message-
Ditto
check it out at http://www.opensymphony.com/oscache/
Martin-
- Original Message -
From: "Ed Griebel" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, August 12, 2005 10:42 AM
Subject: Re: [OT] : Web App Caching
I haven't used it in this capacity, but OSCache
From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]>
In order to have the same kind of login functionality within Struts, that
is 2 tables for Users and Roles could I just configure JDBCRealm this same
way? Why would I bother using something like JAAS where I have to
configure the JVM as well?
Is there any way to break up struts-config.xml into multiple xml files?
I'd like to be able to logically group my form and action mappings in
separate files.
Lance Semmens
Software Engineer
Swebtec
12 Hurlingham Business Park
Sulivan Road
London SW6 3DU
Tel: 0207 471 8121
Balkan Guler wrote:
There are some tables in database and I have to transfer them to the web
pages.
Also they can be deleted and edited.
I am using Struts.
I populate a list of objects from tables.
And put this list in a formbean
and list them in a web page as below:
I want to make all
if ppl think struts is xml hell, then they won't like xslt or other
more xml-based technologies. the amount of xml required in struts is
not the worst.
woodchuck
--- netsql <[EMAIL PROTECTED]> wrote:
> http://jroller.com/page/RickHigh?entry=don_t_use_struts_on1
>
> I think it funny. Be basicly
Is there any chance that Struts Plug-in class wouldn't work on Tomcat 5.5.9
server? I have a web application where I wrote a Plugin to cache my results
prior to the page display. I want to run this plug-in during server startup.
I configured my struts-config.xml accordingly. Apparently, the same c
I am using jakarta commons fileupload to upload a
file . It worked fine with Internet explorer and
netscape navigator with http protocol.
I configured my server to use https protocol. I
tried to upload a file it worked fine with netscape
but did not work with internet explorer. I am
I haven't used it in this capacity, but OSCache from opensymphony.com
supports web page caching.
-ed
On 8/12/05, Paranj, Bala <[EMAIL PROTECTED]> wrote:
> To be more specific I am currenlty looking at the web-tier caching,
> something that will cache the jsp pages. Thanks.
>
> -Original Mess
To be more specific I am currenlty looking at the web-tier caching,
something that will cache the jsp pages. Thanks.
-Original Message-
From: Swapnil Patil [mailto:[EMAIL PROTECTED]
Sent: Friday, August 12, 2005 10:25 AM
To: Struts Users Mailing List
Subject: Re: [OT] : Web App Caching
I'd back that up, HSQL is definitely worth a look. Just ensure that you
choose your mode carefully.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Swapnil Patil [mailto:[EMAIL PROTECTED]
Sent: 12 August 2005 15:25
To: Struts Users Mailing List
Subject: Re: [O
Hi Paranj,
You can consider Hsql DB. Its free and has 2-3 modes.
On 8/12/05, Paranj, Bala <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Could someone share their views on the web application caching solutions
> available? Preferably open source :-) The requirement is for a site that
> has a component
Hi,
Could someone share their views on the web application caching solutions
available? Preferably open source :-) The requirement is for a site that
has a component which is read-only most of the time. The frequency of
update is of the order of many hours.
Thanks,
Bala Paranj
http://jroller.com/page/RickHigh?entry=don_t_use_struts_on1
I think it funny. Be basicly says use anything but Struts.
Anyday now, we will find a good excuse why it's # 1.
I read someplace: "They chose Struts becuase they already had it, otherwise
they would have used XYZ. But when we a new pro
Oh! Thank you so much. At first, I thought the filter attribute of the bean tag
is used to filter HTML tags, so I didn't give it a try.
>>> [EMAIL PROTECTED] 8/12/2005 4:57:22 AM >>>
I think that if you do your
problems will disappear :-).
Cheers,
Fotis
PS: A bit clearer : make sure that you t
I think that if you do your
problems will disappear :-).
Cheers,
Fotis
PS: A bit clearer : make sure that you type filter="false" inside your
tag
-Original Message-
From: Thai Dang Vu [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 11, 2005 11:34 PM
To: user@struts.apache.org
Subject:
You could restrict the length of the label at generation time, in the JSP.
Conversely you can use the CSS 'width' property on the SELECT tag to set a
desired width.
However, I don't think Struts can help in this problem.
Mihai
-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTE
Hi,
I want to limit the length of the label value displayed in a
select box. Is it possible to do with Struts. What are the other
options.
I am using Struts 1.2.7.
--
rgds
Antony Paul
http://www.geocities.com/antonypaul24/
-
Definitely go for JDBCRealm if you can. The only thing you may need to
support is login bad username password messages in struts. No idea how you
do that in JDBCRealm.
The JAAS LoginContext isn't properly supported in Tomcat.
-Original Message-
From: C.F. Scheidecker Antunes [mailto:[EMAI
41 matches
Mail list logo