Re: Struts 1 Logging

2014-05-30 Thread Mark Shifman
EB-INF\lib\log4j.properties Which are logged by my action class. Could you please help if I am missing something. Thanks Usha You need a line like this: log4j.logger.org.apache.struts=DEBUG Regards, Christoph This Email was scanned by Sophos Anti Virus -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu

Re: SV: Upgrade from 1.2 to 1.3x

2010-05-25 Thread Mark Shifman
e, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mai

struts-blank-1.3.10.war has memory leak.

2010-05-13 Thread Mark Shifman
Hi: I have been trying to track down a memory leak in my struts 1.3.10 web app. I am using tomcat 6.0.26 which has a leak detector button in the manager app. After basically gutting my app to a start up page, it occurred to me that I should just see if the struts-blank web app has a memory leak.

Re: Simple two button form - Struts 1.2.x

2009-12-10 Thread Mark Shifman
Use EventDispatchAction or just use javascript to go to the action you want when the button is pushed. mas davargas123 wrote: I am putting in page that loads at the beginning of my application, and all it has two buttons that should end up forwarding to do one of two different actions. How can I

Re: Struts HTML taglib vs. Standard HTML tags

2009-12-04 Thread Mark Shifman
Come on, at least tell us the strut version. I happen to be using struts 1.3.10 and if you look in /META-INF/tld/struts-html.tld of the struts-taglib-1.3.10 jar you will find http://struts.apache.org/tags-html so i use <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"%> mas dav

Re: Taglib to refence html in Struts 1.3.8

2009-12-01 Thread Mark Shifman
<%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"%> seems to work for me bladu wrote: > Hi, > > I would be very grateful If somebody could say to me what is the Struts > taglib equivalent in Struts 1.3.8 to the taglib below allocated in Struts > 1.2 > > <%@ taglib uri="http:

Re: [DispatchAction] no handler parameter

2009-11-01 Thread Mark Shifman
I have also gotten this error and it was not obvious how it happened since the appropriate parameters were where they were supposed to be. You need to think of weird causes like double clicking a link that contains parameters or some how the form is submitted twice, the second time the "command"

Re: struts1 - html:hidden tag

2009-03-05 Thread Mark Shifman
(2) >>> >>> >>> When I load value from popup windows, it seems that default value will >>> be setup on (1); while (2) always return value="". -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shi

Re: struts1 - html:hidden tag

2009-03-05 Thread Mark Shifman
-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: html:select for a string list

2008-12-10 Thread Mark Shifman
have not value and label > i need just to recuperate the value and set the list of string > what must i add as attribute to html:optionCollection, > here is html:select > > > > > Regards > Elyes. > -- Mark Shifman MD. Ph.D. Yale Center for Medical Infor

Re: Is it hard to migrate from struts 1.2.x to 1.3.x ??

2007-09-05 Thread Mark Shifman
the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: refresh problem

2007-05-31 Thread Mark Shifman
t;/request" Yenile But result not change. I watched this process. Page not waiting action class work done. Page has waiting and show result but action class still working. It can be possible a settings in action mapped xml file? Or any suggestion? Regards, -- Mark Shifman MD. Ph.D.

Re: Displaytag

2007-05-16 Thread Mark Shifman
nd love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-m

Re: How to change the Context Root of a webapplication

2007-04-20 Thread Mark Shifman
elete this e-mail and any attachment and all copies and inform the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Me

Re: DispachAction - does not contain specified method

2007-03-13 Thread Mark Shifman
net.ias.web.WebContainer.service(WebContainer.java:598) Thanks, -Nitin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medica

Re: combining chain of commands with struts action

2007-01-19 Thread Mark Shifman
ser mailing list archive at Nabble.com. ----- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMA

Re: Struts2, DisplayTags OGNL-error

2006-12-13 Thread Mark Shifman
ache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:684) at java.lang.Thread.run(Thread.java:595) ERROR (061212 20:29:29) Developer Notification (set webwork.devMode to false to disable this message): -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics P

[s2] Radio buttons example

