automate login to other opensource apps

2003-11-14 Thread Jack Bakker
other projects aside, what's the best (and most secure) way of trapping the password in plaintext to pass to other apps ? Seems like it should be a simple thing to do but getPassword of the Realm doesn't appear to be exposed ? am I missing something obvi

RE: jsp output to file

2003-11-06 Thread Jack Bakker
Thanks, I'll give this a try. -- jack > -Original Message- > From: Greg Hess [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 06, 2003 9:47 AM > To: 'Struts Users Mailing List' > Subject: RE: jsp output to file > > > To achive this I generaly

jsp output to file

2003-11-05 Thread Jack Bakker
to render the same 10 output pages but this time save them as html files on the server. i.e., how can I, from one action, call 10 other actions and instead of returning output to the browser, save as a server-side html files. -- jack

Re: MVC2 way to stick a collection in page scope?

2003-08-15 Thread jack beany
system I know, but it gives me a good excuse to learn some of the ins and outs of Enterprise JavaBeans. Anyway, let me know if I can help further. On Thu, 2003-08-14 at 09:12, jack beany wrote: > >From: Vic Cekvenich <[EMAIL PROTECTED]> > > > >jack beany wrote: > &

MVC2 way to stick a collection in page scope?

2003-08-14 Thread jack beany
Hi All, I have my index page, and want a blog on it. Blog entries are in a table, and I have all the db query side sorted out. What I want to know is the best practice way of making a DAO which can be called from my index page and also from my findblog action. The index page would pass a few

Re: PropertyUtils.copyProperties and DynaValidatorForm

2003-08-14 Thread jack beany
Hi Adam, From: Adam Hardy <[EMAIL PROTECTED]> Yes that's the way to populate the DVForm. If you need a form the easiest way to instantiate it is to make sure it is set in the struts-config.xml form = new DynaValidatorForm(); Any idea why this leaves form=null? The form I'm going to populate is

Re: MVC2 way to stick a collection in page scope?

2003-08-14 Thread jack beany
From: Vic Cekvenich <[EMAIL PROTECTED]> In an MVC one does not cache data (results) in a view (jsp) Model is for data layer, and data caching goes in model. A DAO like iBatis or Hibrenate has configurable auto cache. iBatis certainly looks good... Currently using JNDI, but this could save

Re: MVC2 way to stick a collection in page scope?

2003-08-14 Thread jack beany
From: Vic Cekvenich <[EMAIL PROTECTED]> jack beany wrote: yup... so i have my Blog bean which calls the DAO for persistance. What I want to know is how to best structure the searching for a bunch of blog beans/records/objects, and then stick that in page scope for presentation wit

RowSetDynaClass - iterating the dynabean collection properly

2003-08-14 Thread jack beany
Any ideas what's wrong, or better still, what is the preferred method for looping through a RowSetDynaClass produced collection to produce a page of links to an edit action? Thanks! Jack __

PropertyUtils.copyProperties and DynaValidatorForm

2003-08-14 Thread jack beany
Hi All, Trying to do a PropertyUtils.copyProperties(DynaValidatorForm,mybean) to copy the current values of my bean into my DynaValidatorForm and I hit a java.lang.NullPointerException when it tries to do this. Problem seems to be when I check for the form parameter (ActionForm -> Execute), and

Returning values from a BasicDynaBean in jsp

2003-08-14 Thread jack beany
Short and simple this time, What's best practice on displaying (in either jstl or struts) values from within a BasicDynaBean? Ideally want a working version of RowSetDynaClass is one of the best things in struts but has to be one of the worst documented. Thanks!

Re: Returning values from a BasicDynaBean in jsp

2003-08-07 Thread jack beany
From: Kris Schneider <[EMAIL PROTECTED]> Didn't like the JSTL Result suggestion, I guess ;-). As a JavaBean, Well personally I have no preference, just want something that works efficiently and cleanly :) The example you have had the query in the jsp, wheras I'm trying to stay away from anything

Re: Returning values from a BasicDynaBean in jsp

2003-08-07 Thread jack beany
From: Kris Schneider <[EMAIL PROTECTED]> I guess my previous example wasn't clearly formatted, but it certainly wasn't supposed to illustrate executing a query from a JSP. Here's a modified example: Java (e.g. an action): -- import javax.servlet.jsp.jstl.sql.Result; import

RE: [OT] Scrollable Result Set

2003-06-25 Thread Jack Zakarian
trade off that I accepted. Passing in an offset and a limit allows you to position the cursor and return a limited set or records. Jack Ds is the dataSource conn = ds.getConnection(); pstmt = conn.prepareStatement(SELECT_HDR_CONDITION_SQL+condition, ResultSet.TYPE_SCROLL_INSENS

RE: Using reporting "tools" in Struts?

2003-05-30 Thread Jack Bakker
Win32) which is based on JasperReports http://ireport.sourceforge.net/ -- jack > -Original Message- > From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 29, 2003 5:58 PM > To: Struts Users Mailing List > Subject: Using reporting "tools"

