struts-user@jakarta.apache.org

2001-03-21 Thread Allen Walker
ISBN: --- Ok, the line: works fine, displays the value, but the line: Doesnt add the isbn parameter, it renders it only as: http://localhost:8080/test/addItem.do , I want it to render it as something like http://localhost:8080/test/addItem.do?isbn="" Thanks for any h

Re: RE: problem of newbie

2001-03-21 Thread JeanX
Hi Nigel Ainslie, Ah yes . When I rewrite "BeanName" to "beanName" in struts-config.xml , it works good. Very thx. :=) ÔÚ 2001-03-22 15:39:00 ÄúдµÀ£º >...maybe you have a case-sensitivity issue. Sounds like your bean property >name should be "beanName" to allow methods "getBeanName" and >setBea

RE: problem of newbie

2001-03-21 Thread Nigel Ainslie
..maybe you have a case-sensitivity issue. Sounds like your bean property name should be "beanName" to allow methods "getBeanName" and setBeanName"? -Original Message- From: JeanX [mailto:[EMAIL PROTECTED]] Sent: Thursday, 22 March 2001 3:29 To: struts-user Subject: problem of newbie

problem of newbie

2001-03-21 Thread JeanX
Hi struts-user, I have a problem , pls help me. I have a class that extended ActionMapping class . It has a BeanName property. And I config this property in struts-config.xml like below: S

Re: calling getter methods

2001-03-21 Thread Craig R. McClanahan
On Wed, 21 Mar 2001, G.L. Grobe wrote: > I can see that for a radio tag, the property is the name of the bean that > was mapped in the struts-config.xml file. But how does the getter method in > the action form bean actually get called, or how does the app know which > getter method to use? >

Re: From action class perform straight to servlet?

2001-03-21 Thread Craig R. McClanahan
On Wed, 21 Mar 2001, Phillip Rhodes wrote: > In the action class perform method, there is a return type of a > ActionForward object. > > But I want to go straight to a servlet in this method (FOP, generating a > PDF). (Wondering, can ActionForwards refer to servlets?) > > I know I can re

Re: From action class perform straight to servlet?

2001-03-21 Thread Nick Pellow
Phillip Rhodes wrote: > > In the action class perform method, there is a return type of a > ActionForward object. > > But I want to go straight to a servlet in this method (FOP, generating a > PDF). (Wondering, can ActionForwards refer to servlets?) > > I know I can return a ActionForward

calling getter methods

2001-03-21 Thread G.L. Grobe
I can see that for a radio tag, the property is the name of the bean that was mapped in the struts-config.xml file. But how does the getter method in the action form bean actually get called, or how does the app know which getter method to use? I have a working example where my action does a get

From action class perform straight to servlet?

2001-03-21 Thread Phillip Rhodes
In the action class perform method, there is a return type of a ActionForward object. But I want to go straight to a servlet in this method (FOP, generating a PDF). (Wondering, can ActionForwards refer to servlets?) I know I can return a ActionForward object that points to to a jsp that wo

Bug in html:errors/ErrorsTag.java???

2001-03-21 Thread Anthony Milano
In doing some recent development using struts I was using the tag with a property attribute.  In other words in my JSP page I have something which looks like below:   . . . . . .   If there is a "validation" error I see the error printed along with the header and footer.  The problem

Newbie question

2001-03-21 Thread Steven Williams
Hi,   I am trying to get struts-example running on Orion Server 1.4.5 on Win2K. I moved the struts-config.xml file and changed web.xml as specified in the installation instructions but I still get an error when I try to access the application (see error log below). It seems that when the Acti

RE: Tomcat question

2001-03-21 Thread Niall Pemberton
Johan, I'm using Tomcat Version 3.2.1 and the readme document had the following information on Tomcat versions. There isn't info about 3.2.2 & 3.3 there but probably if you download those versions there will be a readme explaining the changes. Besides the differences in functionality the other d

Re: Tomcat question

2001-03-21 Thread Craig R. McClanahan
On Thu, 22 Mar 2001, Johan Compagner wrote: > Hi, > > One tomcat question for this list (i know there are some tomcat developers here) > Why can't i find changes.html or something like that for the tomcat versions? > The short answer is that most folks don't take the time to do detailed rele

