RE: Tomcat/Struts - DB Conn Pooling

2002-08-22 Thread Jonas Björnerstedt
I found the Tomcat documentation very helpful: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html With a little bit of cut and paste, I added pooling to the struts-blank application (v1.1) www.bjornerstedt.org/download/Dbtest.zip My idea was to add an Action

Re: Container-managed authentication not possible

2002-08-22 Thread Max Cooper
Craig, True indeed, and I have info about that on the project home page. SecurityFilter does not work with EJBs. I am looking into making it work, but your application code would have to pass the Principal into the call programmatically (and thus would not be the same as it would be for

Re: Problem with Proxy Pass

2002-08-22 Thread Adrian Brown
Just following up on myself, if you like, a better way to get the init parameters would be through setting up config parameters by putting the following under the web-app element in your web.xml: context-param param-nameuseAlternateServerName/param-name param-valuetrue/param-value

action mapping error (2nd post)

2002-08-22 Thread Frederic Barozzi
re Hi, i done the following intallations: - sdk 1.4 - j2ee 1.3.1 - Tomcat 4.0.4 - Struts 1.0.2 - Eclipse 2.0 - Tomcat eclipse plugin - Easy struts eclipse plugin - struts config file editor. I made a simple application, that asks for a login and a passsword. - I launch tomcat - I launch my web

Re: Container-managed authentication not possible

2002-08-22 Thread Craig R. McClanahan
On Wed, 21 Aug 2002, Max Cooper wrote: Date: Wed, 21 Aug 2002 23:49:12 -0700 From: Max Cooper [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Container-managed authentication not possible Craig, True indeed,

RE: struts and OSWorkflow

2002-08-22 Thread Ilanit Simantov
Hi Rana, Can't help you with your question, however I'm looking for more documents regarding struts workflow extension and I found only their one page link at the site, i.e. http://jakarta.apache.org/struts/proposals/workflow.html where can I get more information about their new concept of flow.

Re: action mapping error (2nd post)

2002-08-22 Thread Adrian Brown
Hi Frederic, Usually when I get this error it means something is amiss in the web.xml file, either it cannot be parsed because of unexpected elements or cannot be found at all. Check the output from the console where you started tomcat from, it should give you some clues. Adrian --- Frederic

RE : Specifying roles for actions

2002-08-22 Thread Michael
You will most likely want to use a security-constraint and an auth-method in your web.xml file if you want the container to authenticate users automatically. The roles attribute in struts-config.xml lets you impose additional restrictions above and beyond whatever is set up in web.xml, but

[ANNOUNCE] Easy Struts Editor 0.5 for Eclipse

2002-08-22 Thread emmanuel.boudrant
Hello, Easy Struts 0.5.0 just released. This version is ONLY for Eclipse users. The most important change is now, an struts-config.xml editor for Eclipse. NOTE : This editor only support struts 1.1 config files. Changes log: - [NEW] struts-config.xml editor added for Eclipse,

RE: Any way to use the toolTips within struts html tags?

2002-08-22 Thread Gilles . Vandaele
I'm just searching for a cross-browser implementation of the tool tips I think that the TITLE attribute (http://www.w3.org/TR/REC-html40/struct/global.html#adef-title) is the most suitable (because he is defined on to most html elements) to be used as container for the text to be displayed by a

Re: Specifying roles for actions

2002-08-22 Thread Max Cooper
Michael, Have you tried accessing /test1.jsp first to get authenticated? The 400 error indicates that the resource was not found. 403 is the error code for not authorized. I have noticed that you can get 400 errors if there is a FileNotFoundException thrown while handling the request, even if

Re: Bean of scope request missing in link

2002-08-22 Thread Adolfo Miguelez
Hi Miguel Angel, I response you in English to share the answer with anyone. After JSP compilation it becomes in an HTML which is sent to the browser client. Once in the client, how can the HTML hold a bean? The bean is supposed in the JSP compilation by the JSP engine but produced HTML cannot

Re: Problems with Checkbox

2002-08-22 Thread Karim Saloojee
Hi Since you say it works with multiple checkboxes but not one it might be related to the way Javascript treats a single checkbox. I don't think you can treat one checkbox as an array and test it as such. Print out the value of cartonquery.cartonselect.length with one checkbox and you will see

Re: Container-managed authentication not possible

2002-08-22 Thread Max Cooper
Thanks for the info, Craig. It looks like SecurityFilter won't work with EJB apps, now or in the future, with current server implementations. My feedback about what I find lacking in current container managed security are these items: 1) The inability to submit unsolicited login requests (when

RE : Specifying roles for actions

2002-08-22 Thread Michael
You might need to make the request for /login.do (rather than simply /login) depending on how your ActionServlet is mapped. You were right on the money! I changed the form to post to login.do and now it works, but only if I'm already authenticated! If I haven't already authenticated, then I

RE: Bean of scope request missing in link

2002-08-22 Thread Miguel Angel Mulero Martinez
I know HTML can't save beans (ActionForm in this case). I have see that Struts don't reuse my ActionForm, it creates a new ActionForm, puts the values of the HTML form, and deletes the old. My problem in this case is that if I put a link, it can't put any values in the ActionForm, so it erases

Re: [ANNOUNCE] Easy Struts Editor 0.5 for Eclipse

2002-08-22 Thread João Cerdeira
Thnaks for this great JOB Eclipse is good struts also the 2 together is 'magnifiq' be cool -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Losing my sanity: 1.1b Validator problems

2002-08-22 Thread Ralf Lorenz
I inserted the javascript-tag and all I got in the html-file was : // End -- /SCRIPT All my validations are in this XML-file: form-validation !-- == Global Validation Definitions == -- formset form name=loginForm field

Re: Specifying roles for actions

2002-08-22 Thread Max Cooper
Michael, I am glad you got it working. I am not sure how much value the roles attribute for an action has if it can't invoke the authentication sequence (i.e. send you to the login page, and get you back to your original request). It seems you would have to duplicate the I assumed

Re: Losing my sanity: 1.1b Validator problems

2002-08-22 Thread Amit Badheka
Hi Ralf, try this, it should work - plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames value=/WEB-INF/conf/validator-rules.xml,/WEB-INF/conf/validator.xml/ /plug-in in struts1.1b2 , multiple declaration of set-property is not allowed. Amit.

RE: Bean of scope request missing in link

2002-08-22 Thread Miguel Angel Mulero Martinez
Yes, this works more or less well. The bean is still alive but I had have to duplicate the Action definition in the struts-config.xml, to indicate that these Action don't have any ActionForm associated. In this way works well, Struts don't delete the old bean. Thanks!! -Mensaje

solution for the missing refresh of ActionForm using checkboxes

2002-08-22 Thread van Nuffel, Marc
problem : a unchecked CheckBox doesent get unchecked after formSubmit.. problem description: if you uncheck a CheckBox that was checked, after submiting the form, it remains checked, because the browser doesent post data from unchecked CheckBoxes. so the ActionForm-setterMethod doesent get

Anybody knows or use IntelliJIDEA?

2002-08-22 Thread Sutiwan Kariya
Hi, Anybody knows or use IntelliJ to develop Java family? Is it good ? Any comment about it? I've tried to browse www.intellij.com but the website seems have the problem, I could not go to that web site! Sutiwan W. This

Anybody knows or uses IntelliJIDEA?

2002-08-22 Thread Sutiwan Kariya
Hi, Anybody knows or uses IntelliJ to develop Java family? How is it ? Any comment about it? I've tried to browse www.intellij.com but the website seems have the problem, I could not go to that web site! Sutiwan W. This

Re: Anybody knows or uses IntelliJIDEA?

2002-08-22 Thread Kevin Viet
I have tried it, it's really a great IDE, with a lot of functionnalities, pretty cool to use , and I think it's the sexiest IDE Le jeu 22/08/2002 à 12:53, Sutiwan Kariya a écrit : Hi, Anybody knows or uses IntelliJ to develop Java family? How is it ? Any comment about it? I've tried to

Nested tags: why not default

2002-08-22 Thread Robert Taylor
Arron, thanks for the nested tag library, cool stuff! I was wondering why the nested logic wouldn't be the default if a tag's name property was not specified; or at the very least, why not just add a nested=true attribute if you wanted to nested functionality to any of the existing tags and the

RE : Anybody knows or use IntelliJIDEA?

2002-08-22 Thread Michael
Hi, Anybody knows or use IntelliJ to develop Java family? Is it good ? Any comment about it? I've tried to browse www.intellij.com but the website seems have the problem, I could not go to that web site! I just got finished evaluating it. I really liked it but now I'm playing with

Anybody knows or uses IntelliJIDEA

2002-08-22 Thread Sutiwan Kariya
Hi, Anybody knows or uses IntelliJ to develop Java family? Is it good ? Any comment about it? I've tried to browse www.intellij.com but the website seems have the problem, I could not reach that web site! Sutiwan W. This

Re: Losing my sanity: 1.1b Validator problems

2002-08-22 Thread Ralf Lorenz
thanks Amit, that's the problem. it's allways such a little thing. Ralf - Original Message - From: Amit Badheka [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, August 22, 2002 11:32 AM Subject: Re: Losing my sanity: 1.1b Validator problems Hi Ralf,

Struts Application as Portlet

2002-08-22 Thread Manfred Gerber
Has anybody tried to recycle a struts application to be used as portlet within a Portlet Server like IBM Portal Server or Apache JetSpeed? Cheers, Manfred __ Multimedia Messaging ist da! Die Zukunft des Messaging hat begonnen.

RE: Problems with Checkbox

2002-08-22 Thread Susmita Pati
Sorry while doing a cut paste of my code to the maili didnt check out ... This is the code which is giving me problems... function checker() { var choices = 0; var type = confirm(Are you sure you want to preview the Carton Details?); if (type) { for (counter

Re: Anybody knows or uses IntelliJIDEA

2002-08-22 Thread James Holmes
The Struts Console now plugs into IntelliJ IDEA for seemless Struts development inside the IDE. Struts Console: http://www.jamesholmes.com/struts/ -james [EMAIL PROTECTED] --- Sutiwan Kariya [EMAIL PROTECTED] wrote: Hi, Anybody knows or uses IntelliJ to develop Java family? Is it good ?

RE: Problems with Checkbox

2002-08-22 Thread Susmita Pati
yes i get the value of cartonquery.cartonselect.length as 'undefined' Got it... Thanks -Original Message- From: Karim Saloojee [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 22, 2002 4:17 AM To: Struts Users Mailing List Subject: Re: Problems with Checkbox Hi Since you say it

Re: Classloader issue with Weblogic 6.1sp3

2002-08-22 Thread chuckcavaness
Are you using any type of XML parser in your extensions? I was just thinking about something I read on the BEA site? Chuck I'm having a problem deploying an application on Weblogic(WL) 6.1sp3, using Struts, and extending MessageResourcesFactory and MessageResources in my webapp. I found a

Struts Power Points

2002-08-22 Thread Gus Delgado
Any good power point presentations out there for an intro to Struts? I'm doing a presentation on it soon, I would like to see if there any good one out there already. Thanks. -Gus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Struts Power Points

2002-08-22 Thread James Holmes
Check the Resources section of Struts website. There has been more than one presentation floating around. I'd also search the mailing list archives. -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Gus Delgado [EMAIL PROTECTED] wrote: Any good power point presentations out

RE: Anybody knows or uses IntelliJIDEA

2002-08-22 Thread Sri Sankaran
curmudgeon As if it weren't bad enough that this has nothing to do with Struts you bombard this list repeatedly with the same messageLet's keep that to Fridays shall we? /curmudgeon -Original Message- From: Sutiwan Kariya [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 22, 2002

Re: Classloader issue with Weblogic 6.1sp3

2002-08-22 Thread Daniel Jaffa
I have had similar problems with weblogic and the way that the classloader acts. I have been told that 7.0 fixes all the problems, and that when 7.1 comes out that we are going to switch over to it. (this info was gotten from a little BEA birdie) (by the way the way that 5.1 handled class

Struts Token

2002-08-22 Thread Ricardo de Souza Moura
Did Anybody still use the token to transaction with Struts ? Could me show a basic sample Thanks !!! _ Converse com seus amigos online, faça o download grátis do MSN Messenger: http://messenger.msn.com.br -- To

Problemas with path attribute

2002-08-22 Thread Daniel H. F. e Silva
Hi all, I sent this question last week, but until now i didn't receive any reply. So i'll do it again. My question is: I'd like to know why occurs an exception when i use path attributes like this one: path=/jsp/template.jsp?pageMenu=/jsp/menu.jsppageContent=/jsp/content.jsp Looking at

RE: Anybody knows or use IntelliJIDEA?

2002-08-22 Thread Tahir Awan
It used to be *The-Best* from refactoring perspective but other IDEs are catching up now. Eclipse for one have almost all the features of IDEA (and is free). /t -Original Message- From: Sutiwan Kariya [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 22, 2002 6:32 AM To: [EMAIL

RE: Classloader issue with Weblogic 6.1sp3

2002-08-22 Thread Bravo, Kris X
No XML parsers here. And I'm doing the JNDI lookups and Home caching in another object, which is itself loading just fine. It's interesting to learn there may be an issue with that as well though. Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

Re: :struts with Jbuilder6

2002-08-22 Thread congzhebin
go to struts's resource or tutorial page(i in jakarta.apache.org),there are articles that how to binding the jb5 and struts,the jb6 is the same - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, August 22, 2002 9:50 AM

RE: Classloader issue with Weblogic 6.1sp3

2002-08-22 Thread Bravo, Kris X
Could you give me some specifics about your problem as well? I'm really interested in learning more about the cause of my problems, and knowing your angle on it might help. Thanks for the feedback. -Original Message- From: Daniel Jaffa [mailto:[EMAIL PROTECTED]] Sent: Thursday, August

Struts and Large ResultSet

2002-08-22 Thread Ashish Kulkarni
Hi, Has any one handled lasgre result set using struts, like my sql query returns ablut 100,000 records but i want to show only 20 records per page, and then when the user clicks next, want to show the next 20 .. A$HI$H - Do You Yahoo!? HotJobs, a

Re: Container-managed authentication not possible

2002-08-22 Thread Troy Hart
On Wed, 2002-08-21 at 21:31, Craig R. McClanahan wrote: On Wed, 21 Aug 2002, Max Cooper wrote: Date: Wed, 21 Aug 2002 13:07:47 -0700 From: Max Cooper [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED],

Re: Struts and Large ResultSet

2002-08-22 Thread John Owen
Irregardless of struts, I would suggest storing the ResultSet in an object and then maniuplating the bean (for viewing) through an Action class. I typically store data from a ResultSet in an object and put the object into a collection such as an ArrayList. Hope this helps, John - Original

Re: Struts and Large ResultSet

2002-08-22 Thread David Graham
This might help http://developer.java.sun.com/developer/restricted/patterns/ValueListHandler.html Hi, Has any one handled lasgre result set using struts, like my sql query returns ablut 100,000 records but i want to show only 20 records per page, and then when the user clicks next, want to

RE: Struts Token

2002-08-22 Thread James Mitchell
There is an example in the struts-example.war that ships with the framework. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL

Help needed

2002-08-22 Thread Richard Stevens
Hi, I'm a little lost and I'm searching for documentation. I've been fiddeling around with struts for quite some time now but I always get lost trying to access the Struts form from my JSP's java context. I found out, that I can access for example the counter in an iteration created with

RE: Struts and Large ResultSet

2002-08-22 Thread Nail, Evan Burke
I once brought back 100,000 rows and made my users page through them 20 at a time. It was somewhere between the 4500 and 4501 time the user was clicking next that we went bankrupt. Some blame this and not the corruption for the fall :) Just FYI, Burke -Original Message- From:

Re: Struts and Large ResultSet

2002-08-22 Thread Ashish Kulkarni
Hi do u keep this Object in the user session??? if so, how does it affect the perforamce?? Ashish John Owen wrote:Irregardless of struts, I would suggest storing the ResultSet in an object and then maniuplating the bean (for viewing) through an Action class. I typically store data from a

Re: Classloader issue with Weblogic 6.1sp3

2002-08-22 Thread Daniel Jaffa
My angle has been to be very upset with the classloader with weblogic. I currently do not deploy my apps as EAR's or WARS becasue of the classloader issue. I Know of a company that spent 10K - 20K on fixing these issues with a BEA consultant. So what i normally do is deploy my app unwarred and

How to do this in struts

2002-08-22 Thread Ashish Kulkarni
Hi, I have textfield on first page, user enters a name there, then i have to go to database, get all the info about this name and load it on a jsp page, how can i do it using struts??? Suppose i will call the Action class which will get the data from database and populate ActionForm, how