RE: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Robert Taylor
What's the problem? robert -Original Message- From: Sreenivasa Chadalavada [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 2:28 PM To: Struts Users Mailing List Subject: Handling Date objects in ActionForm gracefully All, We are facing a problem when we define

RE: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Robert Taylor
+1 -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 2:36 PM To: Struts Users Mailing List Subject: Re: Handling Date objects in ActionForm gracefully Have it as a string and convert it to a date or calendar when you pass it back to

RE: Using JSTL Instead of Nested Tags

2004-03-25 Thread Robert Taylor
values: c:out value=${form.someProperty}/ or c:out value=${form.some.nestedProperty}/ robert -Original Message- From: Mike Duffy [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 4:46 PM To: Struts Users Mailing List Subject: Using JSTL Instead of Nested Tags I'm trying

RE: Indexed Property

2004-03-22 Thread Robert Taylor
http://jakarta.apache.org/struts/faqs/indexedprops.html -Original Message- From: Prakasan OK [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 6:18 AM To: Struts Users Mailing List Subject: Indexed Property Hi, can anyone give me a sample code for implementing indexed

RE: user login authentication and session timeout

2004-03-22 Thread Robert Taylor
You can find more information on SecurityFilter here: http://sourceforge.net/projects/securityfilter/ Your servlet container documentation should let you know how to implement container managed security. robert -Original Message- From: Charles Jordan [mailto:[EMAIL PROTECTED

RE: Bean:write

2004-03-21 Thread Robert Taylor
this in the JavaBean specification. robert -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: Sunday, March 21, 2004 12:47 PM To: Struts Users Mailing List Subject: Bean:write Hi, In my logic:iterate tag, I want to pull out the value of the bean:write tag. I am using

RE: access variable value in html tag

2004-03-19 Thread Robert Taylor
=${accounts.number}/html_el:option /c:forEach /html:select You might also investigate using the html:optionsCollection .../ or the html:options .../ http://jakarta.apache.org/struts/userGuide/struts-html robert -Original Message- From: Steltner, Joern [mailto:[EMAIL PROTECTED] Sent

RE: action - delegate - facade

2004-03-18 Thread Robert Taylor
other method. robert -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 4:57 AM To: Struts Users Mailing List Subject: Re: action - delegate - facade Downside is though, trying to cram string request parameters into your DTO in your form

RE: SSLEXT

2004-03-17 Thread Robert Taylor
Use the sslext:pageScheme secure=false/ on the main page. This should switch it back to HTTP. robert -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 9:58 AM To: 'Struts Users Mailing List' Subject: SSLEXT Hello. I'm now

RE: SSLEXT

2004-03-17 Thread Robert Taylor
Okay. Then you should be able to place the following in your struts-config action mapping for the main page. set-property property=secure value=false/ robert -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 10:17 AM

RE: SSLEXT

2004-03-17 Thread Robert Taylor
Yes. Instead of forwarding directly to the Tile, define an action which simply forwards (or redirects) to that main page (tile) and in that action mapping configuration define it to be secure using the set-property element. robert -Original Message- From: Joao Batistella [mailto

RE: SSLEXT

2004-03-17 Thread Robert Taylor
Correction: ...in that action mapping configuration define it to be non-secure using the set-property element. -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 10:52 AM To: Struts Users Mailing List Subject: RE: SSLEXT Yes. Instead

RE: SSLEXT

2004-03-17 Thread Robert Taylor
value=false/ /action Note that prefix is what ever prefix you are using to invoke the Struts ActionServlet. robert -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 11:19 AM To: 'Struts Users Mailing List' Subject: RE: SSLEXT Thanks

RE: SSLEXT

2004-03-17 Thread Robert Taylor
Hmmm. Okay, then try using your original action mapping def: action path=/initial type=org.apache.struts.actions.ForwardAction parameter=tiles.initial set-property property=secure value=false/ /action robert -Original Message- From: Joao Batistella [mailto

RE: SSLEXT

2004-03-17 Thread Robert Taylor
messages? robert -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 12:10 PM To: 'Struts Users Mailing List' Subject: RE: SSLEXT I've already tried. But this doesn't work... I don't understand why... It seems that I'll have to create

RE: Links within ActionErrors

2004-03-17 Thread Robert Taylor
Use c:out value=${error} escapeXml=false/ robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 1:43 PM To: [EMAIL PROTECTED] Subject: Links within ActionErrors I know this probably violates some basic guidlines but... I

RE: action - delegate - facade

2004-03-17 Thread Robert Taylor
://www.theserverside.com/books/wiley/EJBDesignPatterns/downloads/ejbdesignpatterns.pdf robert -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 4:00 PM To: Struts Users Mailing List Subject: Re: action - delegate - facade The advantage of this approach

RE: action - delegate - facade

2004-03-17 Thread Robert Taylor
Adam, its frowned upon to pass a web tier object (ActionForm) into the business tier. I believe a widely used technique is to use BeanUtils to copy the properties from the ActionForm to a DTO (a Domain Object) which can be passed to the business tier. robert -Original Message

RE: action - delegate - facade

2004-03-17 Thread Robert Taylor
objects which you could pass along to the ActionForm. You can read more about Transfer Object Assembler here: http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObjectAssembler.html robert -Original Message- From: Nick Wesselman [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: [OT] Search string tokenizer

2004-03-16 Thread Robert Taylor
Cool! I'll take a look. Thanks David. robert -Original Message- From: Hibbs, David [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 9:20 AM To: 'Robert Taylor'; [EMAIL PROTECTED] Subject: RE: [OT] Search string tokenizer I wrote some code to do this for an open-source

RE: logic:equal

2004-03-16 Thread Robert Taylor
not accept runtime values. You can verify this by looking at the struts-bean.tld Another alternative would be to use the Struts-EL tag libraries. robert -Original Message- From: Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 2:30 PM To: Struts Users Mailing List Subject

RE: action - delegate - facade

2004-03-16 Thread Robert Taylor
, that's my interpretation of the some of the forces behind the pattern and an idea on implementing it. Here's more information: http://java.sun.com/blueprints/corej2eepatterns/Patterns/BusinessDelegate.html http://www.developer.com/java/other/article.php/626001 robert -Original Message- From

RE: [SwitchAction] How do you switch in between application contexts?

2004-03-15 Thread Robert Taylor
Mike, I don't believe the Servlet spec. allows you to forward to another web application. You will have to redirect. robert -Original Message- From: Mike Zatko [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 9:14 AM To: Struts Users Mailing List Subject: Re: [SwitchAction

RE: [SwitchAction] How do you switch in between application contexts?

2004-03-15 Thread Robert Taylor
In your struts-config.xml file you can define forwards to redirect instead of forwarding. robert -Original Message- From: Mike Zatko [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 11:11 AM To: Struts Users Mailing List Subject: Re: [SwitchAction] How do you switch

RE: Accessing boolean attribute using logic

2004-03-15 Thread Robert Taylor
Try this: logic:equal scope=session name=userid property=admin value=false robert -Original Message- From: Theodosios Paschalidis [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 2:04 PM To: [EMAIL PROTECTED] Subject: Accessing boolean attribute using logic Hi all, I

RE: Fundamental Struts Concept

2004-03-15 Thread Robert Nocera
Ed, I'm not sure I understand your question exactly, but I'll answer the best I can. The only information that is sent to the client is the HTML that you see in the browser. The JSP gets converted to a servlet and the servlet just writes to the HTTPResponse, not the HTTPRequest. The request

RE: dynamic javascript forms

2004-03-15 Thread Robert Nocera
I'm pretty sure you can do it if the text inputs are set up in the form as an Array of Strings and if you create your input tags to match what struts would expect from an array. If you do that, you can have your javascript create the fields dynamically as you said. It sounds like you tried this

[OT] Search string tokenizer

2004-03-15 Thread Robert Taylor
- web - presentation - tier Any help is appreciated. robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] Search string tokenizer

2004-03-15 Thread Robert Taylor
Jason and Larry, I think I'm going to investigate using regexp. Michael, I looked into Lucene and I really don't need something that heavy. I just need to perform some simple searches against the database. Thanks to everyone who responded on and off list. robert -Original Message

RE: security framework!!!

2004-03-13 Thread Robert Taylor
http://sourceforge.net/projects/securityfilter/ emulates container managed security. robert -Original Message- From: Mailing List [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 6:19 AM To: [EMAIL PROTECTED] Subject: security framework!!! I'm developing a web

RE: Checking if user has a valida session

2004-03-13 Thread Robert Nocera
How about this: public boolean isUserAdmin(HttpServletRequest request) { //Check if the Admin is logged on if (isLogged(request)) { HttpSession session = request.getSession(); LogonForm user = (LogonForm)

RE: sslext http/https switching taglib and tiles

2004-03-13 Thread Robert Taylor
Adam, I've been using SecurityFilter (sslext taglib form and link tags) with Tiles for a while without any issues. robert -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 11:25 AM To: Struts Users Mailing List Subject: sslext http/https

RE: [OT] 2 JSF questions

2004-03-12 Thread Robert Taylor
I don't know. You may want to try the JSTL users mailing list: [EMAIL PROTECTED] robert -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 1:30 PM To: [EMAIL PROTECTED] Subject: [OT] 2 JSF questions 1) Since JSF is written

RE: [OT] Object Design Question

2004-03-12 Thread Robert Taylor
+1. Join the tables in a query and write an algorithm to parse the results into the view you need. One connection, one query, let the database do the work. Not very OO, but very efficient. robert -Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Friday, March 12

RE: [OT] Object Design Question

2004-03-12 Thread Robert Taylor
OO is not alwasy the best way; and there are trade offs for every implementation. As Jacob mentioned... It's always on a case by case basis. robert -Original Message- From: Avinash Gangadharan [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 4:46 PM To: 'Struts Users Mailing

RE: can anyone help me address this issue

2004-03-11 Thread Robert Taylor
. This is essentially what Chris has suggested. robert -Original Message- From: Mu Mike [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 8:25 PM To: [EMAIL PROTECTED] Subject: RE: can anyone help me address this issue Sorry,maybe I didnt make my question clear my question is: the java

RE: [OT] Database locking and deadlock

2004-03-08 Thread Robert Taylor
Is it possible that dbConnection.doUpdate() gets a new connection each time which could possibly use up (exceed max allowed) the connections in the pool. Just a guess. robert -Original Message- From: Shyam A [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:32 PM To: [EMAIL

RE: Sorting table columns in jsp using struts

2004-03-05 Thread Robert Taylor
The JSTL spec is a great reference. I would recommend you download it. robert -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 8:48 AM To: Struts Users Mailing List Subject: RE: Sorting table columns in jsp using struts Henri, Thanks

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Robert Taylor
Are you using DispatchAction or LookupDispatchAction? robert -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 1:24 PM To: Struts Users Mailing List Subject: Validation help for same Form, multiple pages/tabs I'm using the same

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Robert Taylor
for more granular validations. This may not be the best way to handle things, but I've been using this approach for a couple years and it works quite well. robert -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 2:00 PM To: Struts Users Mailing

RE: DispatchAction and validate

2004-03-02 Thread Robert Taylor
=true in the action mappping for the DispatchAction which is designated to invoke update(). This is assuming you have two separate action mappings which map to the same DispatchAction. robert -Original Message- From: Frers Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004

RE: ServletContextListener init parameters

2004-03-02 Thread Robert Taylor
-value /context-param context-param param-nameproperties_db_name/param-name param-valuebmpauto/bau_content.nsf/param-value /context-param etc... Then your code will yield the expected results. robert -Original Message- From: [EMAIL PROTECTED

RE: ServletContextListener init parameters

2004-03-02 Thread Robert Taylor
You should be able to use either scriptlets or JSTL because they are in the ServletContext: % Enumeration enum = application.getInitParameterNames(); % c:forEach var=paramName items=${application.initParameterNames} /c:forEach robert -Original Message- From: [EMAIL PROTECTED

RE: DispatchAction and validate

2004-03-02 Thread Robert Taylor
I've never used XDoclet (although I mean to learn about it) so I can't help you there. Maybe someone else on the list can. robert -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 12:39 PM To: Struts Users Mailing List Subject: RE: DispatchAction

RE: row counts in logic:iterate...

2004-02-26 Thread Robert Taylor
=form property=items indexId=index tr td%=indexId.intValue() + 1%/td tdbean:write name=item property=someValue//td /tr /logic:iterate robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 12:05 PM To: [EMAIL PROTECTED] Subject: row

RE: row counts in logic:iterate...

2004-02-26 Thread Robert Taylor
Dohhh! You are correct. I mistyped :) robert -Original Message- From: Paul, R. Chip [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 2:11 PM To: 'Struts Users Mailing List' Subject: RE: row counts in logic:iterate... Shouldn't that be %= index.intValue() + 1

RE: servlet filters and authentication

2004-02-26 Thread Robert Taylor
You may want to see if this supports your requirements: https://sourceforge.net/projects/securityfilter/ robert -Original Message- From: David Evans [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 12:07 PM To: Struts Users Mailing List Subject: servlet filters

RE: Common Services across Different Actions.

2004-02-25 Thread Robert Taylor
in ServletContext for application wide access. robert -Original Message- From: Kommineni, Sateesh (GE Consumer Industrial) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 7:21 AM To: [EMAIL PROTECTED] Subject: Common Services across Different Actions. Importance: High Hi

RE: A question on Struts taglib.

2004-02-24 Thread Robert Taylor
/UpdatePartRequest.exec?partAction=updatepartIndex=c:out value=${status.index}/'img src=images/icoEdit.gif/anbsp;/a /td /c:forEach robert -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 6:12 PM To: 'Struts Users Mailing List' Subject

[OT] RE: An OCI - JDBC Source Code snippet is required for inserting CLOB data using Java.

2004-02-18 Thread Robert Taylor
Google: http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Storing+CLOB+in+Oracle+using+JDBC Hit: http://otn.oracle.com/tech/java/jroadmap/jdbc/listing.htm robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 7:20 AM

Re: File Upload and DynaActionForm?

2004-02-18 Thread Robert McBride
I don't believe that DynaActionForm supports the org.apache.struts.upload.FormFile type. See: http://jakarta.apache.org/struts/userGuide/building_controller.html#dyna_action_form_classes -Rob Carl-Eric Menzel wrote: Hello, I'm having trouble getting file upload working when using a

RE: [OT] - Request against Session

2004-02-13 Thread Robert Nocera
Mark, My interpretation of that comment was that if a user has two windows open and are going back and forth between the windows, the system may use information from one window to update the information in the session that actually relates to the old window. This would be a pretty poor design,

RE: Calling JSPs directly

2004-02-13 Thread Robert Nocera
Andy, Depending on the complexity of the application, you may want to consider having the user call an action first, not a jsp. The action can do any setup for the jsp page, such as retrieving any collections you may need to populate dropdown lists in the page. Even if the action does nothing

RE: [OT] - Request against Session

2004-02-13 Thread Robert Nocera
Actually, it's not two different sessions if the second window was opened from the first with a popup or a crtl-n or open in new window. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 2:30 PM To: Struts Users Mailing List Subject: RE:

RE: [OT] - Request against Session

2004-02-12 Thread Robert Nocera
This is probably even more off topic, but I've seen this mentioned before. From what I can tell of their description of this workflow scope, it looks like it may be helpful as far as ease of use goes, but it doesn't offer any real technical benefit over the use of hidden form fields or sessions,

RE: [OT] - Request against Session

2004-02-12 Thread Robert Nocera
Brian said: Don't use getParameter() to try to get hidden form variables. getParameter() looks for parameters appended to the request URL -- http://www.myhost.com/do/myAction?param1=1param2=2. getParameter() will give you access to param1 and param2. The only reason not to use getParamter to get

RE: [OT] - Request against Session

2004-02-12 Thread Robert Nocera
Shirish, I'm not knocking the workflow concept, my only point earlier was that someone shouldn't think it provides any real difference from session storage except that it will attempt to automatically clear the session when they leave that workflow and they won't have to put that logic in. It's

RE: Reading Context Data

2004-02-12 Thread Robert Nocera
If that code with the user2 variable works, it looks like the user code should work unless there is another MDF_userBean class it is referencing. Can you send the log file of the error you get running the action class you included here? The log file I see is for the previous version of this

RE: [OT] Sending email from struts

2004-02-11 Thread Robert Nocera
You might want to try something like velocity so you can store the text of the e-mail as a template and use velocity to insert the dynamic content. If there are really only a few simple fields, I would store the text in the database or an xml file and then use a simple string replace routine to

RE: [OT] Sending email from struts

2004-02-11 Thread Robert Taylor
standard framework to use, but I don't know of any in development currently. robert -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 11:03 AM To: strutslist Subject: [OT] Sending email from struts Hi all. This is kind of off topic

RE: [OT] - Request against Session

2004-02-11 Thread Robert Nocera
Using the session is certainly a possibility, I for the most part, take the opposite approach. Generally the only objects I store in the session are objects that are going to be accessed throughout the entirety of the user's access to the site, stuff like authentication information and role

RE: [OT] Examining Response Headers

2004-02-07 Thread Robert Taylor
Adam, thanks. I did that. The problem is that I need to see request and response headers from different browsers. robert -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Saturday, February 07, 2004 5:59 AM To: Struts Users Mailing List Subject: Re: [OT] Examining

RE: how to output html symbol to jsp page from user-defined taglib?

2004-02-07 Thread Robert Taylor
Try c:out value=${symbal} escapeXml=false/ or don't encode your HTML symbols in your file. Let c:out .../ do it for you. robert -Original Message- From: Ricky Lee [mailto:[EMAIL PROTECTED] Sent: Saturday, February 07, 2004 9:42 AM To: [EMAIL PROTECTED] Subject: how to output html

RE: Data truncation in request scope

2004-02-06 Thread Robert Nocera
It may sound strange, and may not be what is happening to you, but I have seen similar things occur if your jsp page has a tag referencing a bean or list that isn't there somewhere further down on the page. -Rob _ From: Namasivayam, Sudhakar (Cognizant) [mailto:[EMAIL PROTECTED]

[OT] Examining Response Headers

2004-02-06 Thread Robert Taylor
Sorry for the OT post, but Googling and searching the mailing list archives are not producing much. I may not be asking the right question though. Anyhow, I need a tool (free) to examine the request and response headers. Any suggestions? robert

RE: [OT] Examining Response Headers

2004-02-06 Thread Robert Taylor
Thanks to all who responded. Richard, the TcpTunnelGui looks like what I want. I'll check it out. Thanks again. robert -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 5:01 PM To: Struts Users Mailing List Subject: Re: [OT

RE: [OT]CVS client

2004-02-04 Thread Robert Taylor
You might try Tortois CVS: http://www.tortoisecvs.org/ robert -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 3:17 PM To: [EMAIL PROTECTED] Subject: [OT]CVS client Importance: High Hi, can anybody suggest

RE: global data objects -- best practices?

2004-02-04 Thread Robert Taylor
/index.html robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 3:00 PM To: [EMAIL PROTECTED] Subject: global data objects -- best practices? hi, I have a question regarding data objects that should be accessible from

RE: Using Parameter in Action via the struts-config.xml

2004-02-04 Thread Robert Taylor
ActionMapping class. robert -Original Message- From: Anand Patil [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 4:06 PM To: [EMAIL PROTECTED] Subject: Using Parameter in Action via the struts-config.xml Hi All, The struts configuration DTD supports having

RE: [OT]CVS client

2004-02-04 Thread Robert Nocera
I'm not sure what you are asking, but I use Eclipse, versions 2.01 and 3.0M and if you synchronize with cvs you can see each file that is different and go through each change in the compare panes. I find it works like a charm. -Rob -Original Message- From: Ramadoss Chinnakuzhandai

RE: [OT] looking for a method that will be called on application startup

2004-02-03 Thread Robert Taylor
requests. It's simply an interface which you implement (2 methods) then define in your web.xml file. For more information refer to the Servlet 2.3 spec or higher. http://java.sun.com/aboutJava/communityprocess/first/jsr053/index.html robert -Original Message- From: Otávio Augusto [mailto

RE: static variables in actions

2004-02-03 Thread Robert Taylor
John, why not retrieve these from the DB at application start up time and place them in the ServletContext where they are accessible for the life time of the application and easily rendered by JSTL or Struts tags. robert -Original Message- From: Menke, John [mailto:[EMAIL PROTECTED

RE: [OT] looking for a method that will be called on application startup

2004-02-02 Thread Robert Taylor
javax.servlet.ServletContextListener robert -Original Message- From: Arne Brutschy [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 8:00 AM To: Struts Users Mailing List Subject: [OT] looking for a method that will be called on application startup hi, I'm looking

RE: AUTO {ICICICARE#005-218-242

2004-01-29 Thread Long, Robert
Okay, this is getting old... -Original Message- From: NRI Cell [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 9:25 AM To: Struts Users Mailing List Subject: AUTO {ICICICARE#005-218-242}frame encode parameter in UTF-8 Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED]

RE: Struts text field 'value' attribute set from another ActionForm?

2004-01-29 Thread Robert Nocera
You could call an action before going to the form that takes the value from the session and sets someForm.someProperty to that value and then forwards to your jsp. -Rob -Original Message- From: Adam Bickford [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 9:55 AM To:

RE: Validation problem

2004-01-29 Thread Robert Taylor
(Constants.CANCEL_PROPERTY) != null) || (request.getParameter(Constants.CANCEL_PROPERTY_X) != null)) { request.setAttribute(Globals.CANCEL_KEY, Boolean.TRUE); } robert -Original Message- From: Nathan Pitts [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29

Validation Multiple Pages forward-Failure

2004-01-27 Thread Robert Lehner
/ /html:messages /logic:messagesPresent html:form action=newUser html:hidden property=action/ html:hidden property=page value=1/ ... /html:form I don's see any problem, wheres my failure? Thx Robert Lehner [EMAIL PROTECTED

Validation Multiple Pages forward-Failure

2004-01-27 Thread Robert Lehner
/ /html:messages /logic:messagesPresent html:form action=newUser html:hidden property=action/ html:hidden property=page value=1/ ... /html:form I don's see any problem, wheres my failure? Thx Robert Lehner [EMAIL PROTECTED

Re: Validation Multiple Pages forward-Failure

2004-01-27 Thread Robert Lehner
: I used the struts-validation exmaple as pattern. I changed in the pattern struts-config.xml at the action multiRegistration the validation to true and the applikation dosen't work any more. Why? Thx Robert Lehner Ben Anderson wrote: struts validation uses the input attribute of the action tag

Re: Validation Multiple Pages forward-Failure

2004-01-27 Thread Robert Lehner
and i would send it to you via pm. thx Robert Lehner From: Robert Lehner [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Validation Multiple Pages forward-Failure Date: Tue, 27 Jan 2004 18:19:18 +0100 Hello I

Re: Validation Multiple Pages forward-Failure

2004-01-27 Thread Robert Lehner
-Pages wich are would be filled one after the other (and validated, without validation it works for now). At the end I would show all the values to the user and when submitting the entries the actionFrom should call a bussnessdelegate and store the vaules pesistent (via JDO) in a DBMS. CU Robert

RE: Session Problem

2004-01-26 Thread Robert Nocera
If there is no server activity, is it possible the page you are looking at is cached? -Rob -Original Message- From: VERMA, SANJEEV (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 12:24 PM To: [EMAIL PROTECTED] Subject: Re: Session Problem I put the topic as Re: Session

RE: AW: Form is not submited - nothing happens?!?

2004-01-23 Thread Robert Nocera
Are you sure you are not getting any javascript errors? The best place to debug something like this is to use Mozilla. If your xv:message tag is resulting in an input field with the name submit you are going to get an error that tells you something like submit is not a function. Just a

RE: retreiving the labelProperty of an option tag

2004-01-23 Thread Robert Nocera
That's correct, the form is only going to submit the value not the label for the option. You might use javascript to populate a hidden field with the label so it gets submitted, if you really wanted to, but it would be much easier to just look up the label in your action using the value you

RE: Unit Test in struts

2004-01-21 Thread Robert Taylor
Google: http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Unit+Test+In+Struts I believe you want: http://strutstestcase.sourceforge.net/ but I could be wrong. robert -Original Message- From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 2:17 PM

Struts configuration not lazy?

2004-01-19 Thread Robert Nicholson
Yesterday I spent a long time trying to figure out why my struts-config.xml wasn't being processed and it turned out I'd omitted the load-on-startup from my action servlet configuration. I was wondering if it was possible to have the abstract tags lazily configure also. Specifically I had

RE: Filling data in the select tags

2004-01-19 Thread Robert Nocera
The ActionForm is also used to display data on the JSP, so the method that Andrew describes is a good way to go about it. When the user requests to go to a page, make sure that request is to an action and not directly to a jsp. As Andrew mentioned he has done, I have also moved from using

RE: Filling data in the select tags

2004-01-19 Thread Robert Nocera
[EMAIL PROTECTED] Edgil Associates www.edgil.com Don't take life too seriously, you'll never get out of it alive! Robert Nocera To: 'Struts Users Mailing List' [EMAIL PROTECTED] [EMAIL

RE: accessing an image outside my webapp

2004-01-15 Thread Robert Nocera
I don't think Tomcat does, but your local browser will. You are sending your browser a link that tells it to load a file on your file system. It will work fine if you are only running locally, but it won't work if you try to access that link from a browser on another machine unless that machine

RE: accessing an image outside my webapp

2004-01-15 Thread Robert Nocera
15, 2004 10:29 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: accessing an image outside my webapp Robert The client browser is making a request to a webserver using a relative address I think it would be best to understand the difference between relative addressing and absolute

XML representation of Tiles definitions.

2004-01-14 Thread Robert Nicholson
I was reading Chucks ORA Struts book and he points out the differences b/w the JSP and XML representations and whilst looking at this I couldn't help bit think why the XML representation isn't using a tiles namespace in order to make these two forms look more alike.

RE: Validator JavaScript displaying? Mozilla bug?

2004-01-14 Thread Robert Nocera
Brad, I am using Mozilla 0.7 and I saw what you described the first time I went to your page. I can't get it to repeat however. Then I tried for kicks on another machine and didn't see it at all. On that other machine I am just getting validator set up on a project and I tried it, and it

RE: Getting parameters from html:link

2004-01-14 Thread Robert Nocera
I think what you want is: String type = request.getParameter(type); -Original Message- From: Lucas Gonzalez [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 12:01 PM To: Struts Users Mailing List Subject: Getting parameters from html:link Hi! I´ve been trying to get

RE: ActionForm is not automatically popluated.

2004-01-14 Thread Robert Nocera
Without seeing any of your code, one possibility is that the case of your property names isn't properly matching your Form. For instance, the property lastname isn't going to match setLastName() in your form, but lastName will. -Rob www.neosllc.com -Original Message- From: Andre

RE: Using ArrayList instead of String[] properties

2004-01-13 Thread Robert Taylor
the accounts name. Struts will reset your form and them populate the accounts property of your form with the String array. Unless I've missed something, I don't see the need to using indexed properties here if the selected value is single String and order doesn't matter. robert -Original

RE: Generic Error Handler

2004-01-12 Thread Robert Taylor
exception handlers as necessary (per action). hth, robert -Original Message- From: Matthew J. Vincent [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:08 AM To: Struts Users Mailing List Subject: Generic Error Handler I searched the archives and I must have missed it. I want

RE: [OT] Properties and Singleton

2004-01-12 Thread Robert Taylor
You could simply store the loaded Properties object in the ServletContext where the same instance would be available to the entire web application thus acting as a singleton of sorts without necessarily implementing the pattern. robert -Original Message- From: jay andrews [mailto

RE: sharing actions with superuser

2004-01-12 Thread Robert Nocera
Dan, I would base the decision on how similar the actions are. Some possible choices are: 1. Use the same action with the same method as you describe. 2. Use the same action but define two different methods within the action based on what the user's role is. This way you can include private

RE: Exception handling in struts

2004-01-11 Thread Robert Taylor
http://www.mail-archive.com/cgi-bin/htsearch?config=struts-user_jakarta_apac he_orgrestrict=exclude=words=handle+exceptions http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Struts+Exception+Hand ling robert -Original Message- From: vasudevrao gupta [mailto:[EMAIL PROTECTED] Sent

RE: Exception handling in struts

2004-01-11 Thread Robert Taylor
into the browser address window: he_orgrestrict=exclude=words=handle+exceptions I usually do this when the url wraps in me email client. robert -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Sunday, January 11, 2004 10:32 AM To: Struts Users Mailing List; [EMAIL

  1   2   3   4   5   6   7   8   9   10   >