Re: WebSphere 3.5.3 problem

2001-03-21 Thread dion
FWIW, I did our 3.5.3 installation yesterday and it was as per 3.5.2. I still needed the changed action servlet and also a change of the struts-config.xml to use a SYSTEM DTD rather than a PUBLIC one. It did NOT work out of the box. getResourceAsStream still appears to be broken in 3.5.3 -- dIo

Tomcat question

2001-03-21 Thread Johan Compagner
Hi, One tomcat question for this list (i know there are some tomcat developers here) Why can't i find changes.html or something like that for the tomcat versions? You got now a 3.1.x branch (doesn't seem to be in development anymore) 3.2.x branch (still development 3.2.2 beta 1 as latest mile s

Re: config String[] with Digestor

2001-03-21 Thread Martin Cooper
One possibility would be to have an XML syntax like this: The first string The second string etc. Then you configure the digester to call a method each time it sees a , and that method appends the string to the end of your string array. -- Martin Cooper - Original Messag

Back Button,

2001-03-21 Thread Nick Pellow
Hello, I have developed my own struts web-app, that invloves a form and then a confirmation screen. There is validation done on the form, in the ActionForm's, validate() method. The following behaviour is occuring: 1) A user makes a number of errors (say 3) on the form and is returned to the s

Re: exception handling

2001-03-21 Thread Incze Lajos
On Wed, Mar 21, 2001 at 02:23:38PM -0800, s l wrote: > Is there a way to catch exceptions throw > in bean's getter methods (so we don't have > to see the stack trace on web page)? > > __ > Do You Yahoo!? > Get email at your own domain with Yahoo! Ma

Re: config String[] with Digestor

2001-03-21 Thread Craig R. McClanahan
On Wed, 21 Mar 2001, Steve A Drake wrote: > I'd like to initialize a String[] contained in an object with the > Digestor (i.e. in a database.xml file). Can I do that? If so, what's the > syntax? Thanks. > > How are you planning to represent the data used to populate the String array? You c

Re: license info - to keep or not

2001-03-21 Thread Ted Husted
Maya Muchnik wrote: > Maybe somebody from developers can answer to me. Do I need to keep the > Apache license in the above of my code if I have modified that code. For > example, I am using Craig. M. LogonAction.java and have modified it a > lot. Do I need to keep the license including some record

Re: exception handling

2001-03-21 Thread Scott Walter
You could use the JSP error handling mechanism to display a friendly message instead of the stacktrace. Within the error handling page you could log the exception to the file system or a database. Look into the page directive tag, in particular the isErrorPage and errorPage attributes. scott. -

config String[] with Digestor

2001-03-21 Thread Steve A Drake
I'd like to initialize a String[] contained in an object with the Digestor (i.e. in a database.xml file). Can I do that? If so, what's the syntax? Thanks.

Re: Locales and images

2001-03-21 Thread Ken Beyer
Maya Muchnik wrote: > 1/ > How about several files under A directory: > B.properties > B_en.properties > B_de.properties > B_fr.properties > > and so on... > > Can you see it, that you have a problem. Yeah, it's abit of a problem. The "overridden" PropertyMessageResources would need to be smar

Re: bean: access to the session

2001-03-21 Thread hunkpapa
thx a lot, this was my question. :-) "Craig R. McClanahan" schrieb: > On Wed, 21 Mar 2001, hunkpapa wrote: > > > > > > > "Craig R. McClanahan" schrieb: > > > > > On Fri, 4 Jan 1980, hunkpapa wrote: > > > > > > > Hi, > > > > I've a problem with beans. > > > > I can use a bean with the writeTag a

exception handling

2001-03-21 Thread s l
Is there a way to catch exceptions throw in bean's getter methods (so we don't have to see the stack trace on web page)? __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/

RE: Fix Cast Excep does not work on WL 5.1 - HP-UX?

2001-03-21 Thread Nanduri, Amarnath
On win2K on the first request we get a ClassCastexception, for the subsequent requests process flows in the normal way. This happens if we don't use a .war file. cheers, Amar.. -Original Message- From: maarten ectors [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 3:57 PM To:

