RE: Dynamic Forms

2002-06-21 Thread Koen Puttevils
David, This is probably a very newbie question, but how are you gonna define your getters and setters in your form bean? Greetz, Koen -Original Message- From: David Morris [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 7:49 PM To: [EMAIL PROTECTED] Subject: RE: Dynamic Forms

Re: html:base tag and tiles?

2002-06-21 Thread Cedric Dumoulin
Hello, Maybe we can extend / enhance the base tag to provide such behavior. An idea is to add an optional attribute "path". If this attribute is specified, output the root URL of current web application context, concatenated with the specified path. If path is set to "" or "/", the out

Architecting an application's workflow with Struts

2002-06-21 Thread Don Elliott
Hi Brian, Happy to answer questions - I'm actually doing an Architectural Presentation on Struts to the Melbourne WebSphere user group next month, so it gives me a chance to put something on paper in preparation and get some feedback.. In summary, we use a combination of techniques for which Str

javax.servlet.ServletException: Cannot retrieve definition for form beannull

2002-06-21 Thread olschmeltzer
It seems it didn't get to the list last time I sent it... -- Envoyée par Olivier Schmeltzer/QVI/GRAF/FR le 21/06/2002 09:37 --- Olivier Schmeltzer 17/06/2002 17:48 Pour : [EMAIL PROTECTED] cc :(ccc : Olivier Schmeltzer/QVI/GRAF/FR) Objet : ja

Tiles and skeleton of well-designed pages

2002-06-21 Thread Heligon Sandra
Hi, Where can I get the file tiles-config.dtd ? the link "http://jakarta.apache.org/struts/dtds/tiles-config.dtd"; doesn't work. I want to use tiles and I don't know the syntax of the file tiles-def.xml. I am searching to do a skeleton JSP page for my ap

html:text and ActionForm

2002-06-21 Thread Barbara Post
Hi, Since the ActionForm resets my input jsp (a form with 2 text fields and a select), I'd like to save the input fields' values in a bean (what I did) and set it as session's attribute. Now suppose one input field is empty, ActionForm creates an ActionErrors, then finForwards back to the initia

AW: html:errors tag funny null strings

2002-06-21 Thread Kölbl Norbert
You have to add an errrors.header and an errors.footer entry to your properties file, wether you want to print some text before and after your errors or not. You can just leave them blank: errors.header= errors.footer= If the entries are missing, you get a 'null' printed to your page. Hope t

RE: Architecting an application's workflow with Struts

2002-06-21 Thread Andrew Hill
Don, Thanks for posting this to the forum. Theres a lot of useful information in there that relates directly to some of the stuff I am / will be doing, so I think Ill be printing this one out and going through it to see what methodologies I can make use of. :-) -Andrew -Original Message-

[ANN] Easy Struts 0.3.0 for Eclipse is out

2002-06-21 Thread emmanuel.boudrant
Easy Struts v0.3.0 just released. For the moment this version is only for Eclipse IDE. The aim of this project is to provide a collection of tools integrated with Eclipse 2.0, in order to facilitate the development of a web project based on the MVC2 Jakarta Struts framework. Changes: - v0.3.0

RE: If you haven't seen this yet.

2002-06-21 Thread Galbreath, Mark
I guess Flash scripters don't know the difference between a Dalmation and a Black Lab, huh? That's the kind of attention-to-detail I'd be looking for! ;-) -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 12:38 AM To: Struts Users Mailing List

Re: Use Jakarta's ObjectRelationalBridge (OJB) for your Struts ap p'spersistence layer

2002-06-21 Thread Matthew Lehrian
There's another tool / persistence layer I've been playing with called DMLDataAccess. It seems to be fashioned somewhat after NeXT/Apple's EOF. There's a GUI modeler tool, as well. I believe the download is compiled for J2SE 1.4, although I think versions to support older JDK's are availabl

RE: If you haven't seen this yet.

2002-06-21 Thread Jim.W.Berg
And I have never seen a Rattlesnake that had a turtle shell! Jim Berg Sr. Software Specialist PSCI 610-270-4158 [EMAIL PROTECTED] "Galbreath, Mark" <[EMAIL PROTECTED]> 21-Jun-2002 07:04 Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users M

They killed Kenny!

2002-06-21 Thread Galbreath, Mark
http://bofh.ntk.net/Bastard.html Happy Friday (just passing 72 hours for this week now...), Mark -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Tiles and skeleton of well-designed pages

