Antwort: StrutsTestCase - setConfigFile()

2002-07-03 Thread Anton_Grimm
forgot about this: I am using Struts 1.0.1 and StrutsTestCase 1.6 ### I did read the faq and searched the archive, but I still get the following error ... I played around with the method setConfigFile(pathname); in my MockStrutsTestCase and always get a Missing Resource ... /WEB-

StrutsTestCase - setConfigFile()

2002-07-03 Thread Anton_Grimm
I did read the faq and searched the archive, but I still get the following error ... I played around with the method setConfigFile(pathname); in my MockStrutsTestCase and always get a Missing Resource ... /WEB-INF/struts-config.xml or a NullPointerException ### public

Handling loop --

2002-07-03 Thread Zayed
Hi, Typo in my previous mail... Please read the second line as I am listing all the Students in a jsp . A click on the Student Name takes me to studentDetails.jsp [EMAIL PROTECTED] wrote: > Hi, > > What is the best way to handle the following sample scenario in struts. > I am listing all the S

Handling loop --

2002-07-03 Thread Zayed
Hi, What is the best way to handle the following sample scenario in struts. I am listing all the Students in a class. A click on the Student Name takes me to studentDetails.jsp <% String studentName = null; for(int i=0 ; i < studentArray.length ; i++) { studentName = studentArr

RE: Stop coming out with more toys

2002-07-03 Thread Martin Cooper
Why not just unsubscribe? Then you won't hear about all the cool new stuff we come up with, and you won't be frustrated about the stuff you can't use... ;-} -- Martin Cooper > -Original Message- > From: Jacob Hookom [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 03, 2002 10:46 PM >

RE: Installation in JDeveloper

2002-07-03 Thread Jan Vervecken
maybe this can help http://technet.oracle.com/products/jdev/howtos/jsp/StrutsHowTo.html -Jan >>> [EMAIL PROTECTED] 03-07-02 19:40 >>> I am new having tough time in installing Struct in JDeveloper and running my first JSP page. I would appreciate if any one can give some info or provide a link

Stop coming out with more toys

2002-07-03 Thread Jacob Hookom
Ever since I joined this mailing list, I've basically near-reprogrammed my application 3 times now: first it was struts actions, then it was implementing the display library, and now the validator in 1.1b... please... stop coming out with more toys, my boss is getting pissed. -jake --- Outgoing

HOw to define the action ..??

2002-07-03 Thread Manish_Purang
Hi, We are trying to build a web application which posts the data obtained from the user form to another website. Using just simple HTML we were able to do so with the URL of the website's ( a certain application running there -- situation similar to contacting the payment gateway from your JSP's

RE: how to implement modular applications ?

2002-07-03 Thread Martin Cooper
At this point, I think your best bet is Craig's original message on this topic: http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg04354.html -- Martin Cooper > -Original Message- > From: Christophe Thiébaud [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 20, 2002 8:28 AM >

Re: How to implement a schedule in my application

2002-07-03 Thread Duke Ronlund
Hi, If you use resin you can use the run-at element in your web.xml file. Only problem is it's vendor specific :( http://www.caucho.com/resin/ref/app-config.xtp#run-at Duke On Thu, 2002-07-04 at 07:19, [EMAIL PROTECTED] wrote: > > Hi All, > > I want to implement a schedular in my applicat

RE: Wow - Continued...

2002-07-03 Thread Joe Celentano
> -Original Message- > From: [EMAIL PROTECTED] > --- > The Display Tag library ( http://edhill.its.uiowa.edu/display/ ) > This was the best one I could find for it, although the documentation is > somewhat lacking and required some source diving to

Re: how to remove ActionForm from session

2002-07-03 Thread Scott Carlson
If you are in an Action that specified that form with the "name" attribute in the Struts-config.xml, you can use this sample: request.getSession().removeAttribute(mapping.getName()); If you have a BaseAction class (always a good idea), you could

Re: Just how cooked is Struts Validation at this point?

2002-07-03 Thread Chuck Cavaness
I've used it in 1.1b quite a bit and find it very stable and have used it in more than just trivial examples. I also know or several large projects using it, both within Struts and in the business components. No issues. I would recommend using it. For what that's worth, Chuck At 06:30 PM 7/3/

RE: How to implement a schedule in my application

2002-07-03 Thread Rajesh Kalluri
Take a look at... http://sourceforge.net/project/showfiles.php?group_id=23781 Quartz is java based open source scheduling it has good ddocumentation , i never used it though. So when you have a working example or two please post it back to the list :-), i would be intersted in using it for my f

[Off Topic] Sending HTML e-mail via servlet

2002-07-03 Thread @Basebeans.com
Subject: [Off Topic] Sending HTML e-mail via servlet From: "Matt Raible" <[EMAIL PROTECTED]> === Does any have any links, examples, or tips for sending an HTML-based message in a servlet? Thanks, Matt -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Just how cooked is Struts Validation at this point?

2002-07-03 Thread Kevin Henrikson
Well maybe you should go with Struts 1.1b We've been using this for a while now and haven't run into any major issues. I think you're complicating your problem by trying to roll your own from the nightly which is in transition on several fronts. IMHO if you go with 1.1b and you'll be a much ha

Just how cooked is Struts Validation at this point?

2002-07-03 Thread James Turner
How ready to use do people consider the validation portion of Struts right now? I'm basing this question on having spent several hours trying to get it installed, and discovering that: 1) It required commons-validator 2) commons-validator has never been made available as a binary 3) Building t

App Resources bundle being read in on Servlet startup?

2002-07-03 Thread Schmidt, Carl
I've read the docs, but it just gives me some intro on the concepts behind localization, resource bundles, etc. I also read the source, but got a little lost. Can someone please direct me to the .java file within struts where the application resources. props file is read in to the resource bundl

tiles - dynamic portal - db code?

2002-07-03 Thread John Menke
has anyone tried to implement the tiles dynamic portal example with a real db that persists the preference to a database? If so can you give me an overview of what is involved? -john -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Facing error at startup

2002-07-03 Thread James Mitchell
Yes, your struts-config.xml is hosed. Can you post it (without sensitive information)? James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Original Message- > From: Susmita Pati [mailto:[EM

How to implement a schedule in my application

2002-07-03 Thread wbchmura
Hi All, I want to implement a schedular in my application. Basically I want to be able to specifiy events in the application and have it perform predetermined tasks (such as e-mail a user). I can do all of that, but I am not sure how to handle the... is it time to do something? I can make

load() exception in tomcat4.0.4

2002-07-03 Thread Michael Delamere
Hi, I have just moved my application from my embeded tomcat/jboss to my freshly installed binary tomcat4.0.4 (without jboss). The problem is that my application won´t work anymore! I´m getting the error displayed below: = ERROR === 2002-07-03 20:56:20 StandardWrapper[/g

RE: Why would I want to maintain my JSP's in a JSP-SRC directory?

2002-07-03 Thread wbchmura
This sounds good. I like the idea of a conf directory... What is your opinion of keeping the configuration with the different forms, etc... For example, right now I have an application.resources file in each directory that is concatinated by ant. I have done the same thing also with tiles de

html:checkbox in a table

2002-07-03 Thread Toni Nehme
Hi Everyone, Does anyone knows or have an example that displays a table of records with a checkbox in each row and when user submit the form, will be able to know which row is checked? If so,please let me know how to do it or send me an example. Thanks. ___

RE: JBuilder and Struts

2002-07-03 Thread James Turner
At 01:46 PM 7/3/2002, you wrote: >Message-ID: <[EMAIL PROTECTED]> >Date: Wed, 3 Jul 2002 18:03:14 +0200 (CEST) >From: "emmanuel.boudrant" <[EMAIL PROTECTED]> >Subject: RE: JBuilder and Struts >To: Struts Users Mailing List <[EMAIL PROTECTED]> >MIME-Version: 1.0 >Content-Type: text/plain; charset=i

Re: Installation in JDeveloper

2002-07-03 Thread James Holmes
July 03, 2002 8:36 AM > To: 'Struts Users Mailing List' > Subject: RE: Tiles DTD Missing (Again!) > > > Cedric, > > I downloaded the 20020703 build and this morning and > got the same error. I > started with a clean webapp, copied over the .jar > and

Installation in JDeveloper

2002-07-03 Thread Khan, Manuchehar A (ACF)
AM To: 'Struts Users Mailing List' Subject: RE: Tiles DTD Missing (Again!) Cedric, I downloaded the 20020703 build and this morning and got the same error. I started with a clean webapp, copied over the .jar and .tld files, and started Tomcat. These message came up almost immediate

Re: Cannot use an extended logger with the ValidationForm

2002-07-03 Thread Craig R. McClanahan
On Wed, 3 Jul 2002, Hemanth Setty wrote: > Date: Wed, 3 Jul 2002 10:02:32 -0500 > From: Hemanth Setty <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Cannot use an extended logger with the ValidationForm > > Hello, > > I have exte

RE: Can osCache work with Struts applications?

2002-07-03 Thread Craig R. McClanahan
On Wed, 3 Jul 2002, Martin Samm wrote: > Date: Wed, 3 Jul 2002 08:26:34 +0100 > From: Martin Samm <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: Can osCache work with Struts applications? > > can't

RE: Why would I want to maintain my JSP's in a JSP-SRC directory?

2002-07-03 Thread Craig R. McClanahan
On Wed, 3 Jul 2002 [EMAIL PROTECTED] wrote: > Date: Wed, 3 Jul 2002 08:45:33 -0400 > From: [EMAIL PROTECTED] > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: Why would I want to maintain my JSP's in a JSP-SRC directory? > > I've been cooking a doc

RE: Submit Actions

2002-07-03 Thread Kamholz, Keith (corp-staff) USX
Thanks a lot Randolph, Joe, and Manfred. That'll help out a lot. I guess there really is more than one way to skin a cat... ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Randolph Watson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 9:37 AM To: Struts Use

Re: Validator Example: Error

2002-07-03 Thread Rob Leland
Jacob: Try downloading the latest build, it has many bugs fixed. I believe that in beta 1.1 the contrib validator example still used the regexpr.jar(org.apache.regexp.RESyntaxException ) but the validator used oro-2.0.6.jar both are from Jakrata-Apache top level. And I don't believe the regexpr

Re: Processing an action for an index page?

2002-07-03 Thread Dave Dribin
On Tue, Jul 02, 2002 at 04:01:13PM -0700, Max Cooper wrote: > Put something like this in your web.xml file: > > > /MyAction.do > I remember having problems with this (at least making index.do a welcome file). I think it is because there is actually no file named "index.do" so some web

Re: What Jar is this Class from?

2002-07-03 Thread Joe Germuska
At 11:44 AM -0500 2002/07/03, Jacob Hookom wrote: >What Jar is this Class from? > >org.apache.regexp.RESyntaxException jakarta-regexp(-version).jar Validator used to use it, although the latest versions use jakarta-oro instead. as a general rule, if it begins with org.apache.*, then you can fin

ExceptionInInitializerError in CactusStrutsTestCase

2002-07-03 Thread Oren Gross
I am extending CactusStrutsTestCase to test my action in Struts. Without even referring to anything in my Struts, I am getting the following errors: In the JUnit: java.lang.ExceptionInInitializerError: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBun

Re: What Jar is this Class from?

2002-07-03 Thread emmanuel.boudrant
Is's in the jakarta-regexp-1.2.jar from Jakarta Regexp http://jakarta.apache.org/regexp/index.html -Emmanuel --- Jacob Hookom <[EMAIL PROTECTED]> a écrit : > What Jar is this Class from? > > org.apache.regexp.RESyntaxException > > -jake > > --- > Outgoing mail is certified Virus Free. > Ch

Struts LogoffAction example error ?

2002-07-03 Thread Heligon Sandra
I posted a message on a forum about HttpSession and Logoff. I asked why doesn't it not allow to clear simultaneously all session attributes?, in the LoggoffAction of the struts example we find the following lines: session.removeAttribute(Constants.SUBSCRIP

Re: Is there a good way to achive a html:submit?

2002-07-03 Thread Joe Germuska
At 11:17 AM -0500 2002/07/03, Hemanth Setty wrote: >Is there a good way to achive a html:submit using a href rather than a >button? I checked out the attributes for html:link..but could not find any? You'd have to have an onclick handler which used JavaScript to submit the form. It's not someth

What Jar is this Class from?

2002-07-03 Thread Jacob Hookom
What Jar is this Class from? org.apache.regexp.RESyntaxException -jake --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.373 / Virus Database: 208 - Release Date: 7/1/2002 -- To unsubscribe, e-mail:

ONLY FOR ONE WAR -- PLEASE HELP! RE: Weblogic 5.1 + commons.logging - HERE'S THE ANSWER!

2002-07-03 Thread Brian Knorr
Getting the latest nightly commons-logging.jar works great if you are deploying one war file... but we have many war files deploying and this only fixes the first war file that is deployed. All the other deployed wars throw the following exception: java.lang.NoClassDefFoundError: org/apache/co

Is there a good way to achive a html:submit?

2002-07-03 Thread Hemanth Setty
Is there a good way to achive a html:submit using a href rather than a button? I checked out the attributes for html:link..but could not find any? -h -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: JBuilder and Struts

2002-07-03 Thread emmanuel.boudrant
I think the error mean : Your struts.jar isn't in project library, JBuilder cannot found the org.apache.struts.taglib.html.MessagesTei is the project lib. -Emmanuel --- James Turner <[EMAIL PROTECTED]> a écrit : > At 05:21 AM 7/3/2002, you wrote: > >Subject: RE: JBuilder and Struts > >Date:

RE: back office tool (urgent, TIA)

2002-07-03 Thread Adolfo Miguelez
Uhmm, thanks Daniel for the tips. I have been browsing Torque, (which actually can run decoupled from Turbine), so I could invoke it from Struts action e.g. However, I have just to discover a bad new. Torque generates 4 .java files for each table in the DB, so I need rebuild with ant, for eac

Validation and Nightly Build Bug

2002-07-03 Thread Michael Connor
I downloaded the nightly build for July 2 and my Dynamic Form validation stopped working. The plug-in appears to load but never picks up the validation.xml files. I can even rename the validation.xml definition to a file that doesn't exist and it doesn't seem to care. I move back to the last re

RE: Validator Example: Error

2002-07-03 Thread Jacob Hookom
UPDATED FROM PREVIOUS POST: I recently updated to struts 1.1b and I've successfully updated my larger application at the root. Curious, I deployed the validator.war and for some reason, the validator example app reports at its index.jsp: ERROR: Validator resources not loaded -- check Commons Lo

RE: Retrieving keys from the MessageResources object

2002-07-03 Thread Schmidt, Carl
Yes, I looked at that as well. Meantime, I discovered an alternative solution to my problem that fit the design a little better. Thank you for the reply though. Carl -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 11:24 AM To: Struts Use

RE: JBuilder and Struts

2002-07-03 Thread James Turner
At 05:21 AM 7/3/2002, you wrote: >Subject: RE: JBuilder and Struts >Date: Tue, 2 Jul 2002 16:08:58 -0700 >MIME-Version: 1.0 >Content-Type: text/plain; > charset="iso-8859-1" >Message-ID: <[EMAIL PROTECTED]> >From: "Dave Hodson" <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL P

RE: Tiles DTD Missing (Again!)

2002-07-03 Thread Jerry Jalenak
Cedric, I downloaded the 20020703 build and this morning and got the same error. I started with a clean webapp, copied over the .jar and .tld files, and started Tomcat. These message came up almost immediately. Jerry -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED

RE: back office tool (urgent, TIA)

2002-07-03 Thread Eyassu, Daniel
Torque auto generates source code based on a set of of XML descriptions of your database schema, which you can then programmatically use to carry out CRUD operations. Turbine (which includes Torque) does not create any HTML for you; it is just an application framework. If you find the Torque/Turb

RE: Need help with DynaStuff... (Humor)

2002-07-03 Thread Clay Graham
this was running around the tomcat users list for a while good stuff. clay -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 8:20 AM To: [EMAIL PROTECTED] Subject:Need help with DynaStuff... (Humor) I am out the res

RE: Retrieving keys from the MessageResources object

2002-07-03 Thread Schmidt, Carl
Forgot to mention I'm running struts 1.0.1 and cannot upgrade at this time, just in case it matters. Carl -Original Message- From: Schmidt, Carl [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 11:15 AM To: Struts (E-mail) Subject: Retrieving keys from the MessageResources objec

Re: Retrieving keys from the MessageResources object

2002-07-03 Thread James Holmes
MessageResources is an abstract base class. Take a look at PropertyMessageResources for more information on the concrete subclass that your implementation is likely using. -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- "Schmidt, Carl" <[EMAIL PROTECTED]> wrote: > I'd like to g

Re: Editing a List of Strings

2002-07-03 Thread Lolik Tum
You might have to put copy of your list of Strings as an ArrayList of StringBean Objects on a session and iterate through them. Later collect the changes inside your Action class and put them back into your value object. - Original Message - From: "Jon.Ridgway" <[EMAIL PROTECTED]> To: "'

RE: back office tool (urgent, TIA)

2002-07-03 Thread Adolfo Miguelez
I guess that I can also use Torque from Turbine (Apache), for the same. Does any of you have a experience with it? It seems that can generate the HTML front end pages. Maybe I can mix it up with struts also Adolfo. >From: "Eyassu, Daniel" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mail

Validator Example: Error

2002-07-03 Thread Jacob Hookom
I recently updated to struts 1.1b and I've successfully updated my larger application at the root. Curious, I deployed the validator.war and for some reason, the validator example app reports at its index.jsp: ERROR: Validator resources not loaded -- check Commons Logging logs for error messages

Re: Charting tools

2002-07-03 Thread Brad_Horstkotte
We're using Sitraka Server Views (the same product you mention I think, they've changed the name a few times since introducing it), works well but kinda expensive - we've also used Espress Chart from Quadbase successfully - http://www.espresschart.com/. Brad

Retrieving keys from the MessageResources object

2002-07-03 Thread Schmidt, Carl
I'd like to get an array of all keys from the MessageResources object. The API states MessageResources only inherits from object, so needless to say there were no methods there, and I can't find any on the MessageResources object itself. Am I correct in assuming this is not possible? Carl -- T

Need help with DynaStuff... (Humor)

2002-07-03 Thread wbchmura
I am out the rest of the week and I was saving this one for Friday so here it is today: First there was DynaBeans then DynaForms But what about: DYNAMEN - Ultra silly redubbing of a Japanese monster/superhero show. Ran on night flight during the eighties then showed up on syndicated TV for a

What is the path when specify an action with unknown set to true?

2002-07-03 Thread Jason Zhou
Best Regards, J. Jason Zhou Business Intelligence Platform Division (BIP), R & D, SAS Institute, 100 SAS Campus Dr. Cary, North Carolina 27513-8617 Voice: 919-531-0568(O) Email: [EMAIL PROTECTED]

Re: Tiles DTD Missing (Again!)

2002-07-03 Thread Cedric Dumoulin
Maybe when you have tried yesterday you had a connection to Jakarta server. So, the dtd has been found on jakarta site. The Struts modified version should be available in the nightly build now. Have you try the version stamped 20020703 ? Cedric Jerry Jalenak wrote: > Cedric, >

Cannot use an extended logger with the ValidationForm

2002-07-03 Thread Hemanth Setty
Hello, I have extened the Logger class to provide a custom logging mechanism. (com.xxx.yyy.MyLogger) When I try to use this logger with a class extended from ValidationForm (com.xxx.yyy.MyValidationForm), it wont work. As the ValidationForm creates a logger and assignes the default logger (org.ap

RE: LinkageError on MockStrutsTestCase

2002-07-03 Thread Oren Gross
I am using xerces-1_4_4\xerces.jar (first thing in my CLASSPATH) and steel getting this error - Oren Gross Java(TM) Developer Mercury Interactive APM TAC R&D +972-3-5399407 [EMAIL PROTECTED] -Original Message- From: Deryl

Re: Why would I want to maintain my JSP's in a JSP-SRC directory?

2002-07-03 Thread Ted Husted
Even if you are not using CVS, there can be several other benefits to doing this. Personally, I keep my JSPs in a directory off the root, rather than under WEB-INF. So switching between editing these and the Java source can mean bouncing up and down several directory levels. If you keep the JSPs

Re: DynaActionForm vs ActionForm

2002-07-03 Thread chuckcavaness
Sandra, One source of information on the subject is Chapter 7 from my Struts book that I'm currently writing. It might not be able to answer all of your questions, but it should get you started in the right direction on it. You can download the draft chapter from here: http://www.theservers

Tiles DTD Missing (Again!)

2002-07-03 Thread Jerry Jalenak
Cedric, The problem with the Tiles DTD missing is either back, or I screwed something up yesterday when it looked like it was fixed. Either way, I am getting the following error when I try to start Tomcat: Jul 3, 2002 9:39:49 AM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fata

Re: Who's creating the session?

2002-07-03 Thread Adolfo Miguelez
http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg34928.html >From: Les Dunaway <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Who's creating the session? >Date: 03 Jul 2002 09:42:59 -0400 > >I've put > <% > b

RE: Submit Actions

2002-07-03 Thread Randolph Watson
I have included a code snippet that provides an alternative solution: In the perform() method of the Action subclass, just evaluate the "action" parameter. In the example above, the value will be either "Update" or "Refresh". I hope this answers your que

LinkageError on MockStrutsTestCase

2002-07-03 Thread Oren Gross
I ran the simpliest sample on an action, and got the next error. java.lang.LinkageError: Class org/xml/sax/HandlerBase violates loader constraints at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.d

Re: Submit Actions

2002-07-03 Thread Joe Germuska
At 9:00 AM -0400 2002/07/03, Kamholz, Keith (corp-staff) USX wrote: >Hey everyone, >I have a question that may have a very simple answer. I have a small form >where the user enters an entry number. There are two submit buttons, one >for a 'Delete' and the other to 'Edit'. I want to send a dif

Who's creating the session?

2002-07-03 Thread Les Dunaway
I've put <% boolean newSess = session.isNew() ; if (newSess) {out.print("new session");} else {out.print("session not new / " + session.getId());} %> in a .jsp which is reached by forward from the index.jsp. I expected to find a new session, instead I find a session

DynaActionForm vs ActionForm

2002-07-03 Thread Heligon Sandra
I read that DynaActionForm is better than ActionForm because - this mechanism doesn't require to create a Java class for each type of from bean; - if a HTML field changed the DynaActionForm doesn't need to be recompiled but how does it work ? - with Action

Facing error at startup

2002-07-03 Thread Susmita Pati
Hi All, I am facing this error when i startup tomcat. I have the version 4.0.2. Tough my application works fine but I see this error. Can anyone figure out whats going wrong? Thanks in advance Susmita Parse Error at line 410 column 14: The content of element type "action" must match "(icon?,di

RE: Editing a List of Strings

2002-07-03 Thread Jon.Ridgway
Hi Richard, Yes I had thought of something similar. Unfortunately the form uses a value object one of the properties of which is the list of Strings. As the value object is used throughout the system, I'm not at liberty to change it. Many thanks for the suggestion however; anyone else have any t

RE: Submit Actions

2002-07-03 Thread Gruner, Manfred
Hi , You have to do this via Javascript! Put a hidden field in your form and set the value to the action that should be performed. The javascript will be called when you press a button. They are no longer of type submit. The javascript set the right value to the hidden field and then submits the f

Submit Actions

2002-07-03 Thread Kamholz, Keith (corp-staff) USX
Hey everyone, I have a question that may have a very simple answer. I have a small form where the user enters an entry number. There are two submit buttons, one for a 'Delete' and the other to 'Edit'. I want to send a different parameter to the action depending on which button is clicked. It w

Editing a List of Strings

2002-07-03 Thread richard
Jon.Ridgway writes: > I have a List of Strings within a logic:iterate block and want to edit them > using html:text. This tag however requires a property attribute so the > RequestUtils.populate method knows which setter to call when the form is > submitted. As a String doesn't have a getter o

RE: Why would I want to maintain my JSP's in a JSP-SRC directory?

2002-07-03 Thread wbchmura
I've been cooking a document about the collected seemingly best practices of doing this... I tend to not like to bundle multiple apps in one container and like to keep them split up. Why? I'm not sure... -Original Message- From: DCancro [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July

RE: Why would I want to maintain my JSP's in a JSP-SRC directory?

2002-07-03 Thread wbchmura
Is that from experience? :) -Original Message- From: Jan.Vervecken [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 4:27 AM To: struts-user Subject: RE: Why would I want to maintain my JSP's in a JSP-SRC directory? JV> Maybe to prevent losing your JSP files when you let Ant cl

RE: Struts application initialisation workflow.

2002-07-03 Thread Heligon Sandra
Thanks for your information. I don't remember that the RequestPorcessor must be defined in the struts-config file. I read the servlet 2.3 specifications and more precisely sections which deal with Lifecycle events. But this section doesn't explain if the container instantiates the struts controlle

RE: Struts application initialisation workflow.

2002-07-03 Thread Heligon Sandra
I know the link http://husted.com/struts/ it is very good, but I am some difficulties to access information about Struts forum, and it is painful to see this message through mails like '[EMAIL PROTECTED]'. I learn a lot of thinks in the Struts API but I don't think that it is the best solution to

Editing a List of Strings

2002-07-03 Thread Jon.Ridgway
Hi All, I believe this should be possible, but can't find a way to make it work... I have a List of Strings within a logic:iterate block and want to edit them using html:text. This tag however requires a property attribute so the RequestUtils.populate method knows which setter to call when the

RE: Struts 1.1 on Weblogic

2002-07-03 Thread Jon.Ridgway
Hi All, I've seen similar behavior with 1.1b. I've not got to the bottom of it, but have found that if I uninstall the war and redeploy all is OK. So it can work, but WebLogic seems to be getting in a tizz somehow. I'll let you know what I come up with... Jon Ridgway -Original Message-

RE: Struts application initialisation workflow.

2002-07-03 Thread Robert Taylor
Many the questions you ask can be answered by understanding the current servlet specification. And as you already mentioned, many of the Struts initialization questions can be answered by simply looking at the RequestProcessor methods. I've seen other threads which discuss in detail the initializa

Re: Struts 1.1 on Weblogic

2002-07-03 Thread Tadashi Ishikawa
Does your WLS support web-app_2_3.dtd? Anand Narayan wrote: >I am getting the following error while trying to port an app from Struts 1.0 >to 1.1 >Has anyone encountered anything similar. Thanks > > ><[WebAppServletContext(7902680,sps-web-test,/sps-web-test)] Root cause of >ServletException >

RE: Struts application initialisation workflow.

2002-07-03 Thread Rajesh Pradhan
Hi Heligon, There are some very good documents at the http://husted.com/struts/ and also u can read the Struts API which also would really be useful. There is also one UML diagram showing the whole flow of struts application. if u want it .. i will fwd it to u. bye. cheers Rajesh Pradhan ---

Struts application initialisation workflow.

2002-07-03 Thread Heligon Sandra
Hi, Where can I find information about the application start-up sequence diagram ? I need to know in which order struts components and servlet classes are instantiated. For example if I use ServletContextListener, HttpSessionListener, and a sub-class of Re

Re: JBuilder and Struts

2002-07-03 Thread @Basebeans.com
Subject: Re: JBuilder and Struts From: "Adrian Cunningham" <[EMAIL PROTECTED]> === Hi, I had problems setting up JBuilder 5 with Struts 1.1b1 but the following link explains all. http://www1.tramsasp.com/?section=dev&page=jb5Struts11.html&PHPSESSID=bccb92 9f53520275357ee071d055f3a2 Regards,

AW: Help about transaction tokens aim

2002-07-03 Thread Manfred Wolff
Hi. The struts transaction token prevents that users klick the back-button in the browser. Some Applications , e.g. workflow driven apps, can not deal with back-buttons, because it may be, that a database transaction is fullfilled, and there is no chance for a rollback. The method saveToken(requ

Help about transaction tokens aim

2002-07-03 Thread Heligon Sandra
Hi, I search documentation and examples about transaction token mechanism. I know transaction mechanism with database but I don't know "transaction token", can somebody explain why is it important to use this mechanism in the web application ? T

RE: Why would I want to maintain my JSP's in a JSP-SRC directory?

2002-07-03 Thread Jan Vervecken
JV> Maybe to prevent losing your JSP files when you let Ant clean up a previous build? >Can anyone think of a good reason why I would want to maintain all of my >JSP files in a JSP-SRC directory and have ant move them during the >compile to a real JSP dir? -- To unsubscribe, e-mail:

RE: Can osCache work with Struts applications?

2002-07-03 Thread Martin Samm
can't remember what version of the Servlet spec is in Tomcat 3.3, but certainly i've used OSCache with Tomcat/Struts (1.0) - OSCache needs servlet spec 2.3 if memory serves. -Original Message- From: Steinar Bang [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 21:34 To: [EMAIL PROTECTED] S