12 month contract - Toronto - immediate start

2003-04-03 Thread Jack Nodel
Hi All, My name is Jack Nodel, I work with ARES consulting. Recently one of my clients has asked me to locate contractors for a Toronto based 12 month contract. The following is the list of required technical skills. Excellent communication is an absolute must. We are searching for a subject

RE: Struts Module Arch Q

2003-03-27 Thread Jack Bakker
You don't need EJB to use container managed security. Look at: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html Jack Bakker > -Original Message- > From: Navjot Singh [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 9:04 AM > To: Struts U

CheckBox values passed from actionForm to bean

2003-03-19 Thread Jack Zakarian
some of the checkboxes struts only populates the data bean with the selected boxes. I have searched the archives , apache.org and Struts in Action but couldn't find an answer or solution. Any help would be appreciated. Thanks, Jack

RE: struts-menu used with or without Tiles?

2003-03-19 Thread Jack Zakarian
Hi Mick, I'm using StrutsMenu with Tiles. It works fine. Jack -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 11:22 AM To: [EMAIL PROTECTED] Subject: struts-menu used with or without Tiles? Is struts-menu to be used with or wi

StrutsMenu Coolmenu4 images

2003-03-19 Thread Jack Zakarian
ouseOut(); return args; } How can I get images to load for my top and sub menu items? Thanks, Jack.

RE: Struts-Menu onClick & forcing a submit

