Re: How To Work Out This Action Mapping?

2003-10-10 Thread Caroline Jen
To answer your questions: 1. The LOGON button links to a forward: LOGON and in my struts-config.xml, I have 2. the in my web-xml is: Administrative /do/admin/* administrator contributor By the way, t

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Craig R. McClanahan
Caroline Jen wrote: Thank you very much for the detailed explanation. Yet, I still have hard time to make my application work -- I am "able" to display the welcome page (no problem). And I have http://localhost:8080/PracticeVersion/do/Menu;jsessionid=0A6E76A8F3E849BC8DAAC45BFB72F72E in the addres

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Caroline Jen
Thank you very much for the detailed explanation. Yet, I still have hard time to make my application work -- I am "able" to display the welcome page (no problem). And I have http://localhost:8080/PracticeVersion/do/Menu;jsessionid=0A6E76A8F3E849BC8DAAC45BFB72F72E in the address bar. However, afte

Re: Keeping Actions clean - separating actions from business model from persistence

2003-10-10 Thread Sasha Borodin
What I'm trying to grasp is where it it best for the business object <---> dao interaction to take place. OK, let's make an example, cause I'm having trouble thinking abstractly tonight... An online store customer selects several products, clicks "check out", which calls a CheckOutAction. From t

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Craig R. McClanahan
Caroline Jen wrote: Thank you for your reply. I am using container managed authentication. My problem is "how to go from j_security_check back to my Struts framework." That turns out to not be your problem ... that is the container's problem. The key thing to remember is that the user should

Re: HashMap with options

2003-10-10 Thread Michael D. Norman
> Manav wrote: > > Can i use HashMap with options? > > something like: > > type="java.util.HashMap" /> > labelProperty="value"/> Manav, Yes, you should be able to use any Map as the collection, with the attributes you have defined above for . However, your needs a name attribute if you're goi

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Caroline Jen
Thank you for your reply. I am using container managed authentication. My problem is "how to go from j_security_check back to my Struts framework." I have my Tomcat JDBCRealm configured and users, user_roles tables prepared in the database. In my struts-config.xml file, I did this forward when

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Sasha Borodin
I think you may be doing two things wrong: 1. j_security_check is a special URL. If you have a security realm defined in your web application, and authentication method specified as FORM, then the container will automatically forward any requests for protected resources to a configurable login f

Re: HashMap with options

2003-10-10 Thread Sgarlata Matt
You might want to investigate using a List of LabelValueBean objects instead. Matt - Original Message - From: "Manav Gupta" <[EMAIL PROTECTED]> To: "Struts Developers (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, October 10, 2003 12:24 PM Subject: HashMap with options > Hi > > Can i use H

Re: Keeping Actions clean - separating actions from businessmodel from persistence

2003-10-10 Thread Sgarlata Matt
- Original Message - From: "Sasha Borodin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, October 10, 2003 8:33 PM Subject: Re: Keeping Actions clean - separating actions from businessmodel from persistence > Matt, thanks for your quick feedback. >

How To Work Out This Action Mapping?

2003-10-10 Thread Caroline Jen
Because there is such a statement (shown below) in my signinForm.jsp: I put in my struts-config.xml file. When I ran the application, I got: [ServletException in:/article/content/signinForm.jsp] Cannot retrieve mapping for action /j_security_check' I know that I did not specify the

RE: Keeping Actions clean - separating actions from business mode l from persistence

2003-10-10 Thread Mahesh Joshi
Hi I have generally have done the following: In the Action: Use a DTO(data transfer object) to transform the ActionForm to a business layer data object Instantiate the business logic class of interest Call a method on the business logic passing the DTO object

Re: Keeping Actions clean - separating actions from business model from persistence

2003-10-10 Thread Sasha Borodin
Matt, thanks for your quick feedback. > I use my own framework because I don't know any better. > > public abstract class DaoManager { > public abstract IRecordDao createDao(Connection conn, String daoClassName) > throws DaoException; Which tier calls your DaoManager? It seems from your code th

Re: JavaServer Faces

2003-10-10 Thread Vic Cekvenich
Frank Maritato wrote: So, displaytag is a pretty interesting taglib. It is very nice, I use it a lot! Does it need to have the entire dataset, or can it use an action/controller to lazy load the information from a datasource (or ejb, or web service, etc.) ? View layer does not deal with data o

Re: JavaServer Faces

2003-10-10 Thread Craig R. McClanahan
Susan Bradeen wrote: Thank you, Craig, for the umpteenth time for saying this. Why are so many people still talking about throwing in the Struts towel?! This is open source, is it not? Is it not the job of open source to keep ahead of the standards with great ideas that continue to make our job

Re: Keeping Actions clean - separating actions from business modelfrom persistence

2003-10-10 Thread Sgarlata Matt
I use my own framework because I don't know any better. I am using Torque as my underlying persistence mechanism, and I have introduced a very simple level of indirection that I think should keep me independent of Torque in the future (I plan to swap in Hibernate or OJB on the next app I work on).

Re: how to keep developing time as short a possible?

2003-10-10 Thread Vic Cekvenich
I think I have a good practice: Point Resin (or container) to your project where IDE is: Cany changes to Java or JSP, you do not need to restart resin. (changes to xml files, you do). I also recomend dual mointors, resin console and browser on right; Eclipse front and center. As soon as I save a

Keeping Actions clean - separating actions from business model from persistence

2003-10-10 Thread Sasha Borodin
Ted, Matt, Joe, and all the other helpful folks that chimed in earlier on persistence mechanisms: In trying to keep with best practices, I've managed to remove all "model" related code (business logic, and persistence) out of the Actions' execute() method. Now I'd like to take it one step further

HTTP Status 404 After Inserting In The web.xml

2003-10-10 Thread Caroline Jen
I think this is more of a problem in the area of Servlets/JSPs. Nonetheless, it happened when I ran my Struts application and I decided to give a try at this forum. My application worked well with FORM /signin/logon.jsp /signin/logon.jsp?error=true in the web.xml file. Thereaft

RE: OT - book on Java patterns

2003-10-10 Thread Mark, Scott
I think this is a good J2EE-oriented one; has some very practical examples if you are new to patterns. Core J2EE Patterns: Best Practices and Design Strategies by Deepak Alur (Author), John Crupi (Author), Dan Malks (Author)

OT - book on Java patterns

2003-10-10 Thread Sasha Borodin
All this talk lately of various official "patterns" has my brain hurting from the Unknown again. Can anyone recommend a good book on *patterns* - business delegate, visitor, dao, etc. etc. etc. Thanks, -Sasha - To unsubscribe,

RE: ugly ugly ugly

2003-10-10 Thread David Graham
--- Derek Richardson <[EMAIL PROTECTED]> wrote: > Do I still declare my properties files in struts-config and associate > them with keys? Yes, and add this to you web.xml file so will also know where to find your messages: javax.servlet.jsp.jstl.fmtlocalizationContext com.yourcorp.Resources

"No getter method" error

2003-10-10 Thread Dennis Dunn
Hello, I am working on my first Struts application and I've run into a problem with reading bean properties with the taglibs. I am using the NetBeans IDE w/j2sdk 1.4.2 and Struts 1.1. OK, this is what I see in my browser: [ServletException in:/tiles/timesheet_viewer.jsp] No getter method for

RE: ugly ugly ugly

2003-10-10 Thread Derek Richardson
Do I still declare my properties files in struts-config and associate them with keys? Knew it is a part of the JSTL, didn't know it's a drop-in replacement for b:message. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 5:48 PM To: Struts User

Re: JavaServer Faces

2003-10-10 Thread Christian Bollmeyer
Am Freitag, 10. Oktober 2003 21:09 schrieb Chen, Gin: If I also may share my thoughts about this all here: Well, I'm doing not only Java or J2EE, but was alo forced upon the role of chief developer for our 'main' product (which is a traditional C/S application written in Delphi) some time ago. No

RE: ugly ugly ugly

2003-10-10 Thread David Graham
--- Derek Richardson <[EMAIL PROTECTED]> wrote: > Is fmt:message a complete replacement for b:message? What do I have to > know to use it? Yes. is part of the JSTL http://java.sun.com/products/jsp/jstl/ David > > -Original Message- > From: David Graham [mailto:[EMAIL PROTECTED] > S

Re: JavaServer Faces

2003-10-10 Thread Kito D. Mann
I think the main point is that JSF is primarily about standard re-usable user interface components. It has basic controller functionality, but the UI component side of things is the real focus. Many existing frameworks -- Struts, UIX (Oracle's framework), and others, will continue to add a bunch

RE: ugly ugly ugly

2003-10-10 Thread Derek Richardson
Is fmt:message a complete replacement for b:message? What do I have to know to use it? -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 4:35 PM To: Struts Users Mailing List Subject: Re: ugly ugly ugly ... That's what I would do except use th

Re: [OT] Is Java Overkill?

2003-10-10 Thread Ted Husted
I have to admit, there are days when I would tend to agree :> MIT is a place where they take pride in trying to invent the future. Something we should all keep in mind is that our world is still young. We've only scratched the surface, and there's a lot of future left to invent. No matter how

Re: JavaServer Faces

2003-10-10 Thread Ted Husted
Craig R. McClanahan wrote: Craig (who notes that it took Struts nearly three years to get a wide breadth of tools support) Though, the Struts tool explosion coincided with the more general Java tool explosion. If we have GUIs like today's Eclipse and IntelliJ three years ago, we would have seen

Re: Struts 1.2 - When?

2003-10-10 Thread Ted Husted
Fenderbosch, Eric wrote: > *waits patiently for validWhen* Why be patient? Pitch in: http://jakarta.apache.org/struts/faqs/helping.html http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsJobJar And, under the Apache Software License, any interested party can roll a release: http://jakarta.apac

Re: ugly ugly ugly

2003-10-10 Thread Evan Schnell
David Graham wrote: --- "Fenderbosch, Eric" <[EMAIL PROTECTED]> wrote: The whole use-a-named-property-for-everything is great so that marketing can change the text/copy without involving a HTML/JSP developer, as well as the future ability to I18N a site down the road. However some things just

Re: JavaServer Faces

2003-10-10 Thread Susan Bradeen
Thank you, Craig, for the umpteenth time for saying this. Why are so many people still talking about throwing in the Struts towel?! This is open source, is it not? Is it not the job of open source to keep ahead of the standards with great ideas that continue to make our jobs easier, more intere

Re: ugly ugly ugly

2003-10-10 Thread David Graham
--- "Fenderbosch, Eric" <[EMAIL PROTECTED]> wrote: > The whole use-a-named-property-for-everything is great so that marketing > can change the text/copy without involving a HTML/JSP developer, as well > as the future ability to I18N a site down the road. However some things > just get ugly. > Exa

ugly ugly ugly

2003-10-10 Thread Fenderbosch, Eric
The whole use-a-named-property-for-everything is great so that marketing can change the text/copy without involving a HTML/JSP developer, as well as the future ability to I18N a site down the road. However some things just get ugly. Example: Old line of HTML: The FedEx Custom Critical Shipping T

RE: Struts 1.2 - When?

2003-10-10 Thread Fenderbosch, Eric
*waits patiently for validWhen* -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 16:07 To: Struts Users Mailing List Subject: Re: Struts 1.2 - When? I believe there's an issue with some of the tests right now. Once those are resolved, I believ

Re: Struts 1.2 - When?

2003-10-10 Thread Ted Husted
I believe there's an issue with some of the tests right now. Once those are resolved, I believe someone might cut a 1.2.0 release to promote the latest release of the Commons Validator. -Ted. David Farell wrote: When we can expect Struts 1.2 Beta? (other then "when it’s ready", can we guess a m

Re: JavaServer Faces

2003-10-10 Thread Ted Husted
Craig R. McClanahan wrote: There is a functionality overlap in the core controller role, and for some people JavaServer Faces will be sufficient by itself. It's not unlike the situation with the JSTL SQL tags. For very simple Model 1 applications, these can be "sufficient unto the day". But, fo

Struts 1.2 - When?

2003-10-10 Thread David Farell
When we can expect Struts 1.2 Beta? (other then "when it’s ready", can we guess a month?) Thank You, David __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -

Re: Odd Behavior with

2003-10-10 Thread Barry Volpe
Yes that worked. Thanks Barry - Original Message - From: "Chen, Gin" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, October 10, 2003 12:02 PM Subject: RE: Odd Behavior with Not status.index you need to add a var='foo' and do: > > > Also, If yo

Re: force download on excel file when clicked on

2003-10-10 Thread Christian Bollmeyer
Am Freitag, 10. Oktober 2003 17:48 schrieb Joseph Sze: Still, it's the MIME type that determines how things are handled. If it helps, I once developed a simple Servlet for solving another guys problem with GZip streams on JSP-INTEREST. For experimental purposes, I added options for overriding the

RE: Please help with this error "???en_US.errors.required???"

2003-10-10 Thread Daniel H. F. e Silva
Hi Vivien, I think it depends on Struts version you are using. I use 1.1 and everything works fine. Your config tells Struts to look for your resources at package org.apache.struts.webapp.tiles.dev1-1. So, you should have, for instance, this: WEB-INF -- | |--- classes

RE: JavaServer Faces

2003-10-10 Thread Chen, Gin
If I culod sepll this mghit mkae snese. -Teem -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 3:09 PM To: 'Struts Users Mailing List' Subject: RE: JavaServer Faces See.. Anyone reason that this should be kept public is to correct our understan

RE: JavaServer Faces

2003-10-10 Thread Chen, Gin
See.. Anyone reason that this should be kept public is to correct our understanding of what JSF is really about. ;) With the talks of JSF and it's UI/Action like capabilities it is no wonder that we think of it as a possible alternative to Struts. To use it with Struts seems to me as saying that yo

Re: [OT] Is Java Overkill?

2003-10-10 Thread Christian Bollmeyer
Am Freitag, 10. Oktober 2003 13:18 schrieb Mark Galbreath: Am I right this MIT 'technology guru' recommends Visual Basic in favor of Java because 'J2EE is much too complex' and JDBC binding variables have to be accessed by their ordinal position in PreparedStatements? Hm. But then, how does the re

RE: Odd Behavior with

2003-10-10 Thread Chen, Gin
Not status.index you need to add a var='foo' and do: Also, If you want 11-20 you should have begin as 11 not 10. -Tim -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 2:54 PM To: Struts Users Mailing List Subject: Re: Odd Behavior with :

RE: [ot] Time format and time picking?

2003-10-10 Thread Paananen, Tero
> I don't recall any handy dandy utilities for time. Sure, > there are plenty > for dates, but I don't seem to recall that being requested > very often or I > just have missed it since it hasn't been a requirement in any > of my latest > projects. Wouldn't a combination of java.util.Calendar (

Re: Odd Behavior with

2003-10-10 Thread Kris Schneider
Try ${status.index} Quoting Barry Volpe <[EMAIL PROTECTED]>: > This creates a menu of 1 - 10 > > > year > > > > > > > > This creates a menu of 1-11 > > > > > > > > > > >

Odd Behavior with

2003-10-10 Thread Barry Volpe
This creates a menu of 1 - 10 year This creates a menu of 1-11 Why doesn't this create a menu of 10-20?? Barry

Odd Behavior with

2003-10-10 Thread Barry Volpe
This creates a menu of 1 - 10 year This creates a menu of 1-11 Why doesn't this create a menu of 10-20?? Barry

Re: JavaServer Faces

2003-10-10 Thread Craig R. McClanahan
Chen, Gin wrote: Since JSF is *supposed* to replace Struts, so to speak, This statement is *not* a correct understanding of what is happening! Anyone who claims that doesn't get it. You should absolutely, positively plan on evaluating the use of JavaServer Faces components instead of the Stru

RE: Please help with this error "???en_US.errors.required???"

2003-10-10 Thread Chen, Vivien
Thanks for your tips which gave me some idea what to look for. My web.xml is fine. The problem is I have the following in my struts-config.xml, which I copied/pasted from the strust-config.xml in the Struts tiles_documentation examples. Will my application, which uses tiles, breaks at some poin

RE: JavaServer Faces

2003-10-10 Thread Chen, Gin
-Original Message- From: Kito D. Mann [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 7:55 PM To: Struts Users Mailing List Subject: Re: JavaServer Faces Anyway, we're probably getting a little too off-topic, so drop me a line personally if you want to chat more :-). Kito

RE: Please help with this error "???en_US.errors.required???"

2003-10-10 Thread Daniel H. F. e Silva
Hi Vivien, Sorry, but i did not make myself clear. Property you have to check existence in web.xml is "application". It has same effect as "parameter" attribute of . So, if you find it there (web.xml), remove it. Hope it helped you. Regards, Daniel. --- "Chen, Vivien" <[EMAIL PROTECTED]> w

RES: Struts and Tomcat JDBC Realms

2003-10-10 Thread Michel Bertrand
Hi ! Tks for your answer. Now I understood what's happing (I hope so) ... I have a "multipart/form-data" and it has in its action a forward to a common text form, like: I believe when it reaches the redirect="true", Struts clear the request attributes and lost my user. So I have the authentica

Re: reloading of properties/resources file

2003-10-10 Thread James Mitchell
You can't. This subject gets beaten to death about once a month. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 770.822.3359 AIM:jmitchtx - Original Message - From: "Richard Raquepo" <[EMAIL PROTECTED]> To: "Struts Users Mailing Lis

Re: Cannot find BEAN in any scope

2003-10-10 Thread Shawn . Rummel
If you add the actionForm to the session this will disappear. I would be interested if this is the best practice. I do it because it works. Does any one have a better way of handling this or is this the correct way? Shawn

Re: [ot] Time format and time picking?

2003-10-10 Thread James Mitchell
I don't recall any handy dandy utilities for time. Sure, there are plenty for dates, but I don't seem to recall that being requested very often or I just have missed it since it hasn't been a requirement in any of my latest projects. -- James Mitchell Software Engineer / Struts Evangelist http:/

Please help with this error "???en_US.errors.required???"

2003-10-10 Thread Jerome Curlier
The problem seems to be that Struts is looking for the resource with the en_US locale. One way to fix the problem is to use and to enclose the of your document. Jerome

Re: [ot] Time format and time picking?

2003-10-10 Thread Mick Knutson
No, I understand how to get the time correct, I am just hoping someone has a utility that will help me do this, as well as convert it back to 12 hour formatted time. Just so I don't have to re-invent the wheel. --- Thanks Mick Knutson The world is a playground...Play Hard, Play Smart. Visit htt

Re: defaullt selection of radio button

2003-10-10 Thread mohamed ebrahim faisal
HI You will be assigning values for every radio butttons right, give one of those values as the iniatilization parameter for the property you have assosciated with the radio button in the bean. I mean String prop = "x"; after that second radio with value "x" will be selected. E.FAISAL

RE: Processing a 'POST' from the JSP Page for an ArrayList?

2003-10-10 Thread shishir.katdare
along with showing create a hidden property with the same name and input and then u will be able to get the changes. Don't know the reason but this solves my problem , as i feel bean:write is only going to display the values for the given field -Original Message- From: Michael Blair [

RE: Please help with this error "???en_US.errors.required???"

2003-10-10 Thread Chen, Vivien
I checked my web.xml and did not see message-resources being defined there. Do you have any other idea where I might do wrong. I am really stuck with this problem now. Vivien -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED] Sent: Fri 10/10/2003 9:55 AM To:

Re: [ot] Time format and time picking?

2003-10-10 Thread James Mitchell
Add 12 to the hour. 8:30 AM == 830 8:30 PM == 2030 1:00 PM == 1300 ...is that what you wanted? -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 770.822.3359 AIM:jmitchtx - Original Message - From: "Mick Knutson" <[EMAIL PROTECTED]> T

HashMap with options

2003-10-10 Thread Manav Gupta
Hi Can i use HashMap with options? something like: such that the option value is the key and the labelProperty is the value? thanks M

Re: force download on excel file when clicked on

2003-10-10 Thread Andy Engle
Joseph Sze <[EMAIL PROTECTED]> wrote: > Is there a way to foce download when a linked is click to download a > excel file rather than opening into the current browser window. > > For zip or exe it will automatically force a download of the type. > I tried changing the mime types but didn't see

[ot] Time format and time picking?

2003-10-10 Thread Mick Knutson
I need the ability to have a user choose their own Time. But, I can only seem to get 24 hour time to work. So, Either I need to find a JavaScript Time Chooser, or I need help to figure out how to convert the time (8:56PM) to the Military time. Any help on this? --- Thanks Mick Knutson The world

force download on excel file when clicked on

2003-10-10 Thread Joseph Sze
Is there a way to foce download when a linked is click to download a excel file rather than opening into the current browser window. For zip or exe it will automatically force a download of the type. I tried changing the mime types but didn't seem to work. Thanks for any information.

RE: Cannot find BEAN in any scope

2003-10-10 Thread Mainguy, Mike
Generally this means you did not specify the name properly i.e. Where MyForm= your formbean "name" property (or any bean stuffed in your request for that matter) -Original Message- From: Pat Young [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 11:22 AM To: [EMAIL PROTECTED] S

Processing a 'POST' from the JSP Page for an ArrayList?

2003-10-10 Thread Michael Blair
I'm new to struts and so far love it, but this piece is killing me. I have a jsp, form bean, view, action. I am ok with loading an arraylist and embedding it into the jsp page using the iterate. Now, I want to make changes to the table in the browser which is represented as an iterator, and then I

Cannot find BEAN in any scope

2003-10-10 Thread Pat Young
I get this error when trying to use a bean write tag... Cannot find bean org.apache.struts.taglib.html.BEAN in any scope org.apache.jasper.JasperException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j

RE: How to use tiles for Error Pages? [SOLVED]

2003-10-10 Thread Fenderbosch, Eric
Thanks! This works: <%@ page language="java"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> 404 -Original Message- From: David G Friedman

help with requiredIf validation

2003-10-10 Thread Mick Knutson
I have the following requiredIf that does not seem to actually work: minlength 2 maxlength 32

RE: [OT]Keel

2003-10-10 Thread Butt, Dudley
http://www.keelframework.org -Original Message- From: Butt, Dudley Sent: Friday, October 10, 2003 4:32 PM To: '[EMAIL PROTECTED]' Subject: [OT]Keel Hi anyone tried Keel out yet? Reason why I'm asking here is because this mailing list is so active... NOTICE: This message contains pr

Re: Please help with this error "???en_US.errors.required???"

2003-10-10 Thread Adam Hardy
On 10/10/2003 03:55 PM Daniel H. F. e Silva wrote: Hi Vivien, Take a look at your web.xml. Maybe you copied it from Struts dist and message-resources was already configured there. As settings in web.xml will override settings in struts-config.xml, classloader can't find resource to be loaded an

Re: [OT]Keel

2003-10-10 Thread Sgarlata Matt
I'm interested in Keel also. I heard Joe Germuska collectively call the following products 'microkernels': Hivemind http://jakarta.apache.org/commons/sandbox/hivemind/ Keel http://keelframework.org/ Spring http://www.springframework.org/ PicoContainer http://www.picocontainer.org/ I've only done

RE: How to use tiles for Error Pages?

2003-10-10 Thread David G Friedman
Eric, If the page isn't accessed through a struts action, you need to insert the tiles definition before your tiles:insert commands like so: Regads, David -Original Message- From: Fenderbosch, Eric [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 10:39 AM To: [EMAIL PROTECTED] S

Re: Struts and Tomcat JDBC Realms

2003-10-10 Thread Adam Hardy
On 10/10/2003 01:46 PM Michel Bertrand wrote: Hi all ! I was woundering about using Struts in Tomcat with JDBC Realms. I found lots of topics about Strunts and Realms but using policy files and I did not find any question or topic involving struts and JDBC Reals. Does struts support the use of JD

[Really OT] Fw: Error in my DBUnit import syntax

2003-10-10 Thread Mick Knutson
I am very sorry for this off topic posting, but after a week, there is just no response, nor much traffic on the DBUnit site to help with this. Maybe someone here is using DBUnit and could help me figure out this issue. > I am getting an error importing my DB.xml file. I export it, then try to >

How to use tiles for Error Pages?

2003-10-10 Thread Fenderbosch, Eric
I've been able to use tiles for most of my pages, but how can I use it for an error page, like 404.jsp or 500.jsp? For my normal pages, I've declared them in my tiles-config.xml and then the JSP is quite simple, and that is all working fine. Since I need to define my error pages in my web.xml,

Re: [OT] Is Java Overkill?

2003-10-10 Thread Adam Hardy
On 10/10/2003 01:18 PM Mark Galbreath wrote: http://www.sys-con.com/Java/article.cfm?id=2257 Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] He must have been turned down by Su

RE: Tools for Testing

2003-10-10 Thread Jayaraman Dorai
If the struts example could come with examples on how test cases could be written, that will help novices like us. Will having test cases within struts example be beyond the scope? > -Original Message- > From: Shane Mingins [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 09, 2003 1

Re: [OT]Keel

2003-10-10 Thread Mick Knutson
What is the url? --- Thanks Mick Knutson The world is a playground...Play Hard, Play Smart. Visit http://www.YourSoS.com to learn how our "Personal Emergency Alert & Contact System" can help you Play Smart. +00 1 (708) 570-2772 Fax MSN: mickknutson ICQ: 316498480 ICQ URL: http://wwp.icq.com/31

[OT]Keel

2003-10-10 Thread Butt, Dudley
Hi anyone tried Keel out yet? Reason why I'm asking here is because this mailing list is so active... NOTICE: This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or othe

Help with Tiles matching a checkbox

2003-10-10 Thread Mick Knutson
I am trying to have a Tile replace an html checkbox with an image. But I can't seem to get this to work. <%= checkbox %>:::logicmatch <%= checkbox %>logic:notMatch <%= checkbox %>:::logicmatch <%= checkbox %>logic:notMatc

Re: Tools for Testing

2003-10-10 Thread Mike Kienenberger
Martin Gainty <[EMAIL PROTECTED]> wrote: > Modify Artur's TestCase generator > http://wttools.sourceforge.net/unittestsgen/package.html > to handle StrutsTestCase > and this could be automated... > beautiful, Funny you should bring this up. I just spent Wednesday working with StrutsTestCase and U

Re: Please help with this error "???en_US.errors.required???"

2003-10-10 Thread Daniel H. F. e Silva
Hi Vivien, Take a look at your web.xml. Maybe you copied it from Struts dist and message-resources was already configured there. As settings in web.xml will override settings in struts-config.xml, classloader can't find resource to be loaded and then you get that messages. Hope i helped you

Please help with this error "???en_US.errors.required???"

2003-10-10 Thread Chen, Vivien
I have a login.jsp which I use DynaValidatorForm. Both the username and password are required fields. When I submited the page without entering these data, I got "???en_US.errors.required???" and "???en_US.errors.required???". It looks like the validation was peformed because I got two error.req

RE: defaullt selection of radio button

2003-10-10 Thread muzammil shahbaz
The bean parameter which are using to store the value for this radio button after form submission; just initialize that to the value which you want to be checked by default when page renders. e.g. in form-bean, you have: int param = 1; // initializing with the no. that you want to be checked in

RE: redirect problem

2003-10-10 Thread Carlos Sanchez
In struts-config.xml My authentication filter used an atribute "authenticationRequired" in the action mapping (note that this is not an elegant solution because it doesn't follows the DTD specification) /** * A filter to check if the action to be executed requires that the user had * bee

RE: ejb's and tomcat

2003-10-10 Thread harm
"As far as bad advice goes, most of the people I know in the *real* world agree with my assessment: JBoss is not worth the trouble. In short, it's crap." You must be joking, right? I certainly live in the real world. And in my 'real' world we realy use JBoss. We use it for development and even

RE: ejb's and tomcat

2003-10-10 Thread Brian McSweeney
"the only reason I posted that msg was for baiting purposes" Look, I just don't think that is helpful to anyone. If you are deliberately saying stuff in order to bait people into a reaction then IMHO this is the wrong place to do it. I also think that stating this on the list is a valid enough pla

defaullt selection of radio button

2003-10-10 Thread Sunil Sharma \(C\)
Group, I had some radio buttons. There is requirement to auto select one of the button by default. Can any body give me some pointers how can I do that Thanks in advance Sunil

problem with forwarding to input from the method validate

2003-10-10 Thread Raphaël di Cicco
Hi, I'm working with Struts 1.1 and tiles. It seems like the validate() can't forward to my tiles page when an ActionErrors occurs. Here is my struts-config.xml file : When my method validate on EditDossCEForm fails it returns a non null ActionErrors and this is supposed to forward to the in

RE: redirect problem

2003-10-10 Thread koen boutsen
So,I have to write my session control in the doProcess() method ? How do I have to configure my application so that every request goes through this filter ? -- - Original Message - DATE: Fri, 10 Oct 2003 13:58:40 From: Carlos Sanchez <[EMAIL PROTECTED]> To: "'Struts Users Maili

Re[2]: How to read contents of MANIFEST.MF

2003-10-10 Thread Martin Gross
That is what I was looking for. Thanks a lot. > Will this do? > import java.util.jar.Manifest; > ... > ServletContext ctx = ...; > InputStream in = ctx.getResourceAsStream("/META-INF/MANIFEST.MF"); > if (in != null) { > Manifest mfst = new Manifest(in); > ... > in.close(); > } > Quoting Ma

RE: contains(String, String) in DynaActionForm

2003-10-10 Thread Horky Adam G A1C 805 CSPTS/SCBE
is a reference to a value in the Application.resources file -Original Message- From: Marc Dugger [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 5:14 PM To: [EMAIL PROTECTED] Subject: contains(String, String) in DynaActionForm Can someone explain the parameters of this method

RE: redirect problem

2003-10-10 Thread Carlos Sanchez
You can extend RequestProcessor using a intercepting filter pattern for preprocessing (http://java.sun.com/blueprints/patterns/InterceptingFilter.html), so you don't have to check the session in every jsp. public class MyRequestProcessor extends RequestProcessor { PreProcessingFilter firstP

RE: How to read contents of MANIFEST.MF

2003-10-10 Thread Kris Schneider
It's not mine, I'm just holding onto it for a friend. Quoting Mark Galbreath <[EMAIL PROTECTED]>: > Where did you get this from? > > -Original Message- > From: Kris Schneider [mailto:[EMAIL PROTECTED] > Sent: Friday, October 10, 2003 7:50 AM > > import java.util.jar.Manifest; -- Kris

RE: How to read contents of MANIFEST.MF

2003-10-10 Thread Mark Galbreath
Where did you get this from? -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 7:50 AM import java.util.jar.Manifest; - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

  1   2   >