Re: xslt in jsp

2003-03-09 Thread Michael Lee
to let the server do it is you may want to just change the xsl and allow a different format (pdf, csv, whatever). Michael Lee From: Tom Ziemer [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: xslt in jsp Date

Re: [OT] RE: Automatic refresh - IS THIS POSSIBLE?

2003-01-30 Thread Michael Lee Jr.
Flash? Why not just go to a jsp page that displays 'Please Wait' and it then makes the request? This seems a lot easier and, more likely, in line with your current app. Just make sure you forward the appropriate request data. Michael Lee - Original Message - From: Hookom, Jacob John

Re: Advanced JSP page help.

2003-01-08 Thread Michael Lee
Please put large attachments on YOUR OWN SERVER where we can CHOOSE to download it if we wish. Some of us are using free and limited email servers that have storage limits. Simple code examples or similar text would be fine but a 300K BMP? Come on! From: Heligon Sandra [EMAIL PROTECTED]

Re: Problem with Weblogic 6.1 sp2 and Struts 1.1 Beta 3

2003-01-08 Thread Michael Lee
We had em running under WLS 6.1 sp3. We just recently installed sp4 (just because sp4 recently came out :)). Mike From: Craig R. McClanahan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Problem with Weblogic

Override action in multiple struts-config.xml

2003-01-07 Thread Michael Lee
We have a base product. It has a struts-config.xml in a webapp. We have a couple of customers that each have their own web app and struts-config.xml. Their product sits on top of the base product. We have to have a complete struts-config.xml for each customer. Is there a way to have a core

struts 1.0.2 hanging?

2003-01-03 Thread Michael Lee
If you declare duplicate actions in your struts-config.xml would this cause struts to hang? We did this by accident and have been trying to track down this hang. Also, is there a way to have some additional actions defined in another struts-config.xml file? So basically have 2 struts configs

Re: EJB's and Collections of Objects

2002-12-09 Thread Michael Lee
There's a pattern called value objects (or view objects) you may want to check out. Mike Lee - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, December 09, 2002 7:13 AM Subject: Re: EJB's and Collections of Objects

Re: Request losing data after container security check