2006-12-07 Thread Mark Shifman
Hi: The Struts 2 Documentation pages seem to have left out radio buttons: http://struts.apache.org/2.x/docs/tag-reference.html http://struts.apache.org/2.x/docs/ui-tag-reference.html There is a page but its example is a little opaque: http://struts.apache.org/2.x/docs/radio.html I couldn't find

[s2] Making LazyDynaBean work with ModelDriven interface

2006-12-05 Thread Mark Shifman
Some folks may be as pig-headed as me or may need to use LazyDynaBeans as they are translating from struts1 to struts2. After fooling around, I figured it out but it is pretty clear to me this is not the way to go. Below is a simple example. public final class MyAction extends ActionSupport im

Re: [s2] LazyDynaBean and ModelDriven interface

2006-12-04 Thread Mark Shifman
Mark Shifman wrote: Does anybody have an example of using a LazyDynaBean with the ModelDriven interface? http://struts.apache.org/2.x/docs/struts-1-solutions.html implies that it should work. I have a simple action: public final class MyAction extends ActionSupport implements ModelDriven

[s2] LazyDynaBean and ModelDriven interface

2006-12-04 Thread Mark Shifman
he LazyDynaBean. If I use a simple pojo like public class myBean { String my_field; public String getMy_field() { return my_field; } public void setMy_field(String my_field) { this.my_field= my_field } Things work. What am I missing or doing wrong? Thanks in advance mas

Re: Themes and templates

2006-11-28 Thread Mark Shifman
other label radio1 label radio2 (now) label radio1 label radio2 (mi needs) I want to know if render of buttons tables forms and other tags are based on this templates..and how i could change it Regards Juan -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics

Re: Validation + multiple Submit buttons

2006-11-14 Thread Mark Shifman
-config.xml or validation.xml but I am not sure if this is actually possible (I fear the worst) If anyone has any tips, much appreciated. Andrew -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

Re: FormFile getPath() ?

2006-09-29 Thread Mark Shifman
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe,

Re: how to initialize custon-chain.config

2006-09-26 Thread Mark Shifman
Thanks Wendy, I used: chainConfig org/apache/struts/chain/chain-config.xml, /WEB-INF/ custom-chain-config..xml And it worked! The first loads the "struts" catalog and the second load my own catalog. Thanks again, Mark Shifman Wendy Smoak wrote: On 9/26/06, Mark Shifman <[EM

how to initialize custon-chain.config

2006-09-26 Thread Mark Shifman
HI; I am starting to play with chains and commands in 1.3.5 and I was wondering where I initialize the my custom chains ? I don't want to mess with the request processor, just add a few command chains of my own. The cookbook mail reader example from commons.chain uses a context-param and lis

Re: Validation on String[]

2006-09-21 Thread Mark Shifman
*** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Retrieve results and display

2006-07-24 Thread Mark Shifman
e.PDF ~~ -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: upgrading from struts version 1.2.6 to 1.2.9

2006-06-27 Thread Mark Shifman
there is a wiki page: http://wiki.apache.org/struts/StrutsUpgrade Picha, Gayatri wrote: Hi, I am trying to upgrade from struts version 1.2.6 to 1.2.9, what are the steps that needs to be done in order to do this. Thanks in advance, -Gayatri. -- Mark Shifman MD. Ph.D. Yale Center for

Re: How to disallow opening a page directly from URL

2006-05-18 Thread Mark Shifman
L PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
Thanks!! I will submit a bug ticket tomorrow. Looking at the validator-rules.xml it looks like a double validator has been completely omitted. mas Gary VanMatre wrote: From: Mark Shifman <[EMAIL PROTECTED]> Thanks Gary: I am now getting a much more insidious exception thrown. I usi

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
ad.run(Thread.java:534) I get this error with both the old commons-validator shiped with the blank application and with commons-validator-1.3.0 thanks in advance. mas Gary VanMatre wrote: From: Mark Shifman <[EMAIL PROTECTED]> Hi: When I use the commonsValidator for required on

[Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
Hi: When I use the commonsValidator for required on the client side, the name of the component is not being picked up and the alert says "null is required". This happens with both h:inputText and h:selectOneListbox, the only two I have tried. ... function required() { this[0] = new

Re: [Shale] where to put the jsp pages and shale-blank app

2006-03-23 Thread Mark Shifman
Thanks for the information on disallowing direct access via chain-config! I couldn't find any exceptions that were thrown while trying to access WEB-INF$pages$welcome. Craig McClanahan wrote: I suspect an exception (due to not being able to directly access things under /WEB-INF) is getting s

[Shale] where to put the jsp pages and shale-blank app

2006-03-22 Thread Mark Shifman
rrect timestamp from the welcome bean? -- Mark Shifman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Shale]shale-blank time is 5 hours off

2006-03-22 Thread Mark Shifman
Mea Culpa. I guess the default timezone is GMT. Setting the zone to EST, did the correct thing. Mark Shifman wrote: I compiled a war with the shale-blank stuff and deployed it and a weird thing happened, the time was 5 hours fast (minutes seemed ok) I downloaded and deployed shale-blank

[Shale]shale-blank time is 5 hours off

2006-03-22 Thread Mark Shifman
thing fancy except I am baffled. Am I somehow configured wrong? Is there something funny about f:convertDateTime in myfaces? Thanks in advance. mas -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROT

Re: [Shale] shale-mailreader could not be started

2006-03-17 Thread Mark Shifman
I removed shale-tiger.jar from the lib and it started fine. I opened a bugzilla ticket for struts component shale. Thanks for your rapid response. Mark Shifman Wendy Smoak wrote: On 3/16/06, Mark Shifman <[EMAIL PROTECTED]> wrote: I also get this error: 2006-03-16 15:29:03 StandardC

[Shale] shale-mailreader could not be started

2006-03-16 Thread Mark Shifman
Hi : Today I got the shale-mailreader-20060316.war, dropped it into my webapps dir, went to the tomcat manager and it wasn't running. I tried to start it and was told Message: FAIL - Application at context path /shale-mailreader-20060316 could not be started I am using Apache Tomcat/

Re: global exception handler sometimes gets a null exception

2006-02-02 Thread Mark Shifman
aused the error to happen? thanks very much, Michael from Ottawa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Ce

Re: Managing exceptions

2005-04-25 Thread Mark Shifman
efine this general strategy. You can also extend ExceptionHandler and introduce your own error logging behavior or other specialized operations. Hope this helps, Joe -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

sslext java.lang.ClassCastException in SecureRequestProcessor

2005-03-31 Thread Mark Shifman
han type="org.apache.struts.config.SecureActionConfig" on the action-mapping so I wouldn't have to setting the security property for every single action. When I look at line 102 that gives the error I am stumped as to why there should be a problem with the class cast. mapping = (

Re: How to clear ActionForm before calling mapping.forward(...)???

2005-03-21 Thread Mark Shifman
You could request.removeAttribute("employeeForm") before the forward and a new actionForm would be made on the next round. Gaet wrote: Hello the list! I have an action-mapping with a forward action that recall the same action mapping in order to display other informations. My problem is that my for

custom validator stopped working

2005-01-27 Thread Mark Shifman
I have a very simple custom validator that checks if a select list has 1 or more selections. when I upgraded to struts 1.2.6 it stopped working. I have done all the things in http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 ie change the validator dtd I also tried using the most recent

multiple struts-config.xml and validator.xml files for dealing with "stories"

2004-07-13 Thread Mark Shifman
Ted Husted wrote: For a large, heavy-duty-input data-driven web application, I would recommend C. C) [Conventional class] is NOT used, data form validation is defined within the validation.xml and handled by struts, the Action class (or some surrogate) then enforces all business rules. I

jsp document/xml and struts

2004-06-11 Thread Mark Shifman
I have been trying to make a jsp document work and display. I'm using tomcat5 and mosiac 1.6. and struts 1.1 I have saved my document as a jspx file and have tried a variety of ways to add links to a stylesheet. mosiac tells me this : This XML file does not appear to have any style infor

Re: [SOLVED] Default methodName for DispatchAction

2004-06-02 Thread Mark Shifman
You should look at the source code for the version of DispatchAction and LookupDispatchAction (available either from a download of src or the cvs repository). Older builds just threw an exception if LDA didn't find a parameter for method. You can overide the execute() but you might just as we