multiple pages with single form bean?

2002-07-04 Thread richard
Struts Newsgroup (@Basebeans.com) writes: > Where can I find a such as sample to use single form bean for multiple pages > and one single action classes? I want to use that to implement the web app > as describe in my previous post "Question on implementation with frame". Have you tried the pa

RE: should I use form bean and javabean for the same data?

2002-07-04 Thread Jim Clayson
Hi, I suppose what I'm looking for is a value object which is particular to a session, representing entity data and I have the following two questions: 1. My value object represents/shadows data which is sitting in a user entity bean. If some of the attributes represent the user's preferences an

Re: [HELP] Jasper and Custom TagLib

2002-07-04 Thread Craig R. McClanahan
This might be a bug in the JSP code in 4.1.3 (which is under active development, so might be a little more prone to bugs at the moment). Could you try this under 4.1.6 and see if it works better for you? There are also some cases in the Struts tags where we've got bugs that only get exposed when

Re: should I use form bean and javabean for the same data?

2002-07-04 Thread Craig R. McClanahan
On Thu, 4 Jul 2002, Jim Clayson wrote: > Date: Thu, 4 Jul 2002 17:58:03 +0100 > From: Jim Clayson <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: should I use form bean and javabean for the same data? > > H

How do I share ActionForm between multiple JSPs?

2002-07-04 Thread Michael
I am using one ActionForm with two, related JSPs and a single DispatchAction. What happens when validate() finds and returns errors. How does the ActionServlet know which jsp to return to? Wouldn't this require that multiple "input" tags be defined in servlet-conf.xml? Thanks

Re: Is ActionMappings shared by all the servlets ?

2002-07-04 Thread Craig R. McClanahan
On Thu, 4 Jul 2002 [EMAIL PROTECTED] wrote: > Date: Thu, 4 Jul 2002 11:57:03 +0200 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: Is ActionMappings shared by all the servlets ? > > Thank you very much for your answer. To make things clearer for me (sorr

[HELP] Jasper and Custom TagLib

2002-07-04 Thread Jacob Hookom
I am running Apache Tomcat/4.1.3-LE-jdk14 with Struts 1.1b My custom taglibs worked great previously in 4.0.4, but within 4.1.3, I get a java.util.EmptyStackException [stack trace below]. Its behavior is odd, if I put a bodysupport tag and its closing tag all on one line, there is no exception,

Re: Stop coming out with more toys

2002-07-04 Thread Craig R. McClanahan
On Thu, 4 Jul 2002, Jacob Hookom wrote: > Date: Thu, 4 Jul 2002 00:45:30 -0500 > From: Jacob Hookom <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: Stop coming out with more toys > > Ever since I join

Re: HotSpot Virtual Machine Error

2002-07-04 Thread emmanuel.boudrant
I envisage it, but I think my system adm want to kill me ;) --- [EMAIL PROTECTED] a écrit : > emmanuel.boudrant writes: > > Os is : Solaris 8 > > JDK is : 1.3.1_02 > > Java HotSpot client VM is : build 1.3.1_02-b02, > miwed > > mode > > Have you tried upgrading to 1.4 ? Is this possible

should I use form bean and javabean for the same data?

2002-07-04 Thread Jim Clayson
Hi, I read somewhere on this list sometime ago that one should bear in mind that struts form beans should be considered to be part of the view in your run-of-the-mill MVC struts app and that they should only be used for prepopulating a form and/or reporting surface level validation errors. Doe

HotSpot Virtual Machine Error

2002-07-04 Thread richard
emmanuel.boudrant writes: > Os is : Solaris 8 > JDK is : 1.3.1_02 > Java HotSpot client VM is : build 1.3.1_02-b02, miwed > mode Have you tried upgrading to 1.4 ? Is this possible ? 1.4.0_01 fixes quite a few bugs with previous versions ( and probably introduces some new ones :) ) Richard -

multipart/form-data and textarea (bug?)

2002-07-04 Thread Andreas Mack
Hi, if I use multipart/form-data as encoding in a form and submit a textarea field with newlines the newlines are lost somewhere before form population. Is this a bug or does that come naturally with multipart ? (Struts-1.1b1) Greetings, Andreas. -- Andreas Mack <[EMAIL PROTECTED]> mediales. Gm

