AW: How to return file content?

2001-01-11 Thread Lind Jürgen
Craig, thank you for your immediate help. Trying it out, however, I found some rather strange behavior of my code: the "perform" method of the Action that returns the pdf file seems to be called a second time after the the file has been sent. This seems to cause the browser to try to display

Re: struts:errors

2001-01-11 Thread Ted Husted
The ActionForm in Struts represents a "logical" form in your application. So, there is not necessary a direct 1:1 relationship between an ActionForm and a single HTML form on a single page. Sometimes, the properties of an ActionForm will be presented over several requests, as in a wizard-type

Re: Any way to dynamically change flow-of-control?

2001-01-11 Thread Elod Horvath
see interspersed comments below... "Laird J. Nelson" wrote: - Original Message - I like to think of this as the "dialog box problem" that web UIs face. That is, each case above, in a "traditional" client-server program, would be implemented, usually, as a dialog box. What's

Struts without SQL?

2001-01-11 Thread Timur Mehrvarz
Hello. We are not using SQL in the presentation-tier. All DB-access happens in the EJB-tier. Therefor, when building Struts we get an "cannot resolve symbol javax.sql.DataSource" in share\org\apache\struts\action\ActionServlet.java:82 What shall I do? Regards. begin:vcard

Re: Newbie question on templates

2001-01-11 Thread Cedric Dumoulin
Hi Warren, In the Struts Template example, you define one template (chapterTemplate.jsp) common to all your web pages. Then, you define one jsp file for each of your web page that use the template (introduction.jsp, optional.jsp, ...). In each jsp file you specify template argument values

RE: Struts without SQL?

2001-01-11 Thread Johan Compagner
Add the jdbc optional package to your classpath. Even it you don't use jdbc you need that package. johan -Original Message- From: Timur Mehrvarz [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 11, 2001 2:40 PM To: [EMAIL PROTECTED] Subject: Struts without SQL? Hello. We

Re: Spaces in URL's

2001-01-11 Thread Pierre Métras
Hi James, I'm using Struts and I noticed a problem with my web application when I was running under Netscape 4.0. I was getting different results than if I ran under IE. It turns out that the reason is because my links have spaces in the parameter values: http://foo.com/app/foo.do?parm=I

RE: Can I use a Map.Entry as a bean?

2001-01-11 Thread Chris Wilson
see my comments below... | chris wilson || web dev ||| [EMAIL PROTECTED] || | www.wondergeek.com | | -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 10, 2001 11:44 PM To: [EMAIL PROTECTED] Subject: Re: Can I use a Map.Entry as a bean?

Re: Newbie question on templates

2001-01-11 Thread Ted Husted
The template example defines a content JSP for each page in your application. Each of these may also have a companion HTML file with the unique content for each page. page1.jsp - page1.html page2.jsp page2.html This means you can keep your page content out of the JSP environment all

Properties in ActionForms

2001-01-11 Thread Roger Kjensrud
Hello, I wonder if any of you have implemented an automatic way of populating the properties in the ActionForm? It's kind of tedious to write all these setter and getter methods I found an article(http://www.javaworld.com/javaworld/jw-12-2000/jw-1201-struts.html) describing one way of doing

RE: Properties in ActionForms

2001-01-11 Thread Schachter, Michael
Roger, Although I can't think of any immediate implementations, this issue will be actively addressed in 1.1, as noted on the TODO list: http://jakarta.apache.org/cvsweb/index.cgi/jakarta-struts/src/doc/todo-1.1.x ml My current personal feeling on this matter is that form arguments should

Re: Strange problem using Weblogic 6.0

2001-01-11 Thread Craig R. McClanahan
Thierry Cools wrote: Hi Craig, Thanks for your explanations, but the problem is different, maybe I was not very clear in my first mail. The problem is that, as you can see in the adress link, Weblogic add '/' characters in the jsessionid and the servlet engine doesn't seems to be able to

Re: Struts without SQL?

2001-01-11 Thread Craig R. McClanahan
Timur Mehrvarz wrote: Hello. We are not using SQL in the presentation-tier. All DB-access happens in the EJB-tier. Therefor, when building Struts we get an "cannot resolve symbol javax.sql.DataSource" in share\org\apache\struts\action\ActionServlet.java:82 What shall I do? Regards.