2002-12-06 Thread Michael Lee
: Michael Lee [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Request losing data after container security check Date: Thu, 5 Dec 2002 10:59:36 -0500 Its an http request. It should't matter if the session times out

Re: Request losing data after container security check

2002-12-06 Thread Michael Lee
- From: Michael Lee [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 10:19 AM To: 'Struts Users Mailing List' Subject: Re: Request losing data after container security check Hey david, thanks again! I appreciate all your input on this. I have a filter we use for other purposes

Re: Request losing data after container security check

2002-12-05 Thread Michael Lee
the transaction in one sitting. If you don't want that to happen then set your session timeout to an incredibly large number of minutes or (I think) entering 0 disables it on some containers. David From: Michael Lee [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED

Request losing data after container security check

2002-12-04 Thread Michael Lee
I have a screen a.jsp that calls a.do which then forwards to b.jsp I have a form called AForm.java. I have a field called email in AForm.java. In a.jsp a user can set email, call a.do and then forward to b.jsp which does a bean:write name=aForm property=email/. This works just fine and outputs

Re: Request losing data after container security check

2002-12-04 Thread Michael Lee
be around after that request. David From: Michael Lee [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Request losing data after container security check Date: Wed, 4 Dec 2002 14:27:16 -0500 I have

Re: Request losing data after container security check

2002-12-04 Thread Michael Lee
request. You lose session data when it times out. You lose request data after the response has been sent for a particular request. David From: Michael Lee [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re

Re: bean:define for value in properties file

2002-12-03 Thread Michael Lee
Is there a way in 1.0.2? thanks, Mike - Original Message - From: Joe Germuska [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, December 02, 2002 5:33 PM Subject: Re: bean:define for value in properties file At 5:08 PM -0500 2002/12/02, Michael Lee wrote

Re: A single error page when using Struts 1.0.2 templates: Is this possible?

2002-12-03 Thread Michael Lee
We set up a global forward for errors... global-forwards forward name=systemError path=/system_error.jsp/ /global-forwards and when we catch exceptions beyond the normal we do a mapping.findForward(systemError); - Original Message - From: Davide Bruzzone [EMAIL PROTECTED] To:

Re: Security roles with Struts

2002-12-03 Thread Michael Lee
for container managed roles struts actions act just like all http request that the container can intercept. in the web.xml security-constraint display-nameSecure Something/display-name web-resource-collection web-resource-nameAdmin Resources/web-resource-name

bean:define for value in properties file

2002-12-02 Thread Michael Lee
I have a value in my ApplicationResources.properties called page.title=Customer Information I want to have this value available in the page context. I would like to use a struts tag to do so. If not, I have to use a scriptlet (which I try to avoid). here is what I'd like to do bean:define

Re: bean:define for value in properties file

2002-12-02 Thread Michael Lee
=page.title / http://jakarta.apache.org/struts/api/org/apache/struts/taglib/bean/MessageTa g.html a -Original Message- From: Michael Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 3:52 PM To: Struts Users Mailing List Subject: bean:define for value

request to struts action not being routed to J2EE container security

2002-11-26 Thread Michael Lee
I have an action that, upon successful completion, calls another struts action. IE: /a.do success mapping to /consumer/b.do In the web.xml I lock the /consumer/ directory off to authorised users using J2EE form based container security (Weblogic RDBMS). Problem is a.do is calling b.do and no

Re: request to struts action not being routed to J2EE container security

2002-11-26 Thread Michael Lee
and this doesn't work, I'd say your server is broker. Michael Lee wrote: I have an action that, upon successful completion, calls another struts action. IE: /a.do success mapping to /consumer/b.do In the web.xml I lock the /consumer/ directory off to authorised users using J2EE form based container

Re: request to struts action not being routed to J2EE container security

2002-11-26 Thread Michael Lee
This worked too! No redirect code except in the struts-config.xml forward! thanks everyone, Mike - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 7:13 PM Subject: Re: request to struts action not being

Re: InputStream from FormFile - OK now

2002-11-21 Thread Michael Lee
Hey! Dont post a question, then find a solution without sharing! If you figure it out, share the love! - Original Message - From: Huynh Ngoc Huy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 20, 2002 11:18 PM Subject: Re: InputStream from

Sending a file

2002-11-20 Thread Michael Lee
Is there a way in struts, that, if a user is validated, send them a local file? This is so if someone paid for a piece of software they would be given access to a screen to download it? thanks, Mike

Re: j_security_check

2002-11-18 Thread Michael Lee
Dont use struts html:something tags inside your form. bean:message and such are ok. Otherwise, it thinks you want to use an ActionForm. Mike - Original Message - From: Darren Hill [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, November 18, 2002 2:21 PM

Putting request parameter into page context

2002-11-15 Thread Michael Lee
This seems like it would be so simple yet I can't get it to work I've tried all kinds of combinations of bean:define... bean:define id=startRow name=startRow type=java.lang.Integer/ I want to take the request parameter startRow and put it in a page object startRow startRow is in the request

Re: Validator later rather than sooner?

2002-10-24 Thread Michael Lee
Along the same thread, we are having a validation design problem. We have broken most of our Action classes up into multiple classes. Before we had one and used the property in the action mapping. That makes the Action classes much more readable. Problem is, these action classes still just use one

Re: Validator later rather than sooner?

2002-10-24 Thread Michael Lee
can have different entries in your struts config with the same Object type (i.e action form ).In this was you can have different rule for each form using the validator framework. Does this sound feasible. Michael Lee [EMAIL PROTECTED] wrote:Along the same thread, we are having a validation design

Re: Validator later rather than sooner?

2002-10-24 Thread Michael Lee
class in your whole system? If that's the case then that's your main problem. The rule is one ActionForm per logical html form the user sees. It sounds like you used to have only one Action as well but split it up. That's what you should do with the forms. David From: Michael Lee

Re: Validator later rather than sooner?

2002-10-24 Thread Michael Lee
(i.e action form ).In this was you can have different rule for each form using the validator framework. Does this sound feasible. Michael Lee [EMAIL PROTECTED] wrote:Along the same thread, we are having a validation design problem. We have broken most of our Action classes up into multiple

Re: struts 1.1 b2 + Weblogic 7.0 = ....

2002-10-23 Thread Michael Lee
Check your statics. I doubt this is struts fault. - Original Message - From: Louis Leung [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 23, 2002 7:13 PM Subject: RE: struts 1.1 b2 + Weblogic 7.0 = So I guess no one else encountered the

Re: How to set default

2002-10-04 Thread Michael Lee
in your html:select you will include html:option first. This SINGULAR form of options will be the first one. The default will be set to what the user chooses after that. then html:options... /html:select - Original Message - From: Cathy Osekizoglu [EMAIL PROTECTED] To: Struts Users

Re: Need Help Fast

2002-09-26 Thread Michael Lee
Ive done this, everyone is overcomplicating it greatly... Lookup.getData() gets an ArrayList of states. This array list is loaded through an XML file that loads upon boot and puts it in a static variable. This XML file can load it from itself or from the database. It does all the .add() .add()

Re: Request for additional link on struts docs[Suggestion]

2002-09-21 Thread Michael Lee
://jakarta.apache.org/struts/resources/archives.html -- Martin Cooper -Original Message- From: Michael Lee [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 12:16 PM To: Struts Users Mailing List Subject: Request for additional link on struts docs[Suggestion

Re: AAAARGH! SOMEONE! How do I set the default selection when I'm using html:options?

2002-09-20 Thread Michael Lee
I figured out what the problem was. Struts auto sets the default value in an html:select to whatever the property is in the form bean. Someone said this earlier (thank you). My problem was, I was getting this value from the database. Our database is oracle and the fields in question were of type

Re: Struts with Jbuilder 6

2002-09-20 Thread Michael Lee
LOL!LOL! I can not belive your response to his link. My god... Anyway I have used struts with Jbuilder 4,6 and now 7. It is a java application, like any other. The question itself makes no sense. If you mean what good struts tools are there that integrate with jbuilder (almost any java ide

Re: [FRIDAY] WINDOWS 2000 TEXAS EDITION

2002-09-20 Thread Michael Lee
Umm, I have this forwarded to a hotmail account. I don't mind the friday emails too much, but can we please refrain from the 200K attachments? My account is going to get filled up very quickly. I'm sure I'm not unique here. thanks, Mike - Original Message - From: Jens Kühnberger [EMAIL

Request for additional link on struts docs[Suggestion]

2002-09-20 Thread Michael Lee
: Friday, September 20, 2002 3:01 PM Subject: RE: Struts with Jbuilder 6 Here ya go: http://www.mail-archive.com/struts-user%40jakarta.apache.org/ -Original Message- From: Michael Lee [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 2:53 PM To: Struts Users Mailing List

How do I set the default selection when I'm using html:options?

2002-09-18 Thread Michael Lee
1) How do I set a default value in an html:select on an options list? I need the default state to be the one loaded from the struts form. It doesn't like this. html:select property=state size=1 value=%= state in ActionForm % html:options name=allUnitedStates labelName=allUnitedStates/

Re: AAAARGH! SOMEONE! How do I set the default selection when I'm using html:options?

2002-09-18 Thread Michael Lee
Thanks, but nada. The ActionForm state is set yet its still not working. :( Is the problem with the options? html:select property=state size=1 html:options name=allUnitedStates labelName=allUnitedStates/ /html:select - Original Message - From: Hoang, Hai [EMAIL PROTECTED] To:

Re: How do I set the default selection when I'm using html:options?

2002-09-18 Thread Michael Lee
Tried it. Problem with that is you now get 2 options that are the same. ie: GA AK AL GA - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 11:28 AM Subject: RE: How do I set the default selection when I'm using html:options?

Re: refreshing application properties

2002-09-17 Thread Michael Lee
Just peruse the javadocs for ResourceBundle (and similar classes). You will see static finals all over the place. It has to be re-class loaded is my guess. Just redeploy the WAR. Mike - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

default value for html:select

2002-09-17 Thread Michael Lee
I have one MAIN question. I don't want to have to repost a question. I try searching for answers to my questions on the website but it always forwards me to google. Are these emails not cached for searching? Anyway, 2 questions; 1) How do I set a default value in an html:select on an options

Re: default value for html:select

2002-09-17 Thread Michael Lee
Thanks, but what I meant was set the default option chosen in the html:options to be a value in the current html:form. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 4:42 PM Subject: RE: default value for html:select Answer to #1)

Re: Bean with HashMap in JSP

2002-09-17 Thread Michael Lee
Use this % pageContext.setAttribute(allUserRoles, Lookup.getData(Constant.USER.USER_ROLES_DESCRIPTIONS)); % html:select property=userRole size=1 html:option value=/html:option html:options collection=allUserRoles property=value labelProperty=key/ /html:select - Original

Re: ClassCastException error

2002-09-13 Thread Michael Lee
Need more info. What app server? What jdk? Stack trace? Offensive code? Mike - Original Message - From: Jason Reilly [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 13, 2002 12:01 AM Subject: ClassCastException error Let's say I have a Vector of objects. I put that

Re: Additional logic:iterate helper tags wanted

2002-09-12 Thread Michael Lee
:02 PM Michael Lee wrote: Basically how we got the data dictated the view. I've found XSLT to be 'wordy'. I think its just as easy to write another damned JSP and parse the Java Objects up there as it is to create another XSL page and use the same JSP. I consider views to be relatively non

Re: Question for using struts as our standard MVC framework

2002-09-12 Thread Michael Lee
Here's an argument, and have him email me if he has any questions... I was brought on to my current company as a J2EE Architect. It was basically one developer. He had a home brewed servlet controller layer. I recommended struts. He pushed back (that's natural, it's his baby). But he is rational

Re: HOWTO add actions to the Struts pipeline

2002-09-12 Thread Michael Lee
I'm getting ready to write a servlet filter (2.3) to do something similar. This is servlet 2.3. If you don't need struts specific stuff in the specific piece of code you need then this is the way to go. You can add the filter to url-patterns in your web.xml. Thanks to Craig McClanahan for this

Re: Redirecting to a relative URL from root

2002-09-12 Thread Michael Lee
by default the '/' root is from your webapp, as it should be. All URLs should be from '/' that are going to the same webapp. If your going to another webapp just do an http:// (Is this last sentence right?) Don't use ../.. whatever you do! (not easily mutable) Mike - Original Message

Re: Re-initialize ActionServlet.

2002-09-12 Thread Michael Lee
Wow, this looks like an email sent just a few hours ago! Anyway, put your app in a war and redeploy. The class loader should reload it and pick up the changes. Works for me in weblogic 6.1 sp3. Mike - Original Message - From: Cristian Cardenas [EMAIL PROTECTED] To: Struts Users Mailing

HELP! html:options with a hashmap

2002-09-12 Thread Michael Lee
I posted this before but haven't heard anything. Thought I would put up the error message too. What name do I put for name? The examples don't use a hashmap (seems logical for 'options'). When I put name it does the name and value. I want it to put the name under name and value under value,

HashMap with html:options? Anyone? **crickets**

2002-09-12 Thread Michael Lee
I have looked through all the docs, javadocs, examples, google searches and nada. Anyone know how to use html:options with a HashMap. I have tried about every combination I can think of. Thanks, Mike

Re: HashMap with html:options? Anyone? **crickets**

2002-09-12 Thread Michael Lee
Subject: RE: HashMap with html:options? Anyone? **crickets** This issue is well documented in the archive. -Original Message- From: Michael Lee [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 3:18 PM To: Struts Users Mailing List Subject: HashMap with html:options? Anyone

Re: HELP! html:options with a hashmap

2002-09-12 Thread Michael Lee
frame. Gets you descriptions of any tag. You can reach these throught the Struts site as well. peace, Joe -Original Message- From: Michael Lee [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 10:53 AM To: Struts Users Mailing List Subject: HELP! html:options

Re: set a value from a form to a form

2002-09-11 Thread Michael Lee
?I haven't used hidden fields in over 4 years and have never had a problem. You definately have to be careful with what you stick in the session, I agree. I don't think it makes the app less scaleable as long as you use a session object responsibly. I've been using sessions since they've been

Re: Struts 1.1 Final release

2002-09-11 Thread Michael Lee
Be nice There are no ship dates for jakarta stuff. It is released when it meets a certain level of quality/features. You can help it meet the ship date! It's open source! I'm going to ask my bosses if I can release some of my code here as examples (modified to protect our interests of

Re: sites powered by struts

2002-09-11 Thread Michael Lee
Go to the 'Powered by Struts' section http://jakarta.apache.org/struts/doc-1.0.2/userGuide/resources.html I personally have 2 systems in production on it and am working on a third. Mike - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL

Re: [OT][ALT-TECH] Apple Web Objects

2002-09-11 Thread Michael Lee
My first programming experience was basic and assembly on the TRS-80 in 1980 (I was 10 years old, saw another dude that had same thing. Gifted and talented magnet school also). Moved onto C64 when I was 13 or so (1983-4). Got burnt out on coding when I was 18 but went back in at college when I

Re: Additional logic:iterate helper tags wanted

2002-09-11 Thread Michael Lee
We use it all here. We had a big meeting and all agreed on one thing. Views tend not to be too reusable so... Use whatever medium you can to get something up fast. That usually means it depends on the type of data comming in. Here we get some data as XML (we do digial receipts and there is an XML

Re: General Struts Question [OT]

2002-09-11 Thread Michael Lee
That just returns a list of books. It doesn't denote what we recommend. They have user ratings but I would think that the struts email list would probably be the best place to ask so I think it's a semi legitimate question. I would like him to read a book...I have lots of questions. :) BTW,

Re: General Struts Question[OT]

2002-09-11 Thread Michael Lee
Here's one more thing I think you might want to learn today... [OT] = Off Topic! :) jk If you wish to respond to this email try adding [FLAME] - Original Message - From: Chappell, Simon P [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 11,

Re: Sending parameters to form beans

2002-09-11 Thread Michael Lee
Ya, you go out and read his book, or you can do this; bean:message key=prompt.username/ bean:write name=userForm property=userID/ html:hidden property=userID/ I prefer to just get my answers in 5 minutes rather than read a whole book to get the answer. This is cut and pasted from my

Re: Security and Struts

2002-09-10 Thread Michael Lee
They have a good login example in the example war in the struts/webapps dir. That's the way I've done it in the past. The way I'm currently doing it is to use container managed security. This means NOT using struts for authorization/authentication (for J2EE security). Since your using JSP your

Re: [OT] RE: Struts and Large ResultSet

2002-09-10 Thread Michael Lee
This is to all the book writing dudes. A lot of people here seem to be writing struts books. Include an example that does this... Scrolling through pageable data on a JSP from a large result set is very common for J2EE/struts developers yet there are no good examples out there. Real world

set a value from a form to a form

2002-09-10 Thread Michael Lee
I have a form object that populates html fields. The problem is, I want to display some of the form data and have it uneditable. When I submit the form loses all the data that is not in an html:.. tag. I've tried... bean:define id=userRole name=userForm property=userRole scope=request

Re: RE: Security and Struts

2002-09-10 Thread Michael Lee
was hope to find an example to uses roles 'n' such. -Original Message- From: Michael Lee [mailto:[EMAIL PROTECTED]] Sent: September 10, 2002 11:13 AM To: Struts Users Mailing List Subject: Re: Security and Struts They have a good login example in the example war

set a value from a form to a form

2002-09-10 Thread Michael Lee
I have a form object that populates html fields. The problem is, I want to display some of the form data and have it uneditable. When I submit the form loses all the data that is not in an html:.. tag. I've tried... bean:define id=userRole name=userForm property=userRole scope=request

setting/getting form data

2002-09-09 Thread Michael Lee
This seems simple enough but it isnt working? :( bean:define id=listSize name=userForm property=listSize value=20 scope=request type=java.lang.Short/ bean:define id=startRow name=userForm property=startRow value=0 scope=request type=java.lang.Integer/ I have a form defined UserForm with

Re: Select Options

2002-09-09 Thread Michael Lee
A good example is in the struts-exersize-tablib.war in the struts/webapps dir look at html-select.jsp You can create a collection of OptionBeans and select it or explicitly set each option. There are examples of both in this jsp. Mike - Original Message - From: Smith, Johnathan M. [EMAIL

Re: [OT] RE: Struts and Large ResultSet

2002-09-09 Thread Michael Lee
The way I've done it is similar to number 2 but I did it all in Java using cursors. I execute the query every time the user clicks next/previous. I setFetchSize() instead of setCursorName(). Not sure how this will work as it is a work in progress. - Original Message - From: Eddie Bush

How to user logic:iterate

2002-09-09 Thread Michael Lee
Im having a helluva time getting logic:iterate to work.. I have a Users object that contains an array list of User objects. you call Users.getUsers() and it returns an arrayList I stick that in the request object in the perform() method using request.setAttribute(users, users.getUsers()); In the

Re: How to user logic:iterate

2002-09-09 Thread Michael Lee
=user.userID//td ... -Original Message- From: Michael Lee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 10 September 2002 6:56 AM To: Struts Users Mailing List Subject: How to user logic:iterate Im having a helluva time getting logic:iterate to work.. I have a Users object that contains

Re: [OT] RE: Struts and Large ResultSet

2002-09-06 Thread Michael Lee
? 2. Or is there a certain order by which this ResultSet is ordered by ( SELECT blah from BLAHBLAH ORDER BY blah ) ? In this case you can store the ID of the first last record displayed and then on the next previous actions, you'd use these to go up and down ( so to speak ). Jf Michael Lee wrote

Re: InitParameter and Actions

2002-09-06 Thread Michael Lee
They have a parameter=someValue for every action mapping you set up. Is that what you want? You can get the value in your Action class by calling String prameterValue = mapping.getParameter(); hope this helps, Mike - Original Message - From: Smith, Johnathan M. [EMAIL PROTECTED] To:

Re: DB hit from ActionForm Validate method

2002-09-06 Thread Michael Lee
I've always used validate() as simple form validation, such as ensure a necessary field is set, not business validation such as a 3 login attempt rule. I would recommend you set something in the request or session that stores the number of attempts. In each action, when you check, increment that

Re: How to set locale using j_security_check

2002-09-06 Thread Michael Lee
based auth), say domain.com/secure/main.do and have the action get their locale from persistent store and set it before forwarding onto the domain.com/secure/main.jsp. Jon Ridgway -Original Message- From: Michael Lee [mailto:[EMAIL PROTECTED]] Sent: 06 September 2002 14:56

Re: getting data in value object out of logic:iterate

2002-09-05 Thread Michael Lee
plug my own project, dynclass.sourceforge.net, which will transform an arbitrary java Map into a JavaBean... Michael Lee wrote: I read the docs and looked through the examples and didn't see anything that did what I was trying. I have an array of Value(view) objects that I want to iterate

Re: [OT] RE: Struts and Large ResultSet

2002-09-05 Thread Michael Lee
Actually this is a very valid topic, one which I'm struggling with now. I use scrollable cursors when I set up my statement and setFetchSize and do ResultSet.absolute() to go to the row that the 'NEXT' button sent. Is this the right path? In struts I'll most likely send a

Re: [OT] RE: Struts and Large ResultSet

2002-09-05 Thread Michael Lee
Actually this is a very valid topic, one which I'm struggling with now. I use scrollable cursors when I set up my statement and setFetchSize and do ResultSet.absolute() to go to the row that the 'NEXT' button sent. Is this the right path? In struts I'll most likely send a

getting data in value object out of logic:iterate

2002-09-04 Thread Michael Lee
(); ??? /TD TD ??? users.getLastName(); ??? /TD ... /TR /logic:iterate HELP! thanks, Michael Lee -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Using Struts in Weblogic Eclipse [OT]

2002-08-30 Thread Michael Lee
then most likely you will use dt_socket and then address will be port. This is good info. If you want any more then go to http://java.sun.com/products/jpda/doc/conninv.html Now no more questions OT and RTFM. :) Michael Lee Architect AfterBOT [EMAIL PROTECTED] - Original Message - From: Jesse

Re: Memory Leak[OT]

2002-08-29 Thread Michael Lee
man known as Craig McClanahan (?whos that? hehe) answered my question (there was NO information I could find out there on it) even though it wasn't exactly struts (I didn't know that). I have no problem helping newbs out when I can if they think it's struts. We're all newbs to something. Michael

Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic)

2002-08-29 Thread Michael Lee
I think a filter is good...the best filter being [OT] My 5 c add... [APPSVR-WLS] [APPSVR-JBOSS] [WEBSVR-TOMCAT] [WEBSVR-JRUN] etc... Michael Lee - Original Message - From: Jerry Jalenak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 9:28 AM Subject: [Proposal

Re: Nested tags performance

2002-08-28 Thread Michael Lee
on all the jsps you plan to show! With bosses/customers, it rarely matters when you say 'But it's only slow the first time'! They don't understand compiled/slow once. Michael Lee - Original Message - From: Donald Ball [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 10

Re: JBUILDER keeps deleting the directory: WEB-INF/classes

2002-08-28 Thread Michael Lee
, Michael Lee - Original Message - From: Cliff Rowley [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 10:16 AM Subject: Re: JBUILDER keeps deleting the directory: WEB-INF/classes Good old JBuilder :) *chuckles-whilst-using-intellij-idea

Re: Memery Leak

2002-08-28 Thread Michael Lee
that get allocated but NEVER deallocated. These are many times static objects like singletons and such that don't clean up well. enjoy, Michael Lee Architect Afterbot [EMAIL PROTECTED] - Original Message - From: Billy Ng [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Cc

Re: Result paging for site search results

2002-08-27 Thread Michael Lee
I wouldn't send around ResultSets. Use scrollable cursors if your JDBC driver supports them and do an absolute() to go to the row you need. thats one way Michael Lee - Original Message - From: simon.o'[EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, August

j_security_check, jaas and weblogic 6.1

2002-08-26 Thread Michael Lee
I have to do security for the company I am at. I have never used j_security_check, jaas or weblogic 6.1 RDBMS (we have a database for authentication/authorization). I read all through the examples on j_security_check, jaas and WLS RDBMS out there I could get my hands on. There seems to be no good

Re: Iterate tag within an iterate tag

2002-08-26 Thread Michael Lee
I've done this... The way I did it is the outer tag needs to populate data into a TagExtraInfo class. The inner tag can now use this data. You also have to make sure in your tld you tell it the TagExtraInfo class you are going to use. I've passed the data in the TagExtraInfo class into the

Re: j_security_check, jaas and weblogic 6.1

2002-08-26 Thread Michael Lee
if you want to. JAAS would only be relevant if you wanted to do application-managed security instead, or if you were implementing the container itself. Craig On Mon, 26 Aug 2002, Michael Lee wrote: Date: Mon, 26 Aug 2002 12:21:12 -0400 From: Michael Lee [EMAIL PROTECTED] Reply

Re: Adding errors to request in a DefaultAction

2002-08-26 Thread Michael Lee
Is it not in your resource bundle (ApplicationResources)? - Original Message - From: Matt Raible [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 26, 2002 1:48 PM Subject: Adding errors to request in a DefaultAction I have an ActionFilter that maps to /do/*. In this