RE: workaround for weblogic5.1 cast exception doesnt work for HP-UNIX

2001-03-21 Thread rhayden
You should not see any differences between HP-UX and NT- assuming WL is started up in the same way. I am currently developing on NT and deploying to our HP-UX 11 test environment without any problems. I would verify that the classpath... and WL classpath... are identical in both environments (the

Re: Confusion : Usage of Struts

2001-03-21 Thread Craig R. McClanahan
On Wed, 21 Mar 2001, Maya Muchnik wrote: > Craig, > > 1/ If we will have one extra servlet whose main functions are init and destroy > how this concerns computer resources? The only extra resource is the fact that this servlet class is loaded, normally for the life of the web app. In the cas

Re: ServletException: org/apache/struts/action/ActionForm

2001-03-21 Thread Maya Muchnik
For some reason login.jsp is looking for org/apache/struts/action/ActionForm class and this class not found. The error is: NoClassDefFoundError: org/apache/struts/action/ActionForm Try to find a reference to this class (web.xml, struts-config.xml). Maya Manuel Alzola wrote:     Hello. I´m havin

Re: Confusion : Usage of Struts

2001-03-21 Thread Maya Muchnik
Craig, 1/ If we will have one extra servlet whose main functions are init and destroy how this concerns computer resources? And this servlet will be idle? 2/ Who is calling doGet () method of DatabaseServlet? There is no mapping for "database" servlet. Maybe it is automatically? Maya "Craig R.

Fix Cast Excep does not work on WL 5.1 - HP-UX?

2001-03-21 Thread maarten ectors
We have no problems installing struts on WL 5.1 for windows nt but after installing service pack 8, putting in the web.xml that JSPs need to be precompiled, copying the .properties in the _tmp dir and trying with and without .war we still get the class cast exception on HP-UX. Anybody knows why?

Re: Struts, Trubine, Velocity, Expresso

2001-03-21 Thread Ted Husted
The best references for Struts, Turbine, and Velocity are probably: < http://www.mail-archive.com/general@jakarta.apache.org/msg00495.html > < http://www.mail-archive.com/struts-user@jakarta.apache.org/msg03206.html > and < http://jakarta.apache.org/velocity/ymtd/ymtd.html > There's also a

workaround for weblogic5.1 cast exception doesn´t work for HP-UNIX

2001-03-21 Thread maarten ectors
We have no problems running Struts on out NT version of weblogic but despite all suggested fixes weblogic keeps throwing the class cast exception on out HP-UNIX version. To summarize: We did no put struts in the weblogic classpath. We did add to the web.xml the code to precompile JSPs We tried

Re: Locales and images

2001-03-21 Thread Maya Muchnik
1/ How about several files under A directory: B.properties B_en.properties B_de.properties B_fr.properties and so on... Can you see it, that you have a problem. 2/ How about a file name as extra init parameter that has names of all properties files that you want to "combine". But this becomes a

ServletException: org/apache/struts/action/ActionForm

2001-03-21 Thread Manuel Alzola
    Hello. I´m having a problem with a project I started modifying struts-example from beta 1.0 I renamed the webapp and changed the LogonAction and LogonForm to a different package. This classes are available under the directory /WEB-INF/classess. I also changed the package and class names i

license info - to keep or not

2001-03-21 Thread Maya Muchnik
Hi, Maybe somebody from developers can answer to me. Do I need to keep the Apache license in the above of my code if I have modified that code. For example, I am using Craig. M. LogonAction.java and have modified it a lot. Do I need to keep the license including some record from cvs? Or I need to

RE: Alternative Frameworks - continued

2001-03-21 Thread Eric Brown
You are locked into a single vendor solution with that. ASP does a really poor job of separating UI from business logic. I don't recommend it. -Original Message- From: malcolm davis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 10:25 PM To: [EMAIL PROTECTED] Subject: RE: Altern

RE: Alternative Frameworks - continued

2001-03-21 Thread Flying Cloud
Expresso Framework has been in development since 1996 and was released as Open Source in mid 1999 - so it is a mature and stable product with over 33,000 downloads and nearly 3000 developers on the listserv. Last week we annouced a major new release of Expresso, version 3.0. The press release can

Re: Locales and images

2001-03-21 Thread Craig R. McClanahan
On Wed, 21 Mar 2001, Ken Beyer wrote: > Ken Beyer wrote: > > > > Anyone have a snippet of a build.xml that's does this "combining" of > > > the properties files? > > > > I appologize for beating this thread to death, but I want to mention 2 > more things. > > 1) I think I found another way t

Re: Locales and images

2001-03-21 Thread Ken Beyer
Ken Beyer wrote: > > Anyone have a snippet of a build.xml that's does this "combining" of > > the properties files? > I appologize for beating this thread to death, but I want to mention 2 more things. 1) I think I found another way to merge multiple properties files (if anyone cares :-). I cou

Re: Locales and images

2001-03-21 Thread Craig R. McClanahan
On Wed, 21 Mar 2001, Nick Afshartous wrote: > > > On Tue, 20 Mar 2001, Maya Muchnik wrote: > > > > > > Can I put a.gif into the property file too, and have the second statement as > > > this: > > > > > > Or I can have > > > > > > > > Craig R. McClanahan writes: > > The assumption

Re: Error in struts-form.tld

2001-03-21 Thread Craig R. McClanahan
On Wed, 21 Mar 2001, Tewathia, Atul wrote: > > > > I get the following erroe on using the struts-form.tld in my program. > > Error also occurs for attribute 'isKey'. It works on removing those > attributes from struts-form.tld. > Is it okay if i continue doing so. I wonder where this will

Re: Confusion : Usage of Struts

2001-03-21 Thread Craig R. McClanahan
On Wed, 21 Mar 2001, Tewathia, Atul wrote: > > I am new to struts. I have gone thru the theoretical part of struts and > found the concept interesting. Even read thru some examples. > > But there are some doubts like... > > What happens to javascript validations? Where do we fit them in th

Re: Locales and images

2001-03-21 Thread Maya Muchnik
I am trying to use this for different "look". But my principle is simple. In one application a.gif - is a blank, in other - it is some picture. And so on... Change your property file to point to a different directory for different "look". But in this approach you have one match between application

Re: bean: access to the session

2001-03-21 Thread Craig R. McClanahan
On Wed, 21 Mar 2001, hunkpapa wrote: > > > "Craig R. McClanahan" schrieb: > > > On Fri, 4 Jan 1980, hunkpapa wrote: > > > > > Hi, > > > I've a problem with beans. > > > I can use a bean with the writeTag and this works out well. > > > > > > But how can this bean access the session ? > > > I

Struts Action Graphs

2001-03-21 Thread Derek Longmuir
Title: Struts Action Graphs Hi everyone, I have created some XSL that takes the (old) action.xml and (new) struts-config.xml files and produces a graph showing the various forwards, forms, actions, etc. You can then use dot to convert the graph into an image. I threw together a website wher

iPlanet support

2001-03-21 Thread Cecil Pang
Will Struts run on iPlanet Applicaiton Server 6.0? I am using Struts on WebLogic 6.0 now but we will switch to iPlanet soon. Thanks.

Re: Locales and images

2001-03-21 Thread Nick Afshartous
> On Tue, 20 Mar 2001, Maya Muchnik wrote: > > > > Can I put a.gif into the property file too, and have the second statement as > > this: > > > > Or I can have > > > > Craig R. McClanahan writes: > The assumption behind this new facility is that you need to > internationalize your

Re: Error in struts-form.tld

2001-03-21 Thread Maya Muchnik
Are you using 0.5 version? Because 1.0 has struts-html.tld. Can you switch to the latest version? "Tewathia, Atul" wrote:       I get the following erroe on using the struts-form.tld in my program. Error also occurs for attribute 'isKey'. It works on removing those attributes from struts-form.tld

Re: Struts, Trubine, Velocity, Expresso

2001-03-21 Thread Maya Muchnik
You can find some analysis and comparison by searching, for example, "Velocity" or "Trubine" in our archieve emails. Muhammad Aamir wrote: > Hi, > > I recently explored the Struts Application framework features and > developed an small application using Struts. > > Recently I

Re: Error in struts-form.tld

2001-03-21 Thread Jean-Noel Ribette
> I get the following erroe on using the struts-form.tld in my program. > > Error also occurs for attribute 'isKey'. It works on removing those > attributes from struts-form.tld. > Is it okay if i continue doing so. I wonder where this will stop. Just use struts-html instead of struts-form. st

Re: Confusion : Usage of Struts

2001-03-21 Thread Ted Husted
> "Tewathia, Atul" wrote: > What happens to javascript validations? Where do we fit them in the > comlete picture? Client-side validation using Javascript is on the list for Struts 1.1. David Winterfeldt has a very nice start on a package that does this at < http://home.earthlink.net/~dwinter

Re: getter methods ...

2001-03-21 Thread Maya Muchnik
Hi, I think you need to change or property name to view or change getter/setter and other stuff. See below in red. Maya "G.L. Grobe" wrote: I'm new to struts and trying to get my index.jsp to show up, but instead I get the following error: 500 Internal Server Error javax.servlet.jsp.JspException:

RE: How do I really bypass the deficient of a HTM editor?

2001-03-21 Thread James Cook
It appears that makes this call at the end of its doStartTag() method: return (SKIP_BODY); while makes this call: return (EVAL_BODY_TAG); I suppose that is forcing the error message to be displayed. Too bad since it really aids in prototyping to be able to substitute text in this fie

RE: Performance of struts

2001-03-21 Thread James Cook
I find the 240ms delay satisfactory for most of my apps because the business side logic usually takes longer to execute. I applaud WebLogic however for their timings. Especially (IIRC) since WebLogic is supposed to be 100% Java. I know that some other servers that churn JSP very well are hybrids.

RE: Alternative Frameworks - continued

2001-03-21 Thread Jim Richards
At 10:25 PM 20/03/01 -0800, you wrote: >Eric, >Have you looked into ASP.net vs ...? The main problem there is that a lot of the development tools are beta, and finding an ISP that will host it is also difficult. It will be at least 12 months before it has settled down. -- Kumera - a new Open So

Re: Confusion : Usage of Struts

2001-03-21 Thread Jim Richards
What happens to javascript validations? Where do we fit them in the comlete picture? They don't happen at the moment. Part of the Struts 1.1 plan is to look at some forms of autogeneration of JavaScript validation. A few people have implemented their own system for this. Who takes care of whethe

RE: the errors tag

2001-03-21 Thread Libersan, Martin
You have to call the saveErrors(request, errors) method also -Original Message- From: Marc Ellison [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 6:18 PM To: '[EMAIL PROTECTED]' Subject: the errors tag Hi, Am trying out the errors tag but to no avail...I have the following co

Error in struts-form.tld

2001-03-21 Thread Tewathia, Atul
Title: Error in struts-form.tld I get the following erroe on using the struts-form.tld in my program. Error also occurs for attribute 'isKey'. It works on removing those attributes from struts-form.tld. Is it okay if i continue doing so. I wonder where this will stop. /Abc.jsp(2): E

Confusion : Usage of Struts

2001-03-21 Thread Tewathia, Atul
Title: Confusion : Usage of Struts I am new to struts. I have gone thru the theoretical part of struts and found the concept interesting. Even read thru some examples. But there are some doubts like... What happens to javascript validations? Where do we fit them in the comlete picture? W

Re: bean: access to the session

2001-03-21 Thread hunkpapa
"Craig R. McClanahan" schrieb: > On Fri, 4 Jan 1980, hunkpapa wrote: > > > Hi, > > I've a problem with beans. > > I can use a bean with the writeTag and this works out well. > > > > But how can this bean access the session ? > > I want to read values I placed in the session > > to use them in t

RE: reloading issue SOLVED

2001-03-21 Thread Ali Ozoren
As Craig pointed out, I moved to Tomcat/4 beta and reloading issue is solved. Changes to actions and action forms are refreshed automatically by Tomcat itself.   A tip for Jbuilder, instead of compiling and copying class files, just change the output directory to ../WEB-INF/classes and J

REPOST: Prechecking with

2001-03-21 Thread Firmin David
Sorry, I still can't get around this, can anyone help? I've seen it in action in the test app, I've read the documentation, but I still can't precheck with . I have a list of checkboxes generated *dynamically* from DB records by the & tags. The user defines their own subset of these checkboxe