Re: Properties in ActionForms

2001-01-11 Thread Craig R. McClanahan
Roger Kjensrud wrote: Hello, I wonder if any of you have implemented an automatic way of populating the properties in the ActionForm? It's kind of tedious to write all these setter and getter methods For generating the code of a form bean automatically, that is something I want to

RE: Strange problem using Weblogic 6.0

2001-01-11 Thread Zhiyong Li
I had the same problem. Is there a work around from either Struts or WebLogic (any WebLogic people out there)? Thx, Zhiyong -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 11, 2001 1:03 PM To: [EMAIL PROTECTED] Subject: Re: Strange

Re: Properties in ActionForms

2001-01-11 Thread Ted Husted
I wonder if any of you have implemented an automatic way of populating the properties in the ActionForm? Doing more with "auto beans" is being discussed for the 1.1 timefreame. Meanwhile, the latest builds support the next best thing: You can define generic data beans for your business logic

Re: Properties in ActionForms

2001-01-11 Thread Craig R. McClanahan
Oleg V Alexeev wrote: Hello Ted, In my application I use import/export methods in Form classes. For the first time I try to use PropertyUtils.copyProperties(), but this method convert properties without locale choosing. I need to process different time/date and number formats for different

Re: Any way to dynamically change flow-of-control?

2001-01-11 Thread Ted Husted
"Felciano, Ramon" wrote: - Confirm pages ("Are you sure that ?" with "Continue" and "Cancel" buttons) - Pick lists ("We couldn't find the product ID you entered; please select from the following list") - Alert pages for (possibly unexpected) server-side events that occured since the

Re: struts:errors

2001-01-11 Thread John Hunt
However ... (dramatic pause) ... using the most recent build, you can now use simple/nested/indexed expressions like this: html:text property="mailingAddress.street"/ and the appropriate processing will be applied to get the street address (for initial display) and set

Re: Newbie question on templates

2001-01-11 Thread Warren Strange
Thanks Cedric, This confirms what I thought was happening. It seems cumbersome to me to have a one to one mapping between my content and my layout. If I have one layout that I am happy with for my entire site (e.g. standard header, footer, sidebar - which may dynamically change their

Bad Error.java file in src

2001-01-11 Thread Lou . Farho
Howdy, I just got last nights source. The Error.java file is missing the package declaration and the Struts standard header. Lou Farho Sr. Engineer Level (3) Communications, Inc. 720-888-7751

Sorry that was ErrorTag.java

2001-01-11 Thread Lou . Farho
The date stamp on the file is 01/02/01 and is from the Windows source. I also got the build from jakarta-struts-src-20010111.zip It looks like from the previous binary build that this file no longer exists. Was this documented somewhere? Also, the binary from jakarta-struts-20010111.zip looks

Re:unsubscribe

2001-01-11 Thread Govindarajan S
unsubscribe

Re: Sorry that was ErrorTag.java

2001-01-11 Thread Ted Husted
-20010111.zip It looks like from the previous binary build that this file no longer exists. Was this documented somewhere? Also, the binary from jakarta-struts-20010111.zip looks pretty small 267k ! Lou Farho Sr. Engineer Level (3) Communications, Inc. 720-888-7751

Re[2]: Properties in ActionForms

2001-01-11 Thread Oleg V Alexeev
Hello martin, Thursday, January 11, 2001, 10:50:00 PM, you wrote: mctc Something I am working on at the moment is a very simple utility that mctc generates a form bean from an XML definition. The goal is simply to reduce mctc typing in generating beans - as Roger mentioned, it is kinda

Re: Documentation in nightly source distribution.

2001-01-11 Thread martin . cooper
The simplest way would be to run the struts-documentation web app in the distribution, and access the documentation that way. -- Martin Cooper Tumbleweed Communications At 02:41 PM 1/11/01 -0700, you wrote: There is a src/doc dir which contains the documentation in xml format. Is there an

Re: Documentation in nightly source distribution.

2001-01-11 Thread Ted Husted
Running build dist or ./build.sh dist from the folder where you unpacked it should do it, if all the prerequesites are installed. See http://jakarta.apache.org/struts/installation.html#Building *** REPLY SEPARATOR *** On 1/11/2001 at 2:41 PM Walter Holladay wrote:

Struts Example, error using form:html locale=true

2001-01-11 Thread Joseph Terranova
Hello, I'm using the 20010105 build of Struts running under JRun v3.00.3694 and cannot run the web example code... Here's the error I receive: 500 Internal Server Error /struts-example/: javax.servlet.ServletException: Compilation error occured: allaire.jrun.scripting.DefaultCFE: Errors

RE: Documentation in nightly source distribution.

2001-01-11 Thread Eric Wu
I tried this with the January 10 build but when I click on the User's Guide (1.0) link, I get a blank page. Is this an issue with the build or my app server (JRun 3.0) Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: January 11, 2001 4:53 PM To: [EMAIL

Re: Documentation in nightly source distribution.

2001-01-11 Thread Craig R. McClanahan
Eric Wu wrote: I tried this with the January 10 build but when I click on the User's Guide (1.0) link, I get a blank page. Is this an issue with the build or my app server (JRun 3.0) For a variety of reasons, the generated documentation has not been correct in the last few nights's

problem using struts taglibs on jrun

2001-01-11 Thread Chris Wilson
hello, i've run into a snag using the bean:write ... / tag in jrun 3.0 sp1. when i set the ignore attribute to true i get a servlet error from jrun that there's no method matching setIgnore(java.lang.String) in the write tag. so i looked at the source of the servlet that jrun compiled from my

Re: problem using struts taglibs on jrun

2001-01-11 Thread Craig R. McClanahan
Chris Wilson wrote: hello, i've run into a snag using the bean:write ... / tag in jrun 3.0 sp1. when i set the ignore attribute to true i get a servlet error from jrun that there's no method matching setIgnore(java.lang.String) in the write tag. so i looked at the source of the servlet

Re: Can I use a Map.Entry as a bean?

2001-01-11 Thread martin . cooper
At 09:57 AM 1/11/01 -0800, you wrote: Chris Wilson wrote: From: Martin Cooper [mailto:[EMAIL PROTECTED]] [snip] One interesting point that I discovered on my trails through the code is that the "type" attribute on the logic:iterate tag does not appear to be used at all. It

Re: How to populate forms the first time around?

2001-01-11 Thread Craig R. McClanahan
"Felciano, Ramon" wrote: Hi Craig -- OK, I'm definitely missing something. I thought there was a pretty tight coupling between HTML forms and ActionForm objects, Yes ... the field names on the form correspond to the property names in the bean. and that ActionForm objects could (should)

Container doesn't seem to allow *.do

2001-01-11 Thread Lou . Farho
It looks like iPlanet 6.0sp1 does not allow the servlet mapping of *.do. How can I work around this? Lou Farho Sr. Engineer Level (3) Communications, Inc. 720-888-7751

Re: Any way to dynamically change flow-of-control?

2001-01-11 Thread JamesW
This is a very interesting discussion; this sort of functionality appears to be missing from all of the servlet based frameworks out there (with possibly the exception of Hammock?). An example of what I would like struts to be able to support (and this example may have already been put forward,

Re[4]: Properties in ActionForms

2001-01-11 Thread Oleg V Alexeev
Hello Martin, With your example - form-bean name="AddressForm" validate="true" property name="street"/ property name="city" allowEmpty="false" errorMessage="error.city.required"/ property name="zip" allowEmpty="false" errorMessage="error.zip.required"/ /form-bean Global error

Directions of digester?

2001-01-11 Thread Lenz, Georg
Hei what are the directions of digester? Right now I am using digester as nice little XML2Objects (parse XML and create a hierarchical object model) tool in a non struts context. For the first simple steps it is nice but the definition of the even triggering is a little bit restricted. Is

Error in EqualTag when parsing JSP

2001-01-11 Thread Oliphant, Geoff
Error in tag library at: 'logic': The Tag class 'org.apache.struts.taglib.logic.EqualTag' has no setter method corresponding to TLD declared attribute 'scope', (JSP 1.1 spec, 5.4.1) I get this error when a jsp is being parsed. I have the build from 10/01/2001 (the night before last) and only