Re: has struts reached the saturation

2006-03-14 Thread Michael Jouravlev
On 3/14/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > I'm interested in the question "why has the market leading web framework > failed to evolve fast enough and retain its position as the technically best > in its field (i.e. action orientated frameworks)?". > > IMO there are two main reasons f

Re: has struts reached the saturation

2006-03-14 Thread Frank W. Zammetti
Niall Pemberton wrote: IMO any contribution that isn't accepted is for one of three reasons 1) People don't like/agree with it or 2) no-one had the time to look at it or 3) no-one was interested in it. I can only really speak for myself, and I didn't have the time. I understand your frustration a

Re: has struts reached the saturation

2006-03-14 Thread Michael Jouravlev
On 3/14/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > When you contribute, and when you accept a position as a leader in the > community, as any Struts committer does for instance, you accept a > certain degree of responsibility to the community. "For no particular reason I just kept on going

Re: Using saveToken and isTokenValid

2006-03-14 Thread starki78
Good Morning You have written: The view is the result of the first submission anyway. I cannot reproduce this! How cas I achieve that a submit is just replaced once! And that by several clicks the others are just ignored I cannot manage it! If I just forward to the success Configuration Objects t

Re: has struts reached the saturation

2006-03-14 Thread Niall Pemberton
- Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Sent: Wednesday, March 15, 2006 5:58 AM > But... at the risk of sounding like sour grapes (you'll just have to > take my word for it when I say that isn't the case), what about > something like my AJAX extensions to the

query about application resource and charset

2006-03-14 Thread Roy, Ansuman
Hi, I have a content management system that generates the application resources.properties file. Now the value of many keys are found to be of filled with  keys. Basically this happens due to non conformant utf standards. If this is present in the jsps or the html pages then these characters are

Re: has struts reached the saturation

2006-03-14 Thread Frank W. Zammetti
Man, my head metaphorically hurts! LOL Michael Jouravlev wrote: Frank, let us not mix Struts and JSF. Struts was created by a bunch of enthusiasts and was put up for grabs. Like it? Take it. Its license allows you (metaphorical "you") to get the source code and run with it. Don't like it? Change

Re: has struts reached the saturation

2006-03-14 Thread Dakota Jack
I think Rod did say something more than "similar". Once again, he said: "Do not try to combine approaches that do not naturally fit. Struts is at its core concerned with request-driven web MVC, while JSF is focused on page-centric RAD with per event action listeners. Both approaches have merit,

Re: has struts reached the saturation

2006-03-14 Thread Michael Jouravlev
On 3/14/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > For us, it's not about branding or marketshare or any of that. It's > > about volunteer share. It's about which products that we, as > > engineeers, want to use to build our own applications. > > This is where I do happen to disagree with

Re: has struts reached the saturation

2006-03-14 Thread Frank W. Zammetti
Dakota Jack wrote: For my part, I have to disagree with Frank. JSF has been around forever and has no discernable traction. Perhaps that is the reason Craig is a little testy nowadays. I don't know about that. I don't think it's fair to say it has no discernible traction. I *would* however

Re: has struts reached the saturation

2006-03-14 Thread Dakota Jack
On 3/14/06, Ted Husted <[EMAIL PROTECTED]> wrote: > > > For us, it's not about branding or marketshare or any of that. It's > about volunteer share. It's about which products that we, as > engineeers, want to use to build our own applications. Of course JSF is at Struts because of marketing an

Re: has struts reached the saturation

2006-03-14 Thread Frank W. Zammetti
Interesting thoughts Niall! Some comments interspersed (because this type of philosophical debate is, to me, just as important as the technical stuff)... Niall Pemberton wrote: IMO there are two main reasons for this: 1) Backwards compatibility - Struts was so successful that the impact of br

Re: has struts reached the saturation

2006-03-14 Thread Frank W. Zammetti
Ted Husted wrote: On 3/14/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: but I to this day do not believe it was the motivation of the larger entities involved. True. If those "larger entities" had any say, we wouldn't be merging with WebWork. If anyone wanted proof that we are making our

Re: has struts reached the saturation

2006-03-14 Thread Niall Pemberton
I'm interested in the question "why has the market leading web framework failed to evolve fast enough and retain its position as the technically best in its field (i.e. action orientated frameworks)?". IMO there are two main reasons for this: 1) Backwards compatibility - Struts was so successful t

