Re: [OT] Tomcat, JAAS and Kerberos

2005-08-12 Thread Wendy Smoak
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--

Using Security Filter with JDBCRealm questions

2005-08-12 Thread C.F. Scheidecker Antunes
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

Re: [OT] Tomcat, JAAS and Kerberos

2005-08-12 Thread C.F. Scheidecker Antunes
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

Re: [OT] Tomcat, JAAS and Kerberos

2005-08-12 Thread netsql
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

[OT] Tomcat, JAAS and Kerberos

2005-08-12 Thread Wendy Smoak
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

Re: accessing a collection

2005-08-12 Thread Dave Newton
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

accessing a collection

2005-08-12 Thread Johnson, Kaerstin
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

Validation Rules method not found

2005-08-12 Thread Doug Thomas
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

Reload or Update tiles.xml at runtime

2005-08-12 Thread udokrass
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

Re: [OT] Struts and XML - Any stories to tell?

2005-08-12 Thread Michael Jouravlev
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

Tomcat 5 issue

2005-08-12 Thread Duane Rosengartner
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

[OT] Struts and XML - Any stories to tell?

2005-08-12 Thread Ted Husted
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

Re: [Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread Laurie Harper
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

Re: editing rows

2005-08-12 Thread Laurie Harper
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

RE: Struts Plug-in on Tomcat

2005-08-12 Thread Shabada, Gnaneshwer
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

Re: valuator newbie

2005-08-12 Thread David McReynolds
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)

Re: [Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread temp temp
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

Re: Struts Plug-in on Tomcat

2005-08-12 Thread Laurie Harper
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

Re: [Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread Laurie Harper
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

RE: [OT] : Web App Caching

2005-08-12 Thread Paranj, Bala
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

Configuration Question "Struts/webserver"

2005-08-12 Thread Scott Purcell
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

Re: Modularizing struts-config.xml

2005-08-12 Thread Joe Germuska
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

Re: editing rows

2005-08-12 Thread Valiveti, Kalyan \(KeyPeople Resources Inc.\)
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-

Re: [OT] : Web App Caching

2005-08-12 Thread Martin Gainty
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

Re: JAAS vs JDBRealm

2005-08-12 Thread Wendy Smoak
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?

Modularizing struts-config.xml

2005-08-12 Thread Lance Semmens
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

Re: editing rows

2005-08-12 Thread Laurie Harper
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

Re: [FRIDAY] Link to "Don't use Struts" ;-)

2005-08-12 Thread Woodchuck
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

Struts Plug-in on Tomcat

2005-08-12 Thread Shabada, Gnaneshwer
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

[Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread temp temp
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

Re: [OT] : Web App Caching

2005-08-12 Thread Ed Griebel
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

RE: [OT] : Web App Caching

2005-08-12 Thread Paranj, Bala
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

RE: [OT] : Web App Caching

2005-08-12 Thread Marsh-Bourdon, Christopher
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

Re: [OT] : Web App Caching

2005-08-12 Thread Swapnil Patil
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

[OT] : Web App Caching

2005-08-12 Thread Paranj, Bala
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

[FRIDAY] Link to "Don't use Struts" ;-)

2005-08-12 Thread netsql
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

RE: Use to write special characters?

2005-08-12 Thread Thai Dang Vu
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

RE: Use to write special characters?

2005-08-12 Thread Chatzinikos, Fotis, VF-GR Consultant
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:

RE: Limit length of select box value displayed

2005-08-12 Thread Cadariu, Mihai
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

Limit length of select box value displayed

2005-08-12 Thread Antony Paul
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/ -

RE: JAAS vs JDBRealm

2005-08-12 Thread Mark Benussi
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