2003-03-17 Thread Jack Zakarian
be selected from a database table or XML file based on the userid and password. If I use the onclick="document.submit();" I will still need to set the forms action to the new url. Thanks for the reply and suggestion. Jack -Original Message- From: Edgar Dollin [mailto:[EMAIL PRO

Struts-Menu onClick & forcing a submit

2003-03-17 Thread Jack Zakarian
ing onClick?. If it is possible to force a submit using the location, page attribute or other approach I would rather do it that way without using javascript. Any help would be appreciated. Thanks, Jack

RE: More Than Form On A JSP

2003-02-28 Thread Jack Zakarian
Hi, I have seen the pager. How are you getting it to run with iterate tags. I thought you had to keep going back to the database to get the next set of information. Thanks, Jack -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 11:02 PM To

Tiles - multiple tiles submit

2003-02-18 Thread Jack Zakarian
two tiles. Thanks, Jack

RE: RowSetDynaClass

2003-02-18 Thread Jack Zakarian
Thanks, I will try both suggestions. Jack -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 8:33 AM To: [EMAIL PROTECTED] Subject: Re: RowSetDynaClass Ans 1: In # 5 bellow I give you a Sun site where all the drivers are listed that do

RE: RowSetDynaClass

2003-02-18 Thread Jack Zakarian
an be used in commercial products? If not what do you use? 2. Does using CachedRowSets cause a lot of network traffic if the size of the set is big? Thanks, Jack -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 6:25 AM To: [EMAIL

BeanUtils.copyProperties -error

2003-02-14 Thread Jack Zakarian
p would be appreciated. I checked the source code for the SqlTimestampConverter.java and that is where the error message is thrown. Thanks, Jack DEBUG: LOG DEBUG 2003-02-13 13:54:24,528 [Thread-6] - copyProperty(com.welchpartners.model.ServiceInvoiceHdr@6af790, createdate, ) DEBUG 200

RE: FW: struts with ojb, multiple repositories

2002-12-12 Thread Jack
associated appropriately with: tx = odmg.newTransaction(); OR txB = odmgB.newTransaction(); --- Hope I'm doing this correctly... -- jack > -Original Message- > From: Chuck Cavaness [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 29, 2002 11:22 AM > To: Struts Us

Re: Xdoclet and Struts

2002-12-10 Thread Jack R.
. - Original Message - From: "Emil Korladinov" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 3:33 AM Subject: Re: Xdoclet and Struts > --- "Jack R." <[EMAIL PROTECTED]> wrote: &

xdoclet vs struts

2002-12-05 Thread Jack R.
Hi, Is it a good idea to use xdoclet to generate struts config file? or it is not possible at all? Thanks for any ideas. -- To unsubscribe, e-mail: For additional commands, e-mail:

Xdoclet and Struts

2002-12-05 Thread Jack R.
Is it a good practice to use xdoclet to generate Struts config file? Or it is not a good idea at all? I know there are GUI tool to edit struts config file. But I would think it will be easier to have the struts config file auto generate by xdoclet tag in my struts Form, Action files. Thanks for a

Change Struts Example to use an actual database

2002-12-05 Thread Jack R.
Hi, I am learning how Struts works with an database, so I am trying to change Struts Example (struts-example.war) to use an actual database for user data. Can you please tell me what I need to do to achieve that? I notice it has the following data source configuration in struts-config.xml, do I j

FW: struts with ojb, multiple repositories

2002-11-29 Thread Jack
nce of the 'service' from a service factory from within a base action. Is this latter approach better for using multiple ojb repositories in a Struts framework ? Can the O'Reilly book example be modified to handle multiple databases in odmg... - jack -- To unsubscribe, e-m

RE: Calendar pop up tag

2002-04-26 Thread Jack Zakarian
CTED]> > === >A while back I found some links to nice tags. >Anyone have a link to a nice calendar pop up tag for use with Struts? >So user can select a date. > >tia, Vic > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional command

IllegalStateException at x.x.ResponseFacade.getWriter()

2002-04-25 Thread Jack Frosch
ookmark, BACK key, or some other invalid way? Thanks. Jack

RE: Validator help

2002-04-20 Thread Jack Zakarian
Sorry Mark I sent my request before I read the rest of my mail. I got the code. Thanks Jack [EMAIL PROTECTED] -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 20, 2002 8:25 AM To: 'Struts Users Mailing List' Subject: RE: Validato

RE: Validator help

2002-04-20 Thread Jack Zakarian
Mark I'm interested. Jack [EMAIL PROTECTED] -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 20, 2002 8:25 AM To: 'Struts Users Mailing List' Subject: RE: Validator help I found using the Struts validation cumbersome and unpr

Use of "Powered By Struts" Logo

2002-04-18 Thread Jack Frosch
powered By Struts" and Tomcat logos? Thanks. Jack

looking up datasource through jndi in Tomcat4.0

2002-04-02 Thread Wu, Jack
Hi: Does anybody know when this error occurs? Caused by: javax.naming.ServiceUnavailableException. Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect java.net.ConnectExcept

Application Design Help...

2002-03-12 Thread Jack Lauman
include quotes from various insurance carriers. Also, the updates are supplied as a text file need to be updated in an automated way. Any suggestion would be appreciated (see snippet below). Thanks, Jack Lauman ACCIDENT_FREE_CR= + (POLICY_ACCIDENT_FREE_PERCENT / 100

Please unsubscribe me from this list!.

2002-02-27 Thread Jack King \(Unix\)
- Original Message - From: "Drew Sudell" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 15:54 Subject: RE: i18n - Escape Codes > > > > -Original Message- > > From: Rustad, Aaron [mailto:[EMAIL PROTECTED]] > > Sent: Sun

Request Parms Use Name NOT ParamName

2002-02-22 Thread Jack Frosch
FYI: The HTML TagLib Developer Guide.pdf says, "To pass multiple dynamic parameters, you can store them in a java.util.Map, and use the name of the map for the ***paramName***. The map must then contain one or more paramIds and their corresponding values. As the Map is processed, the keys are as

RE: IllegalStateException on

2002-02-08 Thread Jack Frosch
Did you ever get a response on this, or figure out what was causing it? I'm getting the same thing on a forward and I'm not sure what the cause is. Jack -Original Message- From: Mauro Mellino [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 26, 2002 3:16 PM To: [EMAIL

RE: [ANNONCE] Chiki version 0.24 Released

2002-02-01 Thread Jack Zakarian
Thanks its there. Jack -Original Message- From: Emaho, Ghoot [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 11:19 AM To: Struts Users Mailing List Subject: RE: [ANNONCE] Chiki version 0.24 Released Sourceforge takes some time to refresh it's file list whne new files

RE: [ANNONCE] Chiki version 0.24 Released

2002-02-01 Thread Jack Zakarian
Hi There are no files for .24 on sourceforge.net. I also got an error message "The XML Page could not be displayed" when trying to download 0.23 war. Jack -Original Message- From: Emaho, Ghoot [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 11:00 AM To: Chiki-D

workflow, struts and weblogic6.0

2002-01-29 Thread jack rail
or at org.apache.commons.digester.Digester.getReader Digester.java:527) The exception trace is copied below. The latest version of Xerces is first in the classpath. -jack mydomain> Servers> myserver> Logging> General> Stdout severity threshold> addRuleSet() with namespace URI http://jakarta.apache.org/commons/w

RE: Problems with getting the Oracle thin JDBC drivers loaded with Struts 1.0.1 under Tomcat 3.3a

2002-01-28 Thread Jack Zakarian
No not a bug but more like a restriction. I believe Struts and Tomcat only deal with jar file extensions even though the zip and jar files are basically the same- although war's and ear's store more information. Jack -Original Message- From: Thorbjørn Ravn Andersen [mai

RE: Problems with getting the Oracle thin JDBC drivers loaded with Struts 1.0.1 under Tomcat 3.3a

2002-01-28 Thread Jack Zakarian
Hi Try renaming it to classes12.jar. Jack -Original Message- From: Thorbjørn Ravn Andersen [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 6:57 AM To: [EMAIL PROTECTED] Subject: Problems with getting the Oracle thin JDBC drivers loaded with Struts 1.0.1 under Tomcat 3.3a I

RE: html:option and the 65k wall

2002-01-25 Thread Jack Zakarian
Hi This is exactly the solution I was looking for. I am new to struts and would appreciate if you could provide some examples of how this is done. I mean not only the call to the popup but how to populate it and return the selected data. Thanks Jack [EMAIL PROTECTED] -Original Message

Wondering About Struts...

2002-01-22 Thread Jack Frosch
one has to start learning a new custom tag API all over again. I'm not interested in starting some kind of religious war by this post. I'm just wondering how much the benefits outweigh the costs of using Struts on a project. Jack -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

html:radio: How To Set Radio Button Group?

2002-01-22 Thread Jack Frosch
t sure how to cause a set of radio buttons to be part of the same group. How is this done in Struts? Thanks. Jack -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: Reporting Writing

2002-01-18 Thread Jack Zakarian
I'm interested too. Jack [EMAIL PROTECTED] -Original Message- From: Tricia Ong Cheah Yen [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 9:58 PM To: Struts Users Mailing List Subject: RE: Reporting Writing i'm intrested +trish -Original Message- Fr

Solved: Cannot find message resources under key org.apache.struts.action.MESSAGE

2002-01-08 Thread Jack Frosch
just add either the JAXP or Xerces library as a Required Library for the project.) After adding the xerces.jar file to the deployment, my web app started up without error in Tomcat 4.0 Jack -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Forwarding a Bean as a Request Attribute

2002-01-06 Thread Jack
the detail page when the user clicks on the link? I saw has attributes to set request parameter(s) (Strings), but I want to forward the related bean so I don't have to retrieve it again from the database. TIA. Jack -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additi

RE: Dynamic drop down lists

2002-01-06 Thread Jack
e value property (which is stored in the db column) is called "Abbrev". The struts tags I used are then as follows: I hope this helps. Jack -Original Message- From: Michael Hass [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 11:26 AM To: [EMAIL PROTECTED] Su

RE: Forwarding Data For A Form

2002-01-04 Thread Jack
more direct just to make Objects available at the time the ActionForward is created. Thanks a lot for the help. Jack -Original Message- From: Jack Frosch [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 10:45 AM To: Struts Users Mailing List Subject: RE: Forwarding Data For A Form

RE: Forwarding Data For A Form

2002-01-04 Thread Jack Frosch
pping? I'll give this a try as nothing else has worked like I want. Jack -Original Message- From: Jake Thompson [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 10:07 PM To: Struts Users Mailing List Subject: RE: Forwarding Data For A Form I think this sounds like what I am

Nesting tags in JSP

2002-01-03 Thread Jack
What would be the syntax needed to cause the output of a tag to be written into the value property of an tag? I tried the following, but it never made it past the compiler: " /> TIA. Jack -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e

javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE

2002-01-03 Thread Jack
perties, in the Tomcat 4.0 webapps/WebApp/WEB-INF/classes/com/fei/common subdirectory. I'm sure I'm overlooking something obvious, but am not sure what it is. Thanks. Jack -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: Forwarding Data For A Form

2002-01-03 Thread Jack
fields are all filled in. I thought the tag would work, but it didn't. (I didn't want to expose the class name of the bean to the JSP page anyway. I was hoping to stay in the Struts Model 2 framework to keep all the Java details abstracted away from the JSP developers.) Jack ---

Forwarding Data For A Form

2002-01-02 Thread Jack
from the Registration action. I'm not sure how to pass along the user ID so it will automatically be picked up by the Login form and displayed in the proper input field. Thanks. Jack -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <

JDBCRealms, no cookies trouble

2001-12-12 Thread Jack Bakker
I'm using JDBCRealms, TomCat 4.01, Struts 1.0 with form authentication With cookies enabled in browser, no trouble; with cookies off in Netscape 4.7 I get: Invalid direct reference to form login page I'm using the following code for the form. username:

Re: how to detect an error

2001-12-10 Thread Jack Xu
Burr, Thanks for the help. does work, but what if I need to see an error with a certain property exists? I tried and it doesn't seem to being working. Any thoughts? Thanks. - Original Message - From: "Burr Sutter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, Decemb

how to detect an error

2001-12-10 Thread Jack Xu
eatly appreciated. Jack

Action before loading a page

2001-06-05 Thread Jack Xu
lp is very much appreciated ! -- Jack Xu March Networks (416)977-7007 x 308 Email: [EMAIL PROTECTED] --