Cross Module Forms

2003-10-13 Thread Dennis Muhlestein
It's been a while since I posted. Been busy. We've been using struts/tiles for quite a while now. Currently we're using version 1.1. Everything works great and the more we convert to struts, the more we like it. We have one issue though that I just can't seem to find a good solution for.

RE: [OT] Session Management using EJB

2003-07-10 Thread Dennis Muhlestein
Thanks Eric , for your feedback . I am aware of the fact that container takes care of duplicating the Session across the cluster . But then if I have 10 servers , it would be an big overhead as the server has to make 10 copies of Session object. Typically, although I could be miles from the truth

RE: [OT] Webapp Archives

2003-03-18 Thread Dennis Muhlestein
We have anthill. We can watch the ant wars being performed ;-) On Tue, 2003-03-18 at 12:16, Emilio Suarez wrote: > *This message was transferred with a trial version of CommuniGate(tm) Pro* > You should use: > > ant war > > ;-) > > > -Original Message- > > From: Ray Madigan [mailto:[EM

Re: DTD's and TLD's in Struts.jar Why?

2003-03-17 Thread Dennis Muhlestein
DTDS They are used to validate xml files at deploy time. Without them you could 1) turn off the validation (not recommended) 2) The validator would reference the dtds off the web site if they are not found in the jar. (Probably not good either). TLDS You can either put tlds in /WEB-INF/*.tld an

Re: validate business data

2003-03-14 Thread Dennis Muhlestein
We have a couple different approaches. But one is to create some custom validator Fields that can be plugged in to the validator. Then all errors, buisiness or otherwise, are done by the DynaValidatorForm. Makes our actions simpler. -Dennis On Fri, 2003-03-14 at 14:47, Dan Allen wrote: > *This

[OT] sslext (1.1b3) has a bug with modules

2003-03-14 Thread Dennis Muhlestein
sslext does not function as expected with modules. Specifically, when operating withing a module (ie: subappfoo), the does not find the ModuleConfig for the subapplication. Instead, it finds the ModuleConfig for the root module. The reason the example applications in sslext works correctly with

Struts-console 3.3 and tiles

2003-03-07 Thread Dennis Muhlestein
A bug report for James and all who may be affected. In Struts-Console 3.3, when generating my tiles-defs.xml file. I had the following xml output: note how there is a path="" as well as an extends attribute of the definition. Desired behavior is to extend a definition but not have a path for

Re: action form error messages

2003-02-28 Thread Dennis Muhlestein
Because it doesn't matter what the name of your bean is. Stuts always sets it as an attribute in your selected scope. The name of that attribute happens to be org.apache.struts.taglib.html.BEAN. if you were to call getClass() on that bean, you would see your class. I think that is right but mi

RE: Action without FormBean

2003-02-26 Thread Dennis Muhlestein
Use an image instead of a form button?? ie: -Dennis On Wed, 2003-02-26 at 11:48, Chen, Gin wrote: > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Hi James, > I did use links before. But they want to see buttons instead of href > links. > D*mn users. ;P > -Ti

Re: websites that use Struts..

2003-02-26 Thread Dennis Muhlestein
http://www.datemate.com On Wed, 2003-02-26 at 08:42, James Prance wrote: > *This message was transferred with a trial version of CommuniGate(tm) Pro* > The list on the Apache website, half the links dont work... > does anyone know of some websites out there on the old 'interweb' that are > current

Re: Mutliform validation using a DynaValidatorForm

2003-02-19 Thread Dennis Muhlestein
There is a bug. "page" property on DynaValidatorForm (Or DynaActionForm for all I know) isn't set when then form is submitted. Don't know if this is a filed issue.. haven't checked. I had to make my own formbean to have a multi page form. Another issue you need to be aware of: If you have check

Re: TilesRequestProcessor to support HTTP/HTTPS switching

2003-02-18 Thread Dennis Muhlestein
we use sslext with no problems. check sf.net/projects/sslext It is a struts plug in for managing ssl. -Dennis On Tue, 2003-02-18 at 10:24, Greg Hess wrote: > Hi, > > I would like to incorporate tiles into my application but I require > HTTP/HTTPS switching. Has anyone implemented this ability

Re: Sell me on tiles

2003-02-18 Thread Dennis Muhlestein
We migrated from using <%@include ... to tiles last year. Development for is on an order of magnitude easier for our graphics designer. Instead of ugly header.jsp/footer.jsp type logic, you have template.jsp with body.jsp/sidebar.jsp stuff like that. No need from broken html in include files any

Re: Out of my Mind/Struts Bug???

2003-01-24 Thread Dennis Muhlestein
Integer)enum.nextElement(); > System.out.println("TEST: " + test); > if (test.intValue() < 1 || > test.intValue() > 65535){ > System.out.printl

RE: RequiredIf Example Request

2003-01-24 Thread Dennis Muhlestein
; > So I am missing the type and initial fields. Can anybody help me see the > light? I need a checkbox to control whether or not 3 addiotional text > fields are required. > > Thanks, > > Jeremy Weber > [EMAIL PROTECTED] > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Dennis Muhlestein <[EMAIL PROTECTED]> ZServe Corporation -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Why is the reset method called when I submit the form?

2003-01-23 Thread Dennis Muhlestein
m, the reset method is called before > > the validate method. I am using struts 1.0.2. > > > > Any insight? > > > > -Jeremy > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Dennis Muhlestein <[EMAIL PROTECTED]> ZServe Corporation -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: DynaValidatorForm and multipage forms

2003-01-23 Thread Dennis Muhlestein
from mine to see > if you get any bites. > > Good luck > > john > > -Original Message- > From: Dennis Muhlestein [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 5:18 PM > To: Struts Users Mailing List > Subject: Re: DynaValidatorForm and mu

Re: Value of Struts?

2003-01-22 Thread Dennis Muhlestein
> Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Dennis Muhlestein <[EMAIL PROTECTED]> ZServe Corporation -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: DynaValidatorForm and multipage forms

2003-01-22 Thread Dennis Muhlestein
Did you figure anything out with this problem? I have the exact same problem. I'd like to make a multipage form with DynaValidatorForm instead of extending ValidatorForm Thanks -- Dennis Muhlestein <[EMAIL PROTECTED]> ZServe Corporation On Tue, 2003-01-21 at 12:44, [EMAIL PROTE

Re: toggling ssl functionality with sslext

2003-01-22 Thread Dennis Muhlestein
SecurePlugIn would have a property for this which could > be accessed by the secure tags, but I don't see one. > > > robert > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- D

Re: html:errors and logic:greaterThan w/out having to use scriptlets

2002-12-03 Thread Dennis Muhlestein
ok, I found the messagesPresent tag in the logic tags. I still have a problem though: What if I need the logic to display for two specific properties: It would be nice if I could do something like this: Some Logic Here Any Suggestions? Thanks Dennis On Tue, 2002-12-03 at 14:22, Dennis

html:errors and logic:greaterThan w/out having to use scriptlets

2002-12-03 Thread Dennis Muhlestein
In addition to displaying errors by a specific field, i'd like to display some additional information. ie: <% if errors.size( "someField" ) > 0 { %> Some Additional Info .. <% } %> Problem is, I can't see a way to do that with any of the logic tags because there is no property that

Re: Final release for Struts 1.1

2002-11-05 Thread Dennis Muhlestein
Get a nightly. Rename it 1.1 Final. If anyone asks questions... Lie. On Tue, 2002-11-05 at 12:24, Xuefeng Wang wrote: > Hi, all, > I'm using Struts 1.1B1 to develop our product, I want to know when Struts > 1.1 final will be release. > > thanks, > > James > > > > > > _

Re: [ANNOUNCE] Struts Console v3.0

2002-10-30 Thread Dennis Muhlestein
or_1_0.dtd";> > > This is the official DOCTYPE for Validator config > files as of last week. > > -james > http://www.jamesholmes.com/struts/ > > > --- Dennis Muhlestein <[EMAIL PROTECTED]> wrote: > > Seems there is no validator 1.0 dtd on > > jakart

Re: [ANNOUNCE] Struts Console v3.0

2002-10-30 Thread Dennis Muhlestein
Nevermind my last post.. I listed it as struts, but I just found out it is in commons.. ah ha.. Thanks James. On Wed, 2002-10-30 at 11:50, James Holmes wrote: > Struts Console version 3.0 is now available. > > http://www.jamesholmes.com/struts/ > > Download Now: > http://www.jamesholmes.com/st

Re: [ANNOUNCE] Struts Console v3.0

2002-10-30 Thread Dennis Muhlestein
Seems there is no validator 1.0 dtd on jakarta.apache.org/struts/dtds/.. I can't open my validation.xml file because it uses the 1.1 dtd so I tried the 1.0 to see how that would work, but I got 404 error. Can you just put a dtd somewhere? Thanks Dennis BTW it's true, James is Arnie. On Wed, 200

Re: html:options ordering

2002-10-30 Thread Dennis Muhlestein
Thanks for the comments. Seems to make more sense not to have any ordering functionality in the html:options tag anyway. On Wed, 2002-10-30 at 10:40, Dennis Muhlestein wrote: > I have a hashtable with key/value that get displayed by an html:options > tag. > > Works ok, but they

html:options ordering

2002-10-30 Thread Dennis Muhlestein
I have a hashtable with key/value that get displayed by an html:options tag. Works ok, but they are ordered in reverse order of the id. That isn't any performance problem, but it looks a little strange to the user. For instance, what if you wanted the options in alphabetical order? In my case

Re: Confused about nightly builds and 1.1b2 bugs

2002-10-23 Thread Dennis Muhlestein
I haven't followed the issues being fixed too much. I just know that we updated to 20021022 and now I don't have billions(exaggeration) of tiles print statements in my log files. It's in production now and as far as I know functions the same as 1.1b2 did. -Dennis On Wed, 2002-10-23 at 11:23, [E

Re: Struts Nightly Build

2002-10-23 Thread Dennis Muhlestein
to comment on that, or you can just try it anyway. (That's what I usually >do). > > > > Simon > > > > > >>-Original Message- > >>From: Dennis Muhlestein [mailto:dennis@;zserve.com] > >>Sent: Wednesday, October 23, 2002 9:24 AM > >>To: Strut

RE: Struts Nightly Build

2002-10-23 Thread Dennis Muhlestein
, Inc. (608) 935-4526 > > > >-Original Message- > >From: Dennis Muhlestein [mailto:dennis@;zserve.com] > >Sent: Wednesday, October 23, 2002 9:11 AM > >To: [EMAIL PROTECTED] > >Subject: Struts Nightly Build > > > &

Struts Nightly Build

2002-10-23 Thread Dennis Muhlestein
I'm about to change our production environment to use the struts nightly build instead of 1.1b2 because of the non commons-logging in the tiles package with 1.1b2. Does anyone know of any issues to be aware of? Seems to work ok in dev environment. TIA -Dennis -- To unsubscribe, e-mail:

tiles logging

2002-10-22 Thread Dennis Muhlestein
I was so excited when I added a commons-logging.properties file in my classpath and told struts to use log4j as the logger. I was even more excited when I added a logger property that told struts to log only the ERROR level instead of DEBUG so that I had much less output. Only problem is, tiles d

Re: Storing HTML in database

2002-10-22 Thread Dennis Muhlestein
Use a PreparedStatement instead of Statement to do the insert if you can. It'll do the escaping for you. -Dennis On Tue, 2002-10-22 at 08:07, Robert Misior wrote: > Hello, > > I'm looking for a good approach of storing HTML in mysql database (field > type is text). Currently I'm converting a

Re: tiles definitions including other definitions

2002-10-18 Thread Dennis Muhlestein
Thanks for letting me know that. I found a problem elsewhere and now it works. On Fri, 2002-10-18 at 08:53, Adam Sherman wrote: > Dennis Muhlestein wrote: > > In the tiles documentation, under the put attribute, it says the type > > can be "definition". Does this only

tiles definitions including other definitions

2002-10-18 Thread Dennis Muhlestein
Morning All, In the tiles documentation, under the put attribute, it says the type can be "definition". Does this only apply to the tag library usage of put, or can I use this in the xml file like this: (Thanks to James for Providing pretty output with struts-console!) Notice the third definitio

Re: Exception Page

2002-10-18 Thread Dennis Muhlestein
Thanks, That's exactly what I needed. And, BTW, when is struts 1.1 releasing :-) He he just kidding. On Thu, 2002-10-17 at 12:13, Joe Germuska wrote: > At 10:56 AM -0600 2002/10/17, Dennis Muhlestein wrote: > >I like the global exception handler in struts 1.1b2. > > &g

Exception Page

2002-10-18 Thread Dennis Muhlestein
I like the global exception handler in struts 1.1b2. I have a question I haven't found in the docs. (Maybe I haven't looked hard enough if someone can point the way). If Struts forwards to the global exception page, is there a request or other attribute that contains a throwable object? Like if

tomcat 4.1.12 issue

2002-10-10 Thread Dennis Muhlestein
I thought I'd upgrade my tomcat to 4.1.12 from 4.0.x. I'm using struts 1.1b2, j2skd1.4.1, various linux distributions. I only had issue. I have one page that conditionally includes another page. With tomcat 4.0.x I've never had a problem. When I upgraded, the compiler could not compile that p

Re: [commons-pool] Should I use commons-pool for this?

2002-10-09 Thread Dennis Muhlestein
Why not just use a queue. Make one out of a java.util.Vector or something. You can use wait and notify to tell the consumer thread something has been placed in the queue. -Dennis On Wed, 2002-10-09 at 08:45, Morycz, Felicia V wrote: > I'm writing a service that runs continually and produces obj

Re: Action as Welcome File

2002-06-26 Thread Dennis Muhlestein
We use apache in from of tomcat. Because there is no index.do, we would get a directory listing (if that was turned on but it isn't because well...). Anyway, I added index.do to the list of files for apache to automatically pull up and then just made a dummy file called index.do tomcat gets the

Best Practice for mapping servlets

2002-06-25 Thread Dennis Muhlestein
I have two mappings for the actions servlet. The reason is: one mapping goes through a filter for login/session management. The other is public. Mapping Extensions are dm=public-no filter, do=logged in-filtered My problem is: I specify in my jsp page but when the tag outputs the html it

Re: Tiles and Struts

2002-06-24 Thread Dennis Muhlestein
AFAIK If you configure tiles with an xml file, the ActionComponentServlet is in charge of reading that configuration and forwarding to the correct definitions. If you just use a jsp page to tell which template/tiles to use, the action servlet isn't used. -Dennis On Mon, 2002-06-24 at 14:26, Ri

request attribute with tiles

2002-06-24 Thread Dennis Muhlestein
A while ago, there was reference to passing request parameters to a tiles page with the put tag. This allowed the included jsp to do a little logic to appropriately select a menu item or something. Can you do the same thing when configuring tiles with the tiles-config.xml? There doesn't seem to

request attribute with tiles

2002-06-24 Thread Dennis Muhlestein
A while ago, there was reference to passing request parameters to a tiles page with the put tag. This allowed the included jsp to do a little logic to appropriately select a menu item or something. Can you do the same thing when configuring tiles with the tiles-config.xml? There doesn't seem to

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

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: 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

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: 1.1b1 xml

2002-06-20 Thread Dennis Muhlestein
t; versions. > > -james > [EMAIL PROTECTED] > http://www.jamesholmes.com/struts/ > > > --- Dennis Muhlestein <[EMAIL PROTECTED]> wrote: > > I turned debugging up in tomcat just for the heck of > > it. (ROOT Context > > debug="3") Tomcat pri

1.1b1 xml

2002-06-20 Thread Dennis Muhlestein
I turned debugging up in tomcat just for the heck of it. (ROOT Context debug="3") Tomcat printed a whole bunch of xml errors when I reload my app. The app worked correctly anyway (Go figure) My xml validator validates my 1.1 xml ok. If if change the dtd to point to the 1.0 version instead and

Re: DynaActionForm ClassCastException

2002-06-20 Thread Dennis Muhlestein
This actually was a browser issue. (Mozilla 1.0) I restarted Mozilla and it worked. I have no idea how the browser could have anything to do with struts though. Somehow, the old form was cached. Got me. On Thu, 2002-06-20 at 11:09, Dennis Muhlestein wrote: > So I decide to take

DynaActionForm ClassCastException

2002-06-20 Thread Dennis Muhlestein
So I decide to take the plunge, try out 1.1b1 and see what it can do. I have a form that has no properties, just a placeholder while I develop my app. I changed it to be org.apache.struts.action.DynaActionForm instead. Still no properties. After restarting tomcat and trying to access the Ac

Re: Session Management Methodology

2002-06-12 Thread Dennis Muhlestein
I created a filter as advised by Greg. It works wonderfully. You could protect requests for any resource with Filters. See suns j2ee web tutorial for a filter example. On Wed, 2002-06-12 at 13:19, Dennis Muhlestein wrote: > Using Struts 1.0.2 > > Some of my pages have ActionForms. &g

Re: Session Management Methodology

2002-06-12 Thread Dennis Muhlestein
intercept that or would I have to modify struts? Thanks Dennis On Wed, 2002-06-12 at 13:32, Adam Hardy wrote: > I extended the Action class to do that. I have one Action class that > does that and so on, and all my other Action classes extend it. > > Adam > > Dennis Muhlestei

Session Management Methodology

2002-06-12 Thread Dennis Muhlestein
Using Struts 1.0.2 Some of my pages have ActionForms. Some only have Action Classes that do something. Some have nothing but an action mapping in the config xml file. Most of my pages however require a user to be logged in. Before I used Struts, I put session management in a common servlet. T