2002-06-21 Thread Cedric Dumoulin
Hello, The config file is with the Struts or Tiles distribution, generally in the lib or WEB-INF directory. The Tiles distribution comes with lot of examples. There is also an advanced features guide, from Tiles website only, containing a draft of the definition file syntax (at the end).

Re: html:errors tag funny null strings -SOLVED

2002-06-21 Thread Jan Fetyko
I'm not using Websphere, but Tomcat, however putting those entries into my properties file HELPED ! THANK YOU. Jf Tim T. Young wrote: > Are you using Websphere? If you are, when null String objects get written > to a jsp > they produce a "null". Early versions of Websphere did not do this bu

RE: blank page

2002-06-21 Thread Kamholz, Keith (corp-staff) USX
Next time you're not sure if the Action got hit, it's easy to test it by putting a System.out.println in the class. Watch for the message in the server console. It's a good thing to try before posting a question, because you'll be more sure of what's going wrong. ~ Keith -Original Message

RE: id?

2002-06-21 Thread Kamholz, Keith (corp-staff) USX
Ok, you just made me realize my dumb mistake. Thanks for the help! ~ Keith -Original Message- From: Arron Bates [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 8:42 PM To: Struts Users Mailing List Subject: Re: id? Seems that you're trying to write out a property instead of

JSP Pager Tag performance issues

2002-06-21 Thread Chen, Dean (Zhun)
I am currently using JSP Tag's Pager Tag Library v1.1. The tag library is very easy to use. However, I'm suspecting there's a performance issue. I'm returning a Collection of beans. However, it takes a very long time for JSP to generate the page even for small # of results. It also takes very long

Re: blank page

2002-06-21 Thread Dave Derry
- Original Message - From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> Subject: RE: blank page > Next time you're not sure if the Action got hit, it's easy to test it by > putting a System.out.println in the class. Watch for the message in the > server console. It's a good t

Newbie: pass ResultSet to JSP?

2002-06-21 Thread @Basebeans.com
Subject: Newbie: pass ResultSet to JSP? From: "David Chu" <[EMAIL PROTECTED]> === I am trying to get my head around this struts framework for the first time. I am confused about the best/standard way to access data from a JSP. - Let's say I want a page list_items.jsp. - I have access to a bean t

RE: Validator problem (or user problem... not sure which yet)

2002-06-21 Thread wbchmura
I did a logic:messagesPresent and it showed that there was some messages present. Unfortunately neither or produces any output... ARRRHHH. This is driving me absolutely insane... If I can get this working before the weekend starts I will be ecstatic

html: password and where has my password gone ?

2002-06-21 Thread Barbara Post
I have : in a simple When I press submit I always get the error message that means that my ActionForm got an empty String when getting the password !! getting userPassword variable. So where is my password ? In the reset() method I don't touch it, and in the validate(...) method its value is

Re: Newbie: pass ResultSet to JSP?

2002-06-21 Thread Joe Germuska
You can definitely use -- you just shouldn't try to iterate the ResultSet. In a strict MVC/Model 2 approach, the ResultSet ("model") should be isolated from the JSP ("view"). In your action, just run through the result set and put the data values into a list of instances of some view-level a

RE: html: password and where has my password gone ?

2002-06-21 Thread Anand Raman
make sure that the name for the password box has a appropriate getter in the ActionForm. Struts will complain if you trying to display a form on a jsp but the ActionForm doesnt have a getter, but wont crib if a setter for the property is not present in the form. Hope this helps Anand -Origin

Re: Newbie: pass ResultSet to JSP?

2002-06-21 Thread Dave Derry
As you found, you cannot pass the ResultSet back to your JSP. This would not be a good thing if you could. That would be coupling your data layer too closely with your view layer. A better solution is to populate a Collection object with the data in your ResultSet, and pass that back to your JSP (

Re: html: password and where has my password gone ?

2002-06-21 Thread Barbara Post
You're very right Anand, my setter has a wrong name ! setPassword instead of SetUserPassword :-/ Dumb mistake to avoid ! BP - Original Message - From: Anand Raman <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 3:39 PM Subject: RE: html

Variable

2002-06-21 Thread Ricardo de Souza Moura
How can I create a int variable inside the jsp page using taglib ? Thank you _ Chegou o novo MSN Explorer. Instale já. É gratuito: http://explorer.msn.com.br -- To unsubscribe, e-mail: For additional

Re: Variable

2002-06-21 Thread Barbara Post
why using a taglib ? what is your need ? - Original Message - From: Ricardo de Souza Moura <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 3:53 PM Subject: Variable > How can I create a int variable inside the jsp page using taglib ? > > Thank you > > > __

Re: Variable

2002-06-21 Thread Ricardo de Souza Moura
I was wanting to avoid use scriptlet in my jsp page, but I think that I don't have option... Is the common pratice use scriptlet to create variables inside de jsp page ? >From: "Barbara Post" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "Struts Users Mai

Re: Variable

2002-06-21 Thread Barbara Post
can't you delegate what you want to do to an action and a bean, and or so ? if your idea is using a variable in a jsp, you still may scriptlet-like code... What is your goal ? :-) - Original Message - From: Ricardo de Souza Moura <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday,

Re: Weblogic 5.1 + commons.logging

2002-06-21 Thread Daniel Jaffa
Ok, u need to add the jar files manually to the startweblogic.sh file then - Original Message - From: "Chen, Dean (Zhun)" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, June 20, 2002 6:13 PM Subject: RE: Weblogic 5.1 + commons.logging > I'm usin

JDOM and struts

2002-06-21 Thread Alok Ghosh
How can I use jdom along with struts to read Comma Separated Values (csv)? Can jdom read csv by itself? I've been looking for an example, but can not seem to find one anywhere. Thanks, Alok.

UML? File organization?

2002-06-21 Thread wbchmura
I have been playing with UML and trying to find a good way to do the upfront design of a struts based application. Has anyone done this already and have any suggestions? I know the use-cases can pretty much stay the same... I am also putting together a document on the best way to go about

RE: Variable

2002-06-21 Thread andre . powroznik
I don't think you will get the best answer with so few details. Maybe you should reformulate your question... Andre POWROZNIK -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED]] Sent: 21 June 2002 16:16 To: [EMAIL PROTECTED] Subject: Re: Variable I was wanting t

Re: JDOM and struts

2002-06-21 Thread James Holmes
JDOM is a library for manipulating XML files and has nothing to do with CSV files. You can read in a CSV file using some simple file i/o and string tokenization. Do a search on google.com on "java csv" for info on that. -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Alok Ghos

RE: UML? File organization?

2002-06-21 Thread Kamholz, Keith (corp-staff) USX
Hi, I'm just finishing my first smallish struts app, and the first struts app deployed by the company. I'ld be interested in hearing your ideas about package structure. For now, I just use com.moog.us.beans and com.moog.us.actions for my Bean and Action classes, respectively. It seems to facili

RE: Variable

2002-06-21 Thread Galbreath, Mark
Well, you would have to use Java to convert the variable to an int anyway if you used a tag, so just byte the bullet and use the JSP syntax <%! int var = 0 %>. Mark -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 10:16 AM To: [EMAIL

RE: JDOM and struts

2002-06-21 Thread Alok Ghosh
True, I know I can use String Tokenizer for parsing. Just curious if JDOM had any built in methods similar to doing: ie.)StringTokenizer st = new StringTokenizer(text, ","); String temp = st.nextToken(); String temp1 = st.nextToken(); ... The input I am trying to read

RE: UML? File organization?

2002-06-21 Thread wbchmura
Looks like we are in the same boat... I've done it two different ways so far and I am not sure which way is better: First application com.ebind.common com.ebind.twizard.dao - objects to connect the action to the database com.ebind.twizard.database - access the database and return recordsets c

Re: Variable

2002-06-21 Thread Ricardo de Souza Moura
Maybe you get a better solution to my problem I am using this: the is indexed, and when the button is clicked I need to know what index was clicked because in my action I need the text in that index. Did you understand? I don't get to use the termI

RE: JDOM and struts

2002-06-21 Thread James Holmes
Not that I am aware of. However, this is a question for the JDOM mailing lists, not Struts. -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Alok Ghosh <[EMAIL PROTECTED]> wrote: > True, I know I can use String Tokenizer for parsing. > > Just curious if JDOM had any built in me

RE: JDOM and struts

2002-06-21 Thread Galbreath, Mark
jdom-interest is a good list, too, with a lot of contributions from Jason Hunter ("Java Servlet Programming") and Brett McLaughlin ("Java & XML" and "Building Enterprise Java Applications"), who are the primary architects of JDOM. Mark -Original Message- From: James Holmes [mailto:[EMAIL

RE: Variable

2002-06-21 Thread SATISH.T
I have'nt followed the discussion keenly though Have u tried this if u wanted the index and are'nt able to get it using the indexed property of Iterate tag <% int counter=0; %> <% counter++;%> " /> Regards, satish -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROT

UML stereotypes for Struts (Re: UML? File organization?)

2002-06-21 Thread Joe Germuska
I think this is a great topic for discussion, but I haven't thought too far about it. I would think the route would be simply to agree on a few stereotypes, and perhaps some standard names for tagged values. Are you familiar with WebUML?

RE: Variable

2002-06-21 Thread Bartley, Chris P
It's probably better to not do this in a declaration, like this: <%! int var = 0; %> But instead, use a scriptlet, like this: <% int var = 0; %> A declaration (as the O'Reilly JSP book describes) ends up being "an instance variable in the JSP page implementation class. It us therefore v

RE: Variable

2002-06-21 Thread Galbreath, Mark
very true. -Original Message- From: Bartley, Chris P [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 11:03 AM To: 'Struts Users Mailing List' Subject: RE: Variable It's probably better to not do this in a declaration, like this: <%! int var = 0; %> But instead, use a scriptl

RE: UML stereotypes for Struts (Re: UML? File organization?)

2002-06-21 Thread wbchmura
I think you are right about the sterotypes... Also I think some nice illustrative examples (maybe the struts-sample app) would be helpful to get us all on the same page. I had not seen the webuml page (printing now) but I will give it a read. I thumbed through a book on doing web applicatio

Re: Variable

2002-06-21 Thread Nicolas De Loof
As bean:define tag sets a context bean + a script variable, I use this: Nico -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Variable

2002-06-21 Thread Ricardo de Souza Moura
Ok, this is the alternative that I used. I am thinking that there was a better alternative... Thanks to all... >From: "Galbreath, Mark" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> >Subject: RE: Variable >Da

Re: UML? File organization?

2002-06-21 Thread Ted Husted
Personaly, I find it most useful to organize everything along conventional functional module or package lines. Things that are used together should be packaged together. At some point, these functional divisions might also made into actual Struts modules and developed independantly. (This prospe

extensions.tld to compile Tiles-channel example

2002-06-21 Thread Heligon Sandra
Hi, I am trying to compile the tiles example "tiles-channel" but it doesn't work. The tag library extensions.tld is required but this library is not included in the war file. Can someone send it to me ? Thanks in advance. Sandra

Action Form Dictating Value Objects?

2002-06-21 Thread hemant
Comrades, Let us take the check the fruit example posted by Larry Maturo. Here the Fruit Object needs to have a boolean value called checked. The ValueObject makes sense when its in a Struts Environment but doesnt it look like we have compromised on the Value Object definition? the checked ins

Bean define problem

2002-06-21 Thread Pete Serafin
Ive run into a problem that is probably very esaily solved, but I cant seem to find the problem. I am trying to grab a value from an attribute in my ActionForm to use as a tag parameter within my JSP. The attribute is an int. I am defining the attribute in the jsp with the following tag: Pro

Simple Formatted Date..

2002-06-21 Thread Jeff_Mychasiw
Greetings: Assuming That I do not want to use another tag lib at this point, how have others performed this type of thing: Simple Problem: I need to have today's date on every page. I would like to the format attribute in the bean:write tag to go from this: <% java.util.Date

Sturts config exception question

2002-06-21 Thread João Cerdeira
HI, i work with struts 1.1 and i have a class with submit is the parameter od the form (DispathAction) public ActionForward *submit*( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { throw new Se

Re: Action Form Dictating Value Objects?

2002-06-21 Thread hemant
Minor correction...It should have been, Let us take the fruit example. pardon my grammar hemant - Original Message - From: hemant To: struts Cc: Sanjay Pamidiparti Sent: Friday, June 21, 2002 11:12 AM Subject: Action Form Dictating Value Objects? Comrades, Let us

Re: Sturts config exception question

2002-06-21 Thread James Holmes
This is because there is a *bug* in the DispatchAction in 1.1b1 and the nightly builds. Currently the DispatchAction does not support the new Exceptions facility in Struts 1.1. There is already a bug in Bugzilla for this and I have submitted a patch. I will be applying the patch to the Struts c

Re: Sturts config exception question

2002-06-21 Thread James Holmes
Here's the bug report: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8022 -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- James Holmes <[EMAIL PROTECTED]> wrote: > This is because there is a *bug* in the > DispatchAction > in 1.1b1 and the nightly builds. Currently the > D

Re: Sturts config exception question

2002-06-21 Thread João Cerdeira
Thanks James Advertise the list when this is fixed James Holmes wrote: >This is because there is a *bug* in the DispatchAction >in 1.1b1 and the nightly builds. Currently the >DispatchAction does not support the new Exceptions >facility in Struts 1.1. There is already a bug in >Bugzilla for

MockStrutsTestCase

2002-06-21 Thread Brian Buckley
Hello, I have been trying to run the example testcase in StrutsTestCase 1.7.1 (strutstest-1.1_2.3.zip) but I am getting an error "Parsing error processing resource path /WEB-INF/struts-config.xml" from an underlying MalformedURLException/NullPointerException. I have tried to follow the instru

RE: If you haven't seen this yet.

2002-06-21 Thread micael
Calling the use of Flash "script[ing]" is like calling the use of gif or jpeg images "scripting". Don't confuse the superficialities of the plugin-html with the real product. Using Flash is not really unlike using a pgeg or a gif image, except that it has a lot more to offer. In images, Fla

RE: UML? File organization?

2002-06-21 Thread wbchmura
I understand what you are saying here. I the example below for the packages where would (1) something that cleary will be used in many packages go (2) something that could be used in another Would it make sense have both the way shown below and another package for business logic Sooo... co

Action management with Tiles-Struts

2002-06-21 Thread Heligon Sandra
I am trying to adapt my struts application with Tiles. But I don't understand very well how the action call works with Tiles . In a "basic" struts application: Essai.jsp: . Struts-config.xml:

RE: MockStrutsTestCase

2002-06-21 Thread Kevin Henrikson
You need to have the directory that contains WEB-INF/struts-config.xml in your class path. Not normally the way Struts runs but the TestCase uses the classpath to find the config file. I struggled with this for awhile as well. -kevin > -Original Message- > From: Brian Buckley [

RE: Validator problem (HELP ME PLS)

2002-06-21 Thread wbchmura
In an effort to get this resolved before I go home for the weekend, I have zipped up my application and posted it at the following URL http://www.e-bind.com/plantsec.zip (2.5 mb) I run everything here on Tomcat403. There is a datasource defined in the struts-config, but you probably wont nee

RE: UML for Struts

2002-06-21 Thread wbchmura
I just finished reading the webUML code... I think it is a good place to start... I've been using Visio 5.0 to do my UML but am not very happy with it. I'm going to tinker around with the webUML stuff and see where it looks like it wont fit struts -Original Message- From: Joe [mai

Re: UML? File organization?

2002-06-21 Thread Ted Husted
In general, I'd recommend strongly separating the Struts classes from the rest of the application. So, I'd put anything that imports from Struts into a Struts package. Conceptually, the heirarchy should descibe your application first, and then show how Struts is used to expose your application t

Re: Sturts config exception question

2002-06-21 Thread Ted Husted
If you vote for the bug, you will be automatically notified of any change in Status. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8022 The DEV list is also subscribed to Bugzilla and all changes are reported there as well. -T. João Cerdeira wrote: > > Thanks James > > Advertise the li

RE: Newbie: pass ResultSet to JSP?

2002-06-21 Thread Shekhar Jain
We've had good success in using a CachedRowSet instead of a ResultSet. -Original Message- From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 6:25 AM To: [EMAIL PROTECTED] Subject: Newbie: pass ResultSet to JSP? Subject: Newbie: pass ResultSet to JSP? From:

RE: Dynamic Forms

2002-06-21 Thread David Morris
Koen, It is pretty simple. The following should work. ArrayList dynValues = new ArrayList(); ... public ArrayList getDynValues() { return dynValues; } public void setDynValues(ArrayList dynValues) this.dynValues = dynValues; } For the example I gave was simplified. I always use a bean for

RE: UML? File organization?

2002-06-21 Thread Kevin . Bedell
>From reviewing my UML Distilled and UML Reference manual books, here are some thoughts - - According to the UML reference manual, pakage design should "reflect the high-level architecture of a system - it's decomposition into subsystems and their dependencies. Dependency among packages summariz

RE: UML? File organization?

2002-06-21 Thread wbchmura
When you say module1 and module2 below are you inferring something like billing and reporting (discrete chunks of the application?) I like this -Original Message- From: husted [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 12:50 PM To: struts-user Subject: Re: UML? File organi

RE: UML? File organization?

2002-06-21 Thread wbchmura
I don't think I would say it was my idea... I think it was either in my UML user guide book or java patterns... This is all well and good, and I could walk away nodding my head saying "yeah that sounds good"... but now in practice with struts, etc... The app I am planning now is a web app

Re: Newbie: pass ResultSet to JSP?

2002-06-21 Thread hemant
The cached Row set works extremely well for small volumes but when volumes are large, its can cause a resource problem as these objects hog the memory especially when there are a large number of users. just a thought. later hemant - Original Message - From: "Shekhar Jain" <[EMAIL PROT

RE: UML? File organization?

2002-06-21 Thread Kevin . Bedell
Not trying to put words in Ted's mouth - I'm sure he'll respond as well. I think from a pure OO design perspective, the breaking at the level of billing and reporting are good "chuncks". That is, they are likely high enough that dependencies between them would be minimal. Then breaking sub-pac

RE: UML? File organization?

2002-06-21 Thread wbchmura
Okay, so you think my breaking down into com.ebind.appname.projects.struts.createnew Is getting a little excessive? I guess I just like to see a few files in each directory... I can live without that I think! :) -Original Message- From: Kevin.Bedell [mailto:[EMAIL PROTECTED]]

AW: UML? File organization?

2002-06-21 Thread Torsten Trzeciak
-Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 21. Juni 2002 19:57 An: [EMAIL PROTECTED] Betreff: RE: UML? File organization? I don't think I would say it was my idea... I think it was either in my UML user guide book or java patterns

HELP Tiles Action Component Servlet not being called

2002-06-21 Thread Dennis Muhlestein
I am trying to test out tiles. I change my web.xml file to use the tiles ActionComponent servlet and restarted tomcat but the exception printed below appears to still be using the struts ActionServlet. I've restarted tomcat multiple times and tried changing the names of the servlet-class more th

Re: UML? File organization?

2002-06-21 Thread Ted Husted
You can probably do both. The resuable portions of the dao can go into com.ebind.projects.dao and any specific subclasses can go into com.ebind.myapp.billing.dao If you can get away with having all your dao generic, then, sure use the former. But if you are using a "blackbo

RE: HELP Tiles Action Component Servlet not being called

2002-06-21 Thread wbchmura
No wait... I know this one... I had the same problem... here is my web.xml... I have some differences from yours. Try setting it up like this. I had some issues with some old documentation on the site. (another hint: on the tiles home page there is a link to a document called advanced t

RE: HELP Tiles Action Component Servlet not being called

2002-06-21 Thread Dennis Muhlestein
Still a no-go. Fixing the servlet parameters to be tiles specific helped load the servlet. I turned the debug level up and verified the my servlet was being loaded. The following from my catalina.out Component Definitions debug level = 2 factory loaded : {indexPage={name=indexPage, path=/globa

Making Action object as singleton

2002-06-21 Thread Bhattad, Nilesh
Hello I have an Action object which is common for all JSP pages. It doesn't have any object level variable in it. What are all the advantages/disadvantages of making Action object as a singleton? Thanks in advance !! - Nilesh -- To unsubscribe, e-mail: For addition

RE: HELP Tiles Action Component Servlet not being called

2002-06-21 Thread wbchmura
I am on Tomcat 403 and it works. I would not think it was a tomcat bug because it is not really being handled by that... What does your tiles definition file look like? I had some issues in there also. I wish I could remember what I did to fix it... -Original Message- From: denn

RE: HELP Tiles Action Component Servlet not being called

2002-06-21 Thread Dennis Muhlestein
Same here 4.0.3 tomcat my defs file: http://jakarta.apache.org/struts/dtds/tiles-config.dtd";> This is being loaded ok. This is a very strange error. Thanks for you help -Dennis On Fri, 2002-06-21 at 15:09, [EMAIL PROTECTED] wrote: > > I am

RE: Making Action object as singleton

2002-06-21 Thread Joseph Barefoot
?? -- Action objects are always singletons in the Struts framework, it only creates a single instance of each Action class for delegationdo you mean, "What the the advantages/disadvantages to having only a single Action class in my framework?" peace, Joe > -Original Message- > From:

RE: Making Action object as singleton

2002-06-21 Thread Bhattad, Nilesh
Thanks for your clarification. I'm not yet much familiar with Struts framework. And I didn't know that Struts take care of making Action object as a Singleton. May be I should go back and study Struts in detail before implementing it! Thanks again. - Nilesh -Original Message- From: Jo

RE: HELP Tiles Action Component Servlet not being called

2002-06-21 Thread wbchmura
I am outta here for the weekend... But here is one last thing to try: try changing to this... otherwise you can hope that some decade old bong resin breaks loose in my brain and lets me remember how I fixed it for myself :) -Original Message- From: dennis [mailto:[EMAIL PRO

RE: HELP Tiles Action Component Servlet not being called

2002-06-21 Thread wbchmura
D'oh! -Original Message- From: dennis [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 5:23 PM To: struts-user Subject: RE: HELP Tiles Action Component Servlet not being called Well, After extensivly searching the mail archive, I found that I needed to include a controller in my

RE: Making Action object as singleton

2002-06-21 Thread Joseph Barefoot
That's okay, everyone's learning around here, myself included. :) It's good that you were planning your Action as a Singleton, though, because that's exactly how Struts treats all Action classes. Therefore, as you mentioned, you cannot have class-level member variables (unless they are static o

RE: HELP Tiles Action Component Servlet not being called

2002-06-21 Thread Dennis Muhlestein
Well, After extensivly searching the mail archive, I found that I needed to include a controller in my struts-config. Even if you user ActionComponentServlet, it still does the basic ActionServlet processing unless you change the controller too. On Fri, 2002-06-21 at 14:47, Dennis Muhlest

Does anyone ever use SiteMesh with Struts?

2002-06-21 Thread Trieu, Danny
What is the advantage of using SiteMesh over Tiles? Can someone help point out the pro/con between these to framework? -- To unsubscribe, e-mail: For additional commands, e-mail:

problem!

2002-06-21 Thread @Basebeans.com
Subject: problem! From: "Jack Gao" <[EMAIL PROTECTED]> === Hi, There I have a question about tag. I use to show the logo in my page. But the problem is: sometimes, when I first time to open the page, the logo doesn't show, because it's append something like: ";jsessionid=DC41A.." follow

debug

2002-06-21 Thread Billy Ng
Would anybody share with me how you debug the program? I am using simply emacs. Is the getServlet.log() my only choice if I just want to do something equivalent to System.out.print()? Thanks! Billy Ng

[ANNOUNCE] JSTL implementation available (Jakarta Taglibs)

2002-06-21 Thread Shawn Bayern
Struts users, As the JSP Standard Tag Library (JSTL) has hit each major milestone, I've mailed this list to notify you of its progress. Now, I have more good news. JSTL 1.0 was finalized in May 2002. Today, Jakarta Taglibs released version 1.0 of its "Standard Taglib," an implementation of JST

RE: They killed Kenny!

2002-06-21 Thread Andrew Hill
72 eh? Well you may have beaten me so far this week Galbreath but I too have Saturday and Sunday to go and I am but a few hours behind you! (Went home before midnight a couple of times this week. Guess Im going soft and getting slack?) Done 81 last week... And 83 the week before that... And

please reply with section (m)

2002-06-21 Thread slickdev
Can someone upload a struts-config.xml which has a known good section? I can't figure out how to properly set the section of the struts-config.xml. It keeps causing an inability to parse the config file, resulting in this exception: javax.servlet.ServletException: Cannot find ActionMappings o

RE: debug

2002-06-21 Thread Andrew Hill
Hehe, Im still just using System.out and watching the Tomcat window! -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 22, 2002 10:17 To: Struts Users Mailing List Subject: debug Would anybody share with me how you debug the program? I am using simply em

Re: debug

2002-06-21 Thread Billy Ng
How come I do not see the System.out result print to the xterm? How do you do it? Billy Ng - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 9:57 PM Subject: RE: debug > Hehe, Im still just usin

RE: If you haven't seen this yet.

2002-06-21 Thread Arron Bates
Haven't done anything serious in Flash?... the scripting inside it is quite excellent (now. Not thier first ireatation with v4). Mark was probably (hopefully?) talking about this scripting ability. Used not unlike another image format?... wow. You need to take a more serious look, mandinga. On S

Re: debug

2002-06-21 Thread slickdev
damn... FAST eyes! - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 11:57 PM Subject: RE: debug > Hehe, Im still just using System.out and watching the Tomcat window! > > -Original Message---

  1   2   >