Re: has struts reached the saturation

2006-03-14 Thread Ted Husted
On 3/14/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > but I to this day do not believe it was the motivation of the larger > entities involved. True. If those "larger entities" had any say, we wouldn't be merging with WebWork. If anyone wanted proof that we are making our decisions based on

Re: has struts reached the saturation

2006-03-14 Thread Paul Benedict
All, I made a foolish error. I apologize: >> I am glad++ Rod Johnson said something similar >> because it validates++ my concern. Rod Johnson said nothing of the sort. I did not catch Dakota's comments interspersed between quotes. This is totally *my* fault. My apologies to him and others. Strik

Re: has struts reached the saturation

2006-03-14 Thread Frank W. Zammetti
Ted Husted wrote: From an open source perspective, terms like "succeed" and "fail" have very different meanings. How many lurkers use a product isn't important. What's important is how many people are willing to put ego aside and collaborate on a product. Yes, that's the idealism of the open s

Re: has struts reached the saturation

2006-03-14 Thread Hey Nony Moose
Ted Husted wrote: >... marketshare is not the point of the exercise. > (I wrote this reply, then read Paul B's parallel reply ... I'm definitely thinking along a different track here ... I don't mind the branding issue) While I accept that Ted's comment was placed in the context of Apache project

Re: Change error bundle validatior-rules

2006-03-14 Thread Laurie Harper
Holger Moosbauer wrote: Hello "friends", I have a serious problem here, maybe someone can help me. Thank you first :-) .. OK, the problem ... how can I change the application resource bundle for xml validation? I can read in validatior-rules.xml ... [...] How does the validator know this f

Re: Struts does not find the Action Form

2006-03-14 Thread Laurie Harper
I don't see anything wrong in your struts-config.xml but the error is probably in the JSP, which you didn't post. What does that look like? L. Lösekann wrote: Hello, I am building a new Web App with the Struts 1.2.8 Action Framework and have a strange problem. I have build a login page a dyn

Re: Newbie: Generate an xml-stream

2006-03-14 Thread Laurie Harper
Jonny Becker wrote: Hi, I'm a toatal newbie to Struts. Aim: I want to generate an xml-stream that I'll use for pdf-generation using FOP. Questions: - How generate the xml-stream the best way? Can I use xml-templates and insert my data somehow? - In general: Is there a tutorial how to proce

Re: Struts html taglib and javascript

2006-03-14 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Hi I am trying to put dynamic javascript in html:text tag. I have a checkbox next to a name (names are backed up by a list) and whenever the user changes the name the checkbox next to the name is automatically checked. javascript: document.someform.chkbox[<%=indexId p

Re: has struts reached the saturation

2006-03-14 Thread Paul Benedict
Ted, your logic is direct and understandable. I know you've expressed this same feedback before, but it doesn't address the concerns of those who are concerned with the Name of Struts. I know your focus is on the people, the problem solving, etc. (and thank you for it), but what is the NEED to ca

Re: has struts reached the saturation

2006-03-14 Thread Ted Husted
On 3/14/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I don't think the final chapter in the "will JSF > succeed or fail" book has been written yet, and there doesn't seem to be > a consensus on where it stands right now. >From an open source perspective, terms like "succeed" and "fail" have

Re: has struts reached the saturation

2006-03-14 Thread Paul Benedict
>> I don't think the final chapter in the "will JSF >> succeed or fail" book has been written yet You don't have "Will JSF Success or Fail in Action" by Manning? --- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > I know *many* people who have and are coming to the same conclusion as > your

Re: Java (O/T) thing

2006-03-14 Thread Martin Gainty
Thats it Somehow 1.5 binaries spefically java.exe and javac.exe got mixed in the 1.4EE tar Reverted back to JDeveloper 1.42 and all is well Thanks David, Martin-- - Original Message - From: "David G. Friedman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" ; "Martin Gainty" <[EMAI

Re: has struts reached the saturation

2006-03-14 Thread Frank W. Zammetti
I know *many* people who have and are coming to the same conclusion as your unnamed guru. HOWEVER, to be fair about it, there are just as many people with exactly the opposite opinion. I don't think the final chapter in the "will JSF succeed or fail" book has been written yet, and there doesn

Re: has struts reached the saturation

2006-03-14 Thread Michael Jouravlev
On 3/14/06, Paul Benedict <[EMAIL PROTECTED]> wrote: > I totally agree with Rod Johnson! I don't know why so many people > are quiet about this topic when the truth of Shale is obvious > to anyone who paid attention to these boards, and the number of > commits that go into Shale vs. Struts. I've vo

Re: Java (O/T) thing

2006-03-14 Thread Martin Gainty
I downloaded supposedly 1.42 JDK I went back to my old Oracle JDeveloper JDK and all is well Thanks Wendy- Martin- - Original Message - From: "Wendy Smoak" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Tuesday, March 14, 2006 5:56 PM Subje

Re: has struts reached the saturation

2006-03-14 Thread Hey Nony Moose
Paul Benedict wrote: >... I am truly happy WebWork >is becoming Struts 2.0 because the action framework, imo, is >the only product that deserves the name "Struts" -- and Shale >should leave the repository for its own pastures. I can't escape >my perception of what Shale is (marketing campaign

Re: Java (O/T) thing

2006-03-14 Thread Ed Griebel
I wrestled with this exact thing this week. For the benefit of people searching the archives, to force a 1.4-compatible JDK to be used by a 1.5 compiler you can use "-target 1.4 -source 1.4" on the javac command line, or for ant, "target='1.4' source='1.4' " in your javac task. -ed On 3/14/06, W

Re: has struts reached the saturation

2006-03-14 Thread Paul Benedict
I totally agree with Rod Johnson! I don't know why so many people are quiet about this topic when the truth of Shale is obvious to anyone who paid attention to these boards, and the number of commits that go into Shale vs. Struts. I've voiced this before, but I usually don't get good reception. I

Re: Java (O/T) thing

2006-03-14 Thread Wendy Smoak
On 3/14/06, Martin Gainty <[EMAIL PROTECTED]> wrote: > Does anyone know what this message means? > "class file has wrong version 49.0, should be 48.0" You're using JDK 1.4 and attempting to use a class that was compiled for JDK 1.5 (or Java SE 5). -- Wendy --

RE: Java (O/T) thing

2006-03-14 Thread David G. Friedman
I could swear we've seen that before on this list. I think it means the JDK that compiled a class is NEWER than the JRE you are running it on. For example, a class (or jar) may have been compiled under JDK 1.5 without compatibility flags yet you put it on a 1.4.X JRE so it is complaining to you

Java (O/T) thing

2006-03-14 Thread Martin Gainty
Greets- Does anyone know what this message means? "class file has wrong version 49.0, should be 48.0" Thanks, M-

Re: [OT] Re: Browser back button

2006-03-14 Thread Frank W. Zammetti
location.href will give you the same page... what you want is whatever the *real* initial page of your app is. For instance, if right now you would go to index.jsp as the first page, then rename that to index1.jsp and use that as the argument. The page I gave you would then become index.jsp.

Re: [OT]Struts - AJAX, best solution

2006-03-14 Thread netsql
Which AJAX framework do you want to use? (and then do you need Struts) .V Ashish Kulkarni wrote: 1 What is the best soluction to have struts and AJAX work together? - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Mujahid Ali
Weblogic has an option where you can force it load classes from the WEB-INF directory. I did that to eliminate any potential class loading conflicts... Still the same issue. I found a known issue http://edocs.bea.com/wls/docs91/issues/known_resolved.html#1056681 [CR210907] : Netui databind

Re: using the indexId value of iterate in a radio button (SOLVED)

2006-03-14 Thread Chris Cheshire
OK I was making this to be way harder than it needed to be. Was all I needed. Chris On 3/14/06, Chris Cheshire <[EMAIL PROTECTED]> wrote: > I have a collection of PaymentSource objects (credit cards, debit > accounts) stored in an object in the session. I want to iterate >

Re: [OT] Re: Browser back button

2006-03-14 Thread struts lover
Frank, I again tried it and now it works. But what would be the argument to the window.open method. I am using struts and tiles and all of my uri are like employee.do etc. I tried doing window.open(location.href, 'MYAPP', myOpts); and it went into infinite loop. Any further

Re: [OT] Re: Browser back button

2006-03-14 Thread Frank W. Zammetti
What doesn't work? And what are you trying to accomplish with history.forward()? -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] Java Web Parts - http://javawebparts.sourceforge.net Suppl

using the indexId value of iterate in a radio button

2006-03-14 Thread Chris Cheshire
I have a collection of PaymentSource objects (credit cards, debit accounts) stored in an object in the session. I want to iterate through these, presenting a radio button and the masked version of the account number on the page. I want to have the value of the radio button the index in the collect

Re: [OT] Re: Browser back button

2006-03-14 Thread struts lover
Hi Frank, I tried it but could not make it work. Also I am trying something like this. history.forward(); This also doesnt work. I am using Tiles. Thanks. "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: I should also mention, you will probably want to have a c

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Wendy Smoak
On 3/14/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Slightly offtopic but still relevant: what is meant by "container > provides support for JSTL 1.1"? Because Tomcat 5 supports SRV 2.4, but > does not have jstl.jar and standard.jar in shared or endorsed > directory. At least 5.5.16 distro

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Michael Jouravlev
On 3/14/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 3/14/06, Mujahid Ali <[EMAIL PROTECTED]> wrote: > > > 9.1 used 2.4 and it is supposed to be backwards compatible. Just to make > > things simple, I tried deploying the strutsel-exercise-taglib.war that > > comes with the struts 1.2.8 release.

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Mujahid Ali
When you say Weblogic is provdinig JSTL 1.1 version, you are reffering to standard.jar ? I don't have anything deployed except the example war. So I am not sure about the conflicts. Thanks, Mujahid Wendy Smoak wrote: On 3/14/06, Mujahid Ali <[EMAIL PROTECTED]> wrote: 9.1 used 2.4 an

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Wendy Smoak
On 3/14/06, Mujahid Ali <[EMAIL PROTECTED]> wrote: > 9.1 used 2.4 and it is supposed to be backwards compatible. Just to make > things simple, I tried deploying the strutsel-exercise-taglib.war that > comes with the struts 1.2.8 release. > > The tags don't work without any modifications to the war

RE: Struts-el and Weblogic 9.1

2006-03-14 Thread George.Dinwiddie
Wendy Smoak > My guess is that you've switched from Servlet 2.3 to 2.4, the > same as if you'd moved from Tomcat 4.x to 5.x. Hard to tell, > though, without more information. Yep, see http://e-docs.bea.com/wls/docs81/notes/new.html#1184292 and http://e-docs.bea.com/wls/docs90/notes/new.html#11

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Mujahid Ali
9.1 used 2.4 and it is supposed to be backwards compatible. Just to make things simple, I tried deploying the strutsel-exercise-taglib.war that comes with the struts 1.2.8 release. The tags don't work without any modifications to the war. If I modify the web.xml in the war to be 2.4 compatible

Re: Tomcat Native library (RedHat 4) produces an endless loop in ValidatorForm

2006-03-14 Thread Niall Pemberton
If you take out the client side validation does that have any impact? Also, have you tried asking on the Tomcat User list? I had a quick look at Tomcat bugs - don't know if its the same, but I found these: http://issues.apache.org/bugzilla/show_bug.cgi?id=37627 http://issues.apache.org/bugzilla/s

Tomcat Native library (RedHat 4) produces an endless loop in ValidatorForm

2006-03-14 Thread Elagin, Egor
Hello, I'm using struts 1.2.8 with Tomcat 5.5.15 and just installed libtcnative (Linux Red Hat 4) to fix the warning I was getting: INFO AprLifecycleListener:86 - The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread kalpesh modi
Weblogic 8.1 support servlet 2.3 and 9.1 should support servlet 2.4 Thanks, -Kalpesh - Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze.

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Wendy Smoak
On 3/14/06, Mujahid Ali <[EMAIL PROTECTED]> wrote: > I am using some tags from the struts-el package and they used to work > fine under weblogic 8.1; After switching over to weblogic 9.1, it seems > that the BeanInfo class for a given tan is never called, so the jstl > expression ${...} is never ev

Struts-el and Weblogic 9.1

2006-03-14 Thread Mujahid Ali
Hey Guys, I am using some tags from the struts-el package and they used to work fine under weblogic 8.1; After switching over to weblogic 9.1, it seems that the BeanInfo class for a given tan is never called, so the jstl expression ${...} is never evaluated. Has anyone seen similar problems?

Change error bundle validatior-rules

2006-03-14 Thread Holger Moosbauer
Hello "friends", I have a serious problem here, maybe someone can help me. Thank you first :-) .. OK, the problem ... how can I change the application resource bundle for xml validation? I can read in validatior-rules.xml ... . These are the def

[OT]Load the Default Page Everytime the Web Page is Reloaded

2006-03-14 Thread Caroline Jen
I have a web page with many toggling (on/off) links. Every time the page is reloaded, I would like to show the default page with the toggle at the 'off' state. How do I do it? I am very thankful for ideas. __ Do You Yahoo!? Tired of spam? Yahoo!

Re: Using saveToken and isTokenValid

2006-03-14 Thread Emmanouil Batsis
In simple cases i just keep redirecting to the result view (and maybe warn the user) even if the token is invalid. The view is the result of the first submission anyway. Manos starki78 wrote: Hi Thanks but my goal is just to tell the user that only the first submit shall be processed! My e

Re: [OT] Re: Browser back button

2006-03-14 Thread Frank W. Zammetti
I should also mention, you will probably want to have a check in all other pages/Actions that looks for some session variable that only gets sets on this page... if it isn't found, redirect here. That way, people can't jump into any page in your app they want. And again, I have to say, some peopl

Re: [OT] Re: Browser back button

2006-03-14 Thread Frank W. Zammetti
You have to open your application in a chromeless window. Since you said the Javascript solved your keyboard problem, you are obviously working in an IE-only environment, so here's how to do it... Your app must start with a single page, say index.jsp, which will be: <%@ page language="java" sessi

custom validator messages with parameters

2006-03-14 Thread Lothar Krenzien
Hi, I have a struts application which used the validator framework for input validation. The validations are defined in the validation.xml file and gets the fieldname as parameter. The fieldnames are defined in a resource bundle and contains a parameter like ' this an {0} input field' . My ques

Re: [OT] Re: Browser back button

2006-03-14 Thread struts lover
Hi Frank, Thanks for your reply. That solves my problem of back button or other key on the keyboard. But I still have the problem with the browser back button. I am using Tiles. It would be nice if you can provide any pointers. Thanks. "Frank W. Zammetti" <[EMAIL PROTECTED]> wr

Re: Using saveToken and isTokenValid

2006-03-14 Thread Dan Jas
I would assume that you would see only the server response to your last click on submit, that the browser has thrown away the responses from the server for the first and second clicks on submit. Dan - Original Message - From: "starki78" <[EMAIL PROTECTED]> To: "user" Sent: Tuesday,

RE: what's wrong?? ---Connection with MySQL database

2006-03-14 Thread Zheng Wen Zhe
HaaThanks for all reply. It seems google is every thing. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 14 March 2006 14:24 To: Struts Users Mailing List Subject: Re: what's wrong?? ---Connection with MySQL database Zheng Wen Zhe wrote: > Why I got this err

RE: Using saveToken and isTokenValid

2006-03-14 Thread starki78
Hi Thanks but my goal is just to tell the user that only the first submit shall be processed! My example works only partially Nice greetings -- Initial Header --- >From : "Kalcevich, Daniel" [EMAIL PROTECTED] To : "Struts Users Mailing List" user@struts.apache.o

Re: [OT]Struts - AJAX, best solution

2006-03-14 Thread Michael Jouravlev
On 3/14/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > I have a couple of questions below > 1 What is the best soluction to have struts and AJAX > work together? Depends on what do you want from Ajax > I have read about DWR, Java Web parts, AjaxAnywhere, > But which is the good one, and wh

Re: [OT]Struts - AJAX, best solution

2006-03-14 Thread Frank W. Zammetti
On Tue, March 14, 2006 9:32 am, Ashish Kulkarni said: > Hi > I have a couple of questions below > 1 What is the best soluction to have struts and AJAX > work together? > I have read about DWR, Java Web parts, AjaxAnywhere, > But which is the good one, and why? Well, of course I'm going to say Ajax

RE: Using saveToken and isTokenValid

2006-03-14 Thread Kalcevich, Daniel
What about putting the saveToken(request) at the bottom of the second action as well? This will put a new token into the request in the event you want to submit again. Dan -Original Message- From: starki78 [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 7:08 AM To: user Subject:

Using saveToken and isTokenValid

2006-03-14 Thread starki78
Hi, I try to create a solution that prevents several submits. Therefore I place at the end of the first action: saveToken(request); and in the second: if (!isTokenValid(request,true)) { // duplicate submit, return some error message to user ActionMessage msg = new ActionMessa

RE: problems with enclosed by a

2006-03-14 Thread Garner Shawn
Check out the api here: http://struts.apache.org//struts-doc-1.2.8/userGuide/struts-html.html html:image is a submit button on a form with an image instead of a button. html:img is your standard image that is not a button 1) you can use html:link with html:img or 2) you could just use html:image i

RE: [OT] JASPER Report Exception

2006-03-14 Thread Marco Mistroni
Hello, The jasper libraries that you are using at runtime are Older than the ones used by your jasperreports editor. Upgrade to latest jasperreports.jar HTH marco -Original Message- From: Nandakishore Nekkanti [mailto:[EMAIL PROTECTED] Sent: 09 March 2006 12:01 To

Re: Iterate nested ArrayList

2006-03-14 Thread chuanjiang lo
Is it necessary for me to store numbers as another POJO in the ArrayList rather than storing in as String? On 3/14/06, chuanjiang lo <[EMAIL PROTECTED]> wrote: > > I have a ArrayList of CustomerBean. > CustomerBean > Property:customer_name Type: String > Property:numbersType: ArrayList

[OT] Re: what's wrong?? ---Connection with MySQL database

2006-03-14 Thread Antonio Petrelli
Dave Newton ha scritto: Total time spent (not including typing this email): about 1 minute, 45 seconds. Time spent typing the email: 2 minutes. Time you'll wait to read a response on the newsgroup: 5-15 minutes. Ability to debug your own app: priceless. There are things that you cannot buy, f

[OT]Struts - AJAX, best solution

2006-03-14 Thread Ashish Kulkarni
Hi I have a couple of questions below 1 What is the best soluction to have struts and AJAX work together? I have read about DWR, Java Web parts, AjaxAnywhere, But which is the good one, and why? 2 What is better for response XML file or comman delimeted string, or build HTML in action class and

Re: what's wrong?? ---Connection with MySQL database

2006-03-14 Thread Dave Newton
Zheng Wen Zhe wrote: > Why I got this error when initialize web server > Well, let's take a look: > ERROR <14-Mar-2006 13:52:17> Initializing application data source userDB > > org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of > class '' for connect URL 'jdbc:mysql:

Re: what's wrong?? ---Connection with MySQL database

2006-03-14 Thread chuanjiang lo
did you include the mysql jdbc jar in your classpath? On 3/14/06, Zheng Wen Zhe <[EMAIL PROTECTED]> wrote: > > Hi, > > Why I got this error when initialize web server > > > > ERROR <14-Mar-2006 13:52:17> Initializing application data source userDB > > org.apache.commons.dbcp.SQLNestedException

Re: what's wrong?? ---Connection with MySQL database

2006-03-14 Thread ALEX HYDE
I use Tomcat and I've only ever created datasources in web.xml. Have u tried that? Zheng Wen Zhe <[EMAIL PROTECTED]> wrote: Hi, Why I got this error when initialize web server ERROR <14-Mar-2006 13:52:17> Initializing application data source userDB org.apache.commons.dbcp.SQLNestedExc

what's wrong?? ---Connection with MySQL database

2006-03-14 Thread Zheng Wen Zhe
Hi, Why I got this error when initialize web server ERROR <14-Mar-2006 13:52:17> Initializing application data source userDB org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'jdbc:mysql://localhost:3306/struts'

Iterate nested ArrayList

2006-03-14 Thread chuanjiang lo
I have a ArrayList of CustomerBean. CustomerBean Property:customer_name Type: String Property:numbersType: ArrayList that stores Strings In my Action class, i return the ArrayList through request scope. request.setAttribute("CustomerList", customerList); In my view, i have something,

Re: html:messages or html:errors???

2006-03-14 Thread Niall Pemberton
isn't deprecated - both and offer different ways of doing the same thing. When it comes to displaying a message against a single property, is easier and the issue of including markup in resource bundles doesn't arise. http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html Nial

Re: struts security

2006-03-14 Thread Mark Lowe
At first glance at your code it looks like you might need to add a role principal after you've added the user.. But on consideration i dont think that the user principal is going to be added to the session in such a way as you can get to the principal using request.getUserPrincipal() and is user in

Re:Cannot find message resources under key org.apache.struts.action.MESSAGE , what could cause this ?

2006-03-14 Thread starki78
Check your Definition in Struts-Config and compare it with the location of the properties-file and the call in the jsp. In my experience it was always there a faulty configuration. Saluti -- Initial Header --- >From : "Legolas Woodland" [EMAIL PROTECTED] To : "Str

Cannot find message resources under key org.apache.struts.action.MESSAGE , what could cause this ?

2006-03-14 Thread Legolas Woodland
Hi Thank you for reading my post. I upload a web application to its host , it works OK until a few hours ago , and now it shows the following exception is there any comment about this ? javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAG

Re: Filter / Logging

2006-03-14 Thread atta-ur rehman
Hi, What's the url-pattern for you filter? If it's being called more than once for an action I'd guess that you have it set to intercept all the requests. Changing it to something specific, like *.do, might help. LoggingFilter *.do HTH. ATTA On 3/14/06, Hans-Peter Petek <[EMAIL PROTECTE

Re: struts security

2006-03-14 Thread David Delbecq
Jubin Kuriakose a écrit : >oh... >Supposing i did use j_security_check to authenticate. how do i check if the >user is authenticated at a later stage > request.getUserPrincipal() returns a non-null value >and is it possible to programmitically remove his permission. > > Not really. Once user h

RE: Using message resources in non-action class

2006-03-14 Thread starki78
Thanks a lot it works!!! -- Initial Header --- >From : "Anuradha S.Athreya" [EMAIL PROTECTED] To : "Struts Users Mailing List" user@struts.apache.org Cc : Date : Tue, 14 Mar 2006 14:23:43 +0530 Subject : RE: Using message resources in non-action class

Map backed actionForm and pushing multiselect value in the map

2006-03-14 Thread vijay venkataraman
|Hi, I have a Form bean backed by a Map. I want to capture the responses of the input fields in the jsp in to this Map. When the selected values results into Array(String[]) in case of Multiselect only the first value in the array gets in to this map as a value. This is the case with radio butt

Re: struts security

2006-03-14 Thread Jubin Kuriakose
oh... Supposing i did use j_security_check to authenticate. how do i check if the user is authenticated at a later stage and is it possible to programmitically remove his permission. thnx On 3/14/06, David Delbecq <[EMAIL PROTECTED]> wrote: > > Am sorry but that's not how form based authentificat

Re:Filter / Logging

2006-03-14 Thread starki78
Hi Hans, I recently posted about filters .. There are problems to assign a filter to a single action. I got the tip (thanks Mr Zametti) to use the library java web parts which has some filter helpers where you can specify the path and have better control... Can this be helpful for you? Nice greet

Re: struts security

2006-03-14 Thread David Delbecq
Am sorry but that's not how form based authentification works in j2ee. We you are not authenticated, the container redirects your to form-login-page This page must contain a form with 2 fields : j_username and j_password. The form action MUST be of type POST and the target MUST be "j_security_che

RE: Using message resources in non-action class

2006-03-14 Thread Anuradha S.Athreya
I found the solution to my pblm as soon I sent out the previous mail. It is possible to access the resource bundle in a plain java class: If u have declared ur resource bundle in the struts-config.xml file as given below: U'll have to access this bundle in ur plain java class as follow

Re: struts security

2006-03-14 Thread Jubin Kuriakose
Hi David I did do that ... > > > father > Security > /father/* > GET > POST > > > > admin > > > > NONE > > > > > > FORM > >

Filter / Logging

2006-03-14 Thread Hans-Peter Petek
Hi all, can anyone give some information about how and when filters are executed? I have a logging-filter who only logs the request-parameters - the filter is accessed at every page. But when I call a simple page (struts) with actionform and action the filter is accessed e.g. 10 times ...? why?

Re: struts security

2006-03-14 Thread David Delbecq
Do it like you would for any servlet. Either apply a security constraint to struts servlet itself or apply security constraints to url path (applying a security constraint to /admin/* applies also to /admin/someStrutsAction.do) Jubin Kuriakose a écrit : >Hi all >Can ayone give me links related to

struts security

2006-03-14 Thread Jubin Kuriakose
Hi all Can ayone give me links related to implemnting security-contraints(from web.xml) and struts together. I googled without any success. thnx jubs