RE: Struts vs Jsp/javascript..

2002-07-04 Thread richard
[EMAIL PROTECTED] writes: > I've used tools like JOptimize and other java profilers in the past on > straight Java applications... Is there a way to do this against a web > server? One way is to run the entire web server under the profiler. This has worked for me in the past using servletru

How I can separate my package business on another PC ?

2002-07-04 Thread audrey biagetti
I use Struts - Tomcat 4 and Wrapper to call my business objects My application contain a package "business" and I would place this package on another PC with Tomcat. How can it work ? - Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français !

hi

2002-07-04 Thread Chandra Sekharan Bhaskaran
Title: Message hi ,     What is the diff bwt property and name attribute int he struts tag.     If possible can you compare with the normal html. rgds C.Bhaskaran   **Disclaimer Information contained in this E-MAIL being proprieta

DynaActionForm vs JavaBean property to display data in JSP

2002-07-04 Thread Heligon Sandra
Hi, In a Struts application we can use two solutions to display data in the JSP pages: - The action updates the DynaActionForm associated to the request ( I don't find in the source 1.1 which method is called by the Action to do this task).

Struts Validation - Stop on fail?

2002-07-04 Thread @Basebeans.com
Subject: Struts Validation - Stop on fail? From: "Andrej Sobkowski" <[EMAIL PROTECTED]> === Hello, I've been using the Struts Validator on a couple of projects with no pbs but I'm now stuck with a (probably easy-to-solve) issue. I have a super-basic bean with 3 properties: name, density, concent

Rendering a File From a Database Blob Column on the Browser

2002-07-04 Thread Sudhir S. Shetty
Hi All, If I have a file (*.doc,*.xml,*.pdf)Stored in The Database in a BLOB , I retrieve it using the Input Stream, How Do I render it on the Browser?, any example code for it will be highly appreciated. Thanks in advance, regards, Sudhir -- To unsubscribe, e-mail:

Antwort: RE: Antwort: Re: Antwort: RE: Antwort: StrutsTestCase - setConfigFile() - LinkageError

2002-07-04 Thread Anton_Grimm
sorry, but I am not familier with this ... where can I find some information about it? thanks Toni MAN Nutzfahrzeuge AG Anton Grimm Abt. IDP (SoftwareProduktionsumgebungen) Dachauerstr.667 80995 München Tel.: 089/1580-1054 Fax: 0

struts img tag (not being processed)

2002-07-04 Thread esther . miranda
Hi all, I've just started jsp/tiles/struts ... and I'm running into the following problem: When I replace the 'html img' tag, by the corresponding 'struts img' tag, the JSP code in the src attribute doesn't get processed (see code samples). This makes that the path for the images is invalid, and

RE: App Resources bundle being read in on Servlet startup?

2002-07-04 Thread Todd G. Nist
Hello Carl, I believe the classes you are looking for are the following: org.apache.struts.util.MessageResourcesFactory org.apache.struts.util.PropertyMessageResources HTH. Regards, Todd G. Nist -Original Message- From: Schmidt, Carl [mailto:[EMAIL PROTECTED]] Sent:

RE: Antwort: Re: Antwort: RE: Antwort: StrutsTestCase - setConfigFile() - LinkageError

2002-07-04 Thread Oren Gross
Did you try to alter the excluded.properties file? - Oren Gross Java(TM) Developer Mercury Interactive APM TAC R&D +972-3-5399407 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent

File UpLoad

2002-07-04 Thread Sudhir S. Shetty
Hello Everybody, I would like to create a browse , in my application to upload a file, it could be any kind of Document i.e. *.doc,*.txt,*.xml. I would like the capability to browse to this file in my system from my application and upload it, then I have to insert it in

Antwort: Re: Antwort: RE: Antwort: StrutsTestCase - setConfigFile() - LinkageError

2002-07-04 Thread Anton_Grimm
Tadashi, as you mentioned I tried CactusStrutsTestCase earlier and -> no problems !!! I did it now again with my new Application ... changed the SuperClass of my TestCase and started my local Tomcat installation -> no problems !!! ... MockStrutsTestCase still produces this:

FW: cactus-12 issues

2002-07-04 Thread Oren Gross
Hi there, the following question was for the 'cactus' users, but I assume that many of you guys might be helpful on this one. Thanks - Oren Gross Java(TM) Developer Mercury Interactive APM TAC R&D +972-3-5399407 [EMAIL PROTECTED]

Strange problem

2002-07-04 Thread Nikolov. Dragomir
Hallo All, I am currently developing web app using struts, the application is nearly ready and I have just deployed it on Linux for testing. So far the application was developed and tested only on Windows. The problem I will describe is not really connected to struts, but

Iterate throught an array

2002-07-04 Thread @Basebeans.com
Subject: Iterate throught an array From: =?ISO-8859-1?Q?Fr=E9d=E9ric_Houbie?= === Hi, I have a bean (named active) in session, this bean has 2 arrays, hierarchyLevel and hierarchyLevelName, I need to display a table with hierarchyLevel[0] hierarchyLevelName[0] hierarchyLevel[1] hierarchyLeve

Re: Tiles DTD Missing (Again!)

2002-07-04 Thread Cedric Dumoulin
Ok, I have the same problem : * when connected, the DTD is found * when offline, DTD is not found I have to dig to know exactly where the problem is. In the meantime, you can put the tiles dtd at its old proper place in WEB-INF/classes : org.apache.struts.tiles.resources.tiles-c

Re: Antwort: RE: Antwort: StrutsTestCase - setConfigFile() - LinkageError

2002-07-04 Thread Tadashi Ishikawa
I tested CactusStrutsTestCase *NOT* MockStrutsTestCase earlier. public class TestLoginAction extends CactusStrutsTestCase { public void setUp() throws Exception { super.setUp(); setConfigFile("/WEB-INF/conf/struts-config.xml"); } It worked good in WebLogic6.1 and Tomcat4.

RE: HTML frames or JSP templates?

2002-07-04 Thread fabrice dewasmes
hi I think you should use includes. why ? Because we've made a huge project using frames and realized that it is hard to maintain and it is really painful to always check if the frames are still there and if not reload them or what to reload when user clicks on this or that : you're losing trace

HTML frames or JSP templates?

2002-07-04 Thread @Basebeans.com
Subject: HTML frames or JSP templates? From: "Hu Ji Rong" <[EMAIL PROTECTED]> === Hi, I saw some people use HTML frames while others use JSP templates to handle the frame-like pages. Which one is better? Or there are something better? Thanks in advance. JiRong -- To unsubscribe, e-mail:

Antwort: RE: Antwort: StrutsTestCase - setConfigFile() - LinkageError

2002-07-04 Thread Anton_Grimm
thanks for your answer first ... I did not understand the java-doc for setConfigFile() like this. o.k. - the File has to be on the classpath anyway ... I put the struts-config.xml in the classes directory (which is in the classpath) because I can not set nested directories in the classpath in m

Struts Validator

2002-07-04 Thread @Basebeans.com
Subject: Struts Validator From: "Adrian Cunningham" <[EMAIL PROTECTED]> === Hi, I have a couple of questions about the struts validator. In the application that I am developing I have a requirement for contract specific validation. By this I mean that an input form for the UK may have a specif

RE: html:checkbox in a table

2002-07-04 Thread Andrew Hill
Haven't tried this with the struts taglib, but am making use of this concept for my 'listviews' (where one can select multiple rows or records to do stuff to - like delete) With standard html a checkbox may have a value that it submitted when it is ticked - and as the struts tags follow their htm

Re: [Off Topic] Sending HTML e-mail via servlet

2002-07-04 Thread Nicolas De Loof
Here is an example of sending an HTML message via javaMail : Properties props = new Properties(); props.put("mail.smtp.host", SMTPHost); Session session = Session.getDefaultInstance(props, new Authenticator() { protected PasswordAuthentication getPasswordAuthentication() { retu

RE: Antwort: StrutsTestCase - setConfigFile()

2002-07-04 Thread Kevin Henrikson
StrutsTestCase requires your WEB-INF/struts-config.xml to be in the classpath. So make sure the directory above WEB-INF is in your classpath. Then by default it will find your file. If you specify a file or path in the setConfigFile() method that too must be in the classpath. -kevin > -Ori