Fw: Any Idea :problem redirecting the page

2002-05-30 Thread siraj
- Original Message - From: siraj [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, May 29, 2000 4:44 PM Subject: Urgent :problem redirecting the page hello everybody , i am facing one problem while redircting a page. i have many links in my page

Re: A common problem: Cannot find ActionMappings or ActionFormBeans?

2002-05-30 Thread Adam Hardy
Hi Jesper, you could give the parsing error for the struts-config.xml - it looks alright but I don't know the dtd off by heart. Adam Struts Newsgroup (@Basebeans.com) wrote: Subject: A common problem: Cannot find ActionMappings or ActionFormBeans? From: Jesper Lindholt Ottosen [EMAIL

Re: Design Advice - Relational Databases Java Objects

2002-05-30 Thread Adam Hardy
Hi Kevin, from what I can glean from their website, torque implements what Martin Fowler calls the Gateway pattern - tables are directly related to classes - but I need his DataMapper pattern (where a finder object finds the data and a mapper turns it into anything you like). Adam [EMAIL

Re: Nested menu item

2002-05-30 Thread Cedric Dumoulin
Hello, It is not possible in the actual version. The limitation comes from the parser which doesn't implement the correct rules. It will be possible in the next release. I have quickly implemented and tested the behavior, but have no time to test and release all the Tiles distribution

Re: Design Advice - Relational Databases Java Objects

2002-05-30 Thread Adam Hardy
Hello Jerome, I'm not sure why I'm so bad at searching the net not finding things like this. ObjectBridge has a feature list that blows me away. Are you using it? Castor also looks interesting. Why do you refer me to JBoss openEJB? I've no experience with EJB, but from what I know, I

RE: Design Advice - Relational Databases Java Objects

2002-05-30 Thread Michael Mok
Hello We are using Castor and have implemented a STRUTS based online reservation system using CASTOR as our data access layer. Castor works well as the functionalities it provides are non intrusive. What I meant is that it provides a Mapping.xml file which maps your beans to each table (and even

Re: Design Advice - Relational Databases Java Objects

2002-05-30 Thread Adam Hardy
Hi Michael, how does Castor integrate with struts? Is it completely seperated from the struts actions by your business objects? I saw the list of castor exceptions and they didn't seem comprehensive, but maybe I'm wrong. Adam Michael Mok wrote: Hello We are using Castor and have

BaseBeans WEBPIM fails in com.common.BaseDAO.invokePreparedSetter??

2002-05-30 Thread Hertzel Karbasi - OPTinity eBusiness Solutions
Hello All Any assistance/suggestions to workaround the following failuire in WEBPIM WebApplication will be appreciated. Database = DB2 Applicatio Server = WebSphere W2k Thanks Hertzel Save in NameZoomAct fails in BaseDAO.invokePrepareSetter in statement: setter.invoke( stmt, new Object[] { new

javax.servlet.jsp.JspException: No getter method for property name of beanorg.apache.struts.taglib.html.BEAN

2002-05-30 Thread Karthik_Gurumurthy
Hi All, i know it sounds pretty basic. But am not sure why the jsp page is unable to find the getter for a property. I have a simple results page which looks like this. % page language=java % % taglib uri=/WEB-INF/struts-bean.tld prefix=bean % % taglib uri=/WEB-INF/struts-html.tld prefix=html

Re: Data type handling

2002-05-30 Thread Will Spies/Towers Perrin
I meant 'commas' not 'commands'. sorry bout that. ___ Will Spies Towers Perrin Phone: (215)246-7145 e-mail: [EMAIL PROTECTED]

Need HELP ! (Newbie)

2002-05-30 Thread Jerome Savage
Dear Struts User Community, == DISCLAIMER : NEW to Struts and List (Please Help) == I am the IT Operations Prime supporting several Development teams one of such is trying to implement Struts as part

Re: javax.servlet.jsp.JspException: No getter method for property name of beanorg.apache.struts.taglib.html.BEAN

2002-05-30 Thread Dave Derry
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 30, 2002 7:23 AM Subject: javax.servlet.jsp.JspException: No getter method for property name of beanorg.apache.struts.taglib.html.BEAN html:html locale=true head titleResults page/title

Re: Action classes/Form based authentication/ EJBs

2002-05-30 Thread @Basebeans.com
Subject: Re: Action classes/Form based authentication/ EJBs From: Torgeir Veimo [EMAIL PROTECTED] === Roland Chan wrote: Okay, I turned on my prompt before adding cookies in my browser and it appears that during form-based authentication a cookie is never being saved to my clients browser.

RE: Struts Fault?

2002-05-30 Thread Michael Marrotte
I know beans follow a tight spec, i.e. setter signatures should match getter return types, etc... But, why does JSP care about this if I never use the setter explicity? And how come JSP does not mind on Windows? -Original Message- From: Michael Marrotte [mailto:[EMAIL PROTECTED]] Sent:

Re: Advice: how strutty should I be??

2002-05-30 Thread Kevin . Bedell
As we say in Boston - Wicked Cool! Rick Reumann [EMAIL PROTECTED] on 05/30/2002 12:34:29 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc:(bcc: Kevin Bedell/Systems/USHO/SunLife) Subject: Re: Advice:

To those that looked at the webPIM app at basebeans

2002-05-30 Thread Rick Reumann
Vic (or anyone else familiar with webPIM ), I've been studying the webPIM app a bit more and I'm a little unclear how an update or insert would be handled with this architecture or even the best way to have data from a JSP form populate the form bean. I'm sure I'm missing something but it

Struts is Overkill?

2002-05-30 Thread Michael Marrotte
I just completed a good-sized web application (a statewide Child Support Payment System) using Struts. There's was a fair learning curve which put me over the deadline. But, after that my development speed increased significantly with the help of the Struts framework. My local manager has even

Struts metrics??

2002-05-30 Thread Jeff_Mychasiw
I am in the process of coming up with construction estimates for a web project that will be using struts. It seems like a daunting task at this point. I have a gut feeling on how long I could probably turn out a page using a model I approach, but this will be the first real Struts/model 2

Struts 1.1?

2002-05-30 Thread wbchmura
I see a lot of references to 1.1 and usage I know its still in Beta, but is it close enough where it could be used for an internal non-critcal application? Thanks! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Design Advice - Relational Databases Java Objects

2002-05-30 Thread Michael Mok
Adam We choose Castor because it is a more mature implemetation. In fact Castor is already available prior to Sun releasing the JDO spec. We only tried Cocobase (excellent product but expensive) and Castor (free and open source). We did not evaluate ObjectBridge hence I cannot comment on it.

dynamic templates?

2002-05-30 Thread Vincent Stoessel
OK, lets say I wanted to create a web application and I wanted to keep a consistent look for each page. Does struts have any kind of include tag or should I just use jsp to do that? example: htmlheader never changes my stuts content htmlfooter never changes -- Vincent Stoessel Linux

RE: Struts 1.1?

2002-05-30 Thread Chappell, Simon P
Bill, Folks said it was ready fro prime time, so we have switched our project out here to use 1.1b1 There were a couple of pains in the switch, but a big thank you goes to Chuck for his very swift email support! :-) Since successfully completing the switch, we have had no incidents to make

RE: Nested menu item

2002-05-30 Thread Trieu, Danny
Cedric, Thanks for you effort of making this happens. I want to let you know that more a year ago since I was picking up Struts/Tiles and introduce it to my previous company, now Struts/Tiles is the corner stone for the web tier technology for them. Now that I am working for a new company, a

Re: Pb with struts and javascript

2002-05-30 Thread ajTreece
Cyrill... I do this in my app... Change your link to: html:link href=Javascript:VisuOrdre(); Later, ajTreece cyril guszkiewicz wrote: I every body, I' ve got some problem with Javascript in Struts. In fact, the command onclick in html:link href=

Difference between form tags and html tags

2002-05-30 Thread Gibson Brad - IL
What is the difference between form tags and html tags? They seem to overlap in some areas. Brad Gibson

RE:Struts is Overkill?

2002-05-30 Thread Olikkadavath, Bobby
FWD : what is an unfired framework? Original Message- From: Hayley, Alex Sent: Thursday, May 30, 2002 12:47 PM To: Olikkadavath, Bobby Subject: RE: Struts is Overkill? what is an unfired framework? -Original Message- From: Olikkadavath, Bobby Sent: Thursday, May 30, 2002

RE:Struts is Overkill?

2002-05-30 Thread Kevin . Bedell
Seems to me that the most convincing argument is success. If you can get to the point where you are turning out applicatoins quickly using Struts, then that in itself should be pretty convincing.. If the other department eschews Struts and has challenges turning out work at your speed, then

session-timeout default value?

2002-05-30 Thread Michael Marrotte
If the not defined in the web app, what is the default session timeout? And, where might this be documented? --Michael Marrotte -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Difference between form tags and html tags

2002-05-30 Thread Robert Taylor
I believe the form: ... tags were originally supported in earlier versions of Struts. They may be still shipping that tld for compatibility reasons. The html: tags are used for form processing now. robert -Original Message- From: Christian Velez [mailto:[EMAIL PROTECTED]]

BeanUtils

2002-05-30 Thread Filipe Mateus
Do BeanUtils.describe and BeanUtils.populate supposed to handle indexed properties? Suppose I have this JavaBean: public class NameBean { private String[] name; public String[] getName() { return this.name; } public void setName(String[] name) {

Re: Struts is Overkill?

2002-05-30 Thread Cliff Rowley
I just completed a good-sized web application (a statewide Child Support Payment System) using Struts. There's was a fair learning curve which put me over the deadline. But, after that my development speed increased significantly with the help of the Struts framework. My local manager has

RE: Struts is Overkill?

2002-05-30 Thread Joseph Barefoot
Perhaps translating a small subset of your application, say one Struts Action and its ActionForm with the JSPs, into a comparable no-Struts JSP + beans and/or servlets implementation may help. A short presentation outlining the value gained in simplicity and uniformity using Stuts versus the

Re: session-timeout default value?

2002-05-30 Thread Filipe Mateus
This depends on your servlet container. In Tomcat, the default timeout is located in $TOMCAT_HOME/conf/server.xml: !-- You can set the default session timeout (in minutes) for all newly -- !-- created sessions by modifying the value below. -- session-config

RE: Difference between form tags and html tags

2002-05-30 Thread Rob
Use struts-html The struts-form was used before version 1.0. -Rob -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Struts 1.1?

2002-05-30 Thread wbchmura
Excellent. Since this is a new project, I hopefully will avoid conversion pains! Thanks -Original Message- From: Simon.Chappell [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 12:15 PM To: struts-user Subject: RE: Struts 1.1? Bill, Folks said it was ready fro prime time, so

RE: Difference between form tags and html tags

2002-05-30 Thread Gibson Brad - IL
The struts form tags and html tags. From my web.xml file. taglib taglib-uri/tags/struts-form.tld/taglib-uri taglib-location/WEB-INF/struts-form.tld/taglib-location /taglib taglib taglib-uri/tags/struts-html.tld/taglib-uri

RE: Struts Fault?

2002-05-30 Thread Kevin . Bedell
1.) Why does the problem occur on Resin's Unix implementation, but not the Windows -- same versions? - This may be a container issue. If you're deploying the same .war file to both and executing the same steps to generate the error, then the issue is definitely with the container. You'd

Re: Struts Fault?

2002-05-30 Thread Marcelo Vanzin
[EMAIL PROTECTED] wrote: - Since HTTP (not Struts or JSP) understands only String-type data, I believe that Struts FormBeans need setXxx(String xxx) to work (someone pls correct me if I'm wrong). You can use any primitive type and many object types aside from String in your

RE: Struts Fault?

2002-05-30 Thread Michael Marrotte
I never post the property; thought this would ignore any setter defined. But, I buy your argument about the BeanUtils class looking for setXxx(String Xxx) while introspecting. I went ahead and wrapped the boolean within a String and just added a different method to mutate the boolean from within

Re: Struts Fault?

2002-05-30 Thread Kevin . Bedell
Sorry - I wasn't clear here. What I was thinking about were properties associated with html:form fields. The type where a user enters data and then posts by clicking submit. So, I went to the userguide for the HTML tags (to RTFM), and found that the only property you can post to inside an

RE:Struts is Overkill?

2002-05-30 Thread Raffy_Lata
My instructor at a servlet class deemed Struts as an overkill but nevertheless recommended it's use. Overkill might not be the reason why they do not like it, why not ask them for more compelling (and objective) reasons for not using it? If you have proven it's worth in delivering a successful

Re: Design Advice - Relational Databases Java Objects

2002-05-30 Thread Adam Hardy
Oh boy, now I've got information overload! Fortunately there's a link in Chuck Cavaness's book to an article reviewing comparing some of them - although strangely they include Forte for Java from Sun instead of JDO. Well, I can see what I'm going to be doing this weekend. Regards Adam

RE: Difference between form tags and html tags

2002-05-30 Thread Gibson Brad - IL
Thank you sir. That's what I was thinking but couldn't confirm it. Brad Gibson -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 12:17 PM To: Struts Users Mailing List Subject: RE: Difference between form tags and html tags I believe the

ActionForms, Value Objects, Data Transfer Objects????

2002-05-30 Thread Brian Holzer
Hello all, I have been quite interested in the discussions that have gone in this list that deal with data persistence since I am trying to design a persistence/concurrency layer for our projects. However I get quite confused by the different terms that are used in different threads, let

DynaActionForm + Nested tags

2002-05-30 Thread Chen, Dean (Zhun)
I have a couple questions regarding DynaActionForm + the Nested tag For DynaActionForm, I can reference any Objects, not only String? Including ones I create for my application? In my Action class, can I do this: DynaActionForm histForm = (DynaActionForm) form; //creates form

Re: Struts Fault?

2002-05-30 Thread Kevin . Bedell
I could be wrong - I haven't tried all the combinations. The BeanUtils class may be able to perform all the conversions on its own. Marcelo Vanzin [EMAIL PROTECTED] on 05/30/2002 04:05:30 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users

RE:Struts is Overkill?

2002-05-30 Thread chuckcavaness
For what it's worth to this discussion, people that say these off-the-cuff statements truly have never used or just don’t understood the concept of a Framework. If you don't take advantage of a framework, Struts or any other, you only end up repeating over and over the same classes,

nested:iterate and updating a database

2002-05-30 Thread @Basebeans.com
Subject: nested:iterate and updating a database From: Ken Holzer [EMAIL PROTECTED] === Hi All, I have a form that is using the nested:iterate tag to display several rows from a database table. My question is do I need a submit (update) button on each row or can I have one update button? If I

DTD Question

2002-05-30 Thread @Basebeans.com
Subject: DTD Question From: Adam Cohen [EMAIL PROTECTED] === I'm working on a web-app that is on a server that has no access to the web on port 80. When web.xml tries to get the dtd: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN

RE: BeanUtils

2002-05-30 Thread Kevin . Bedell
In looking over the current release notes for the BeanUtils in the commons project, I can across the following bug report list: BUG REPORTS ADDRESSED: = 4895 Populate method doesn't work for an indexed setter for arrays 6125 Populate method has mistaken the judgement

Re: Struts Fault?

2002-05-30 Thread Kevin . Bedell
LightBulbGoesOn Looking at the javadoc for BeanUtils in the commons package, I found the following: snippet A very common use case (and the situation that caused the initial creation of the BeanUtils package was a desire to convert the set of request parameters that were included in a

RE: BeanUtils

2002-05-30 Thread Jerome Jacobsen
I saw that too. They are in the 1.3 RELNOTES. But the problem shows up in 1.3. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:26 PM To: Struts Users Mailing List Subject: RE: BeanUtils In looking over the current release notes

Keyboard Monkey question

2002-05-30 Thread Dan Rasmussen
In response to my recent logic:iterate question, Aaron Bates suggested I look into nested tags and pointed me at his wicked cool keyboard monkey example: http://www.keyboardmonkey.com/next Thanks to Aaron for pointing me to it. I have been looking at the monkey code and am attempting to

Simple Question

2002-05-30 Thread Ryan Norman
Hi, I am Norman. I have a simple problem for which I don't know the answer. I have a single form that I want to use for both add and view user. I was able to successfully add a user. After adding the user I want the user details to be displayed. Can somebody throw some lights on what I need

RE: DTD Question

2002-05-30 Thread Thigpen, David
What do you mean by no access to the web on port 80? One solution might be to run Apache on the same box and serve the DTD files from it: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://localhost/j2ee/dtds/web-app_2_2.dtd; DT -Original Message-

RE: DTD Question

2002-05-30 Thread Nelson, Laird
-Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] What version of Struts are you using? Struts 1.0 and later use a resource locator that grabs the DTD from the Struts Jar and should resolve DTDs very quickly. In case the original poster is working under Visual Age

Re: DTD Question

2002-05-30 Thread Kevin . Bedell
James - Where is the code for this? Can I trace this from the init() stuff in the Action servlet? This is Struts and not Tomcat stuff? Appreciate any pointers Thanks, Kevin James Holmes [EMAIL PROTECTED] on 05/30/2002 03:50:07 PM Please respond to Struts Users Mailing List

RE: dynamic templates?

2002-05-30 Thread Kevin Henrikson
Tiles will do just that. http://www.lifl.fr/~dumoulin/tiles/ -kevin -Original Message- From: Vincent Stoessel [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 8:48 AM To: Struts Users Subject: dynamic templates? OK, lets say I wanted to create a web application and I

Dependency Validations.

2002-05-30 Thread @Basebeans.com
Subject: Dependency Validations. From: Anand Jayaraman [EMAIL PROTECTED] === Im using Struts 1.1 commons validator xml. Can someone show me a example as how to validate a field based on another fields presence. Basically if Field1 is present I want to validate Field2, if not proceed. Thanks,

Re: Keyboard Monkey question

2002-05-30 Thread Arron Bates
To put it in a different way, how would I call setMokeyTeamAlpha() from MonkeyStruts_v2.jsp if I had a MonkeyTeamBean in the session that I wanted to use instead of the sample provided in the constructor for BananasIncorporatedBean? In the JSP or your action?... In your action you can just

Re: nested:iterate and updating a database

2002-05-30 Thread Arron Bates
Ken, More than likely you sould just have the one button for the entire list. As for only updating the rows that have changed, you'll have to track and manage that yourself. When the incomming data arrives, you'll have to match it against what you served, and find out the updated rows that

Re: DTD Question

2002-05-30 Thread James Holmes
From the 1.1 code base: lines: 341 - 355 /** * The set of public identifiers, and corresponding resource names, for * the versions of the configuration file DTDs that we know about. There * strongMUST/strong be an even number of Strings in this list! */ protected

Re: nested:iterate and updating a database

2002-05-30 Thread @Basebeans.com
Subject: Re: nested:iterate and updating a database From: Ken Holzer [EMAIL PROTECTED] === Thanks Arron, How would you loop thru the rows in the Action Form? There are not that many rows and it is easy enough to reupdate them all if I need to. But I am not sure how to go about reading the

Anyone tried using Struts 1.0.2 framework on Weblogic 7.0?

2002-05-30 Thread Lim Thiam Beng
Hi, Has anyone tried using Struts 1.0.2 with the new BEA Weblogic 7.0? My application was running fine when deployed on HPAS 8.1 (without any special setup for Struts required). But while trying out BEA Weblogic 7.0 on Windows 2000, I hit the following runtime error when my JSP tries to load

Re: nested:iterate and updating a database

2002-05-30 Thread Arron Bates
Once the servlet has updated the collection coming in from the form, you just fetch it in your action with the getMonkeyTeam() method. There's the list, updated and ready to go. Arron. Struts Newsgroup (@Basebeans.com) wrote: Subject: Re: nested:iterate and updating a database From: Ken

RE: Advice: how strutty should I be??

2002-05-30 Thread Daniel J. D'Cotta
Hi, http://edhill.its.uiowa.edu/display/ Is there a way to get the benefits of this tag, but by using a Servlet instead of a JSP. This is because although my project is using the struts framework, it is not using any JSPs. (We feel JSPs are 'evil'.) Regards, Daniel -Original

RE: Advice: how strutty should I be??

2002-05-30 Thread Richard Yee
Daniel, What are you using to display dynamic pages then? Have you looked at the Velocity template engine? What is so evil about JSP's? Perhaps you aren't using the technology correctly? Regards, Richard At 11:04 AM 5/31/2002 +0800, you wrote: Hi, http://edhill.its.uiowa.edu/display/

RE: Advice: how strutty should I be??

2002-05-30 Thread Andrew Hill
soapbox Nah. JSPs are definately evil. They arent real (x)html, and they arent real Java. (And of course as anything that isnt Java is by definition evil , so it follows that jsps... heheh) My main objection to JSPs is that they are inelegant (yes - I know thats strong language , but its true!).

Problem with the installation of struts on Apache 2.0 and Tomcat 4.0

2002-05-30 Thread takeshi fuiwara
Hi, I am having problem with the installation of struts. My machine has Apaches 2.0 and tomcat 4.0. I am using mod-webapp connector to connect Apaches 2.0 with tomcat 4.0. However, when I try a sample application, this connector does not seem to recognize the struts extension of ".do". How can I

RE: Advice: how strutty should I be??

2002-05-30 Thread Richard Yee
Andrew, To address your question, question While Im on the subject, Ive got a generic servlet that does 'rendering' (or more precicely invokes the render() method on a bunch of objects that the action selects and forwards to it). However in this case , having a servlet to do it seems a bit

Re: DTD Question

2002-05-30 Thread @Basebeans.com
Subject: Re: DTD Question From: Serge Shikov [EMAIL PROTECTED] === Adam Cohen wrote: I'm working on a web-app that is on a server that has no access to the web on port 80. When web.xml tries to get the dtd: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN

RE: Advice: how strutty should I be??

2002-05-30 Thread Andrew Hill
Well thats the thing. The action already gets the request and response passed to its execute method. My actual rendering classes are _conceptually_ independent of the response and request. details I have a 'rendering pipeline' which is just a collection of 'IDocumentRenderer'. These each have a

RE: DTD Question

2002-05-30 Thread Andrew Hill
This case appears to be for the web.xml file. Does the servlet container provide a way of specifying which entity resolver class to use? Im rather suprised the server would go out to the web for the dtd. Id have thought it would already know to resolve to a local copy for efficiency reasons.

Re: Best way to forward to login, then re-forward tooriginallyrequested resource?

2002-05-30 Thread Rick Mann
on 5/29/02 3:36 AM, Reinhard Nägele at [EMAIL PROTECTED] wrote: session.setAttribute(REDIRECT_KEY, mapping); return mapping.findForward(login); In your login action, check if a mapping is in the session and go there: ActionMapping redirectMapping = (ActionMapping)