case sensitive property names ??

2002-01-13 Thread Paradis, André
Hi, i had the following case where another process calls an action in my application with a parameter in url named A. like: .../actions/process?A=1UNAME=andre I coded a form bean with a getA/setA pair, but it never gets called. if I use a in the call to the action, it works. however,

Need explanation: include tag in struts.tld and bean:include tag

2001-09-25 Thread Paradis, André
Hi, I'd like to know what is the status of struts.tld. It defines an include tag wich performs the equivalent of a jsp:include tag. Is it deprecated ? There is also the bean:include ... tag defined in struts-bean.tld. From the code, I understand that the framework is computing an url, and

RE: setAttribute and ActionForward

2001-09-19 Thread Paradis, André
Quentin, The problem is that you forward to the desired page using a redirection. thus you loose everything placed inside the request object when the page is called by the browser. Workarounds includes putting the bean in the session scope, or use forward.setRedirect(false);

html:select and remembering selection

2001-09-19 Thread Paradis, André
Hi guys, Here is a simple form: html:form action=/selectTest html:select property=currentSelection html:options collection=aList property=key labelProperty=label/ /html:select /html:form

RE: How to get context object while in Action

2001-09-10 Thread Paradis, André
in your action code: this.getServlet().getServletContext(); (actions are initialized with a reference to the ActionServlet object); Andre Paradis -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: September 10, 2001 11:22 AM To: [EMAIL PROTECTED] Subject: How

RE: Does html:errors not work proper?

2001-09-10 Thread Paradis, André
One possibility is that there's a redirection occuring somewhere. Since error bean is stored in request scope, it would be lost after a redirection (a new request). Andre Paradis -Original Message- From: MacKellar, Kimberly [mailto:[EMAIL PROTECTED]] Sent: September 10, 2001 11:33 AM

RE: Does html:errors not work proper?

2001-09-10 Thread Paradis, André
You return an instance of ActionForward at the end of the perform method. In the configuration file, an action can go to a certain location by doing the equivalent of jsp:forward .../ or by doing a redirection (setting the Location header). But i think the default is using the forward

comparing two beans with logic tags

2001-09-06 Thread Paradis, André
Hi, I know i can use logic:equals name=thebean property=id value=constant to compare a bean's property to a constant, but how do i compare two beans property for equality using tags? Thanks Andre Paradis

BeanUtils deprecated?

2001-09-05 Thread Paradis, André
Hi guys, This has probably been answered before, BeanUtils is deprecated (struts 1.0). What is the correct alternative to this class? Thanks a lot, Andre Paradis

RE: BeanUtils deprecated?

2001-09-05 Thread Paradis, André
Sorry... just tired... from javadocs: At some point after Struts 1.0 final, will be replaced by an equivalent class in the Jakarta Commons Beanutils package. -Original Message- From: Paradis, André Sent: September 5, 2001 3:52 PM To: [EMAIL PROTECTED] Subject: BeanUtils deprecated

logic tag and empty string value () problem

2001-09-04 Thread Paradis, André
Hi, the following declaration does not compile on iPlanet 6.0 SP2: logic:equal name=something value= ... /logic:equal here's a snippet of the generated java file: ((org.apache.struts.taglib.logic.EqualTag)_JSP__0).setName(sqc_submenu_ currentitem);

RE: logic tag and empty string value () problem

2001-09-04 Thread Paradis, André
Thanks matt, Is it fixed in SP3 ? -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: September 4, 2001 10:53 AM To: [EMAIL PROTECTED] Subject: Re: logic tag and empty string value () problem The workaround is to use a scriplet: logic:equal name=something value=%=%

RE: how do I snoop responses

2001-08-29 Thread Paradis, André
Here's a free http sniffer tool in perl. Works great for me. It listen to a given port and forward to another port, host while printing http stuff. might need some tweeking, read the script. Andre Paradis -Original Message- From: Tom Tibbetts [mailto:[EMAIL PROTECTED]] Sent:

RE: how do I snoop responses

2001-08-29 Thread Paradis, André
Just install activeperl for windows http://aspn.activestate.com/ASPN/Downloads/ActivePerl/ then open up a dos box and type perl http.pl -Original Message- From: Tom Tibbetts [mailto:[EMAIL PROTECTED]] Sent: August 29, 2001 2:40 PM To: [EMAIL PROTECTED] Subject: Re: how do I snoop

RE: Validation FW: Displaying messages passed the request

2001-08-28 Thread Paradis, André
Matt, Doing a redirection causes a new request to be created, thus you loose everything you put in the previous request object. You could save your messages in user session scope, then do your redirection. The next page will have access to the user session and you'll be able to read those

RE: error running struts on iPlanet

2001-08-28 Thread Paradis, André
Ken, I ran across the same problem... the tld declaration for struts-html declares a prefix of html for all of its tags (like html:form) etc. When you put a normal html tag in your jsp page html, iplanet interpret that to html: (seems a bug to me...) and tries to find a tag that does not

RE: error running struts on iPlanet

2001-08-28 Thread Paradis, André
-INF\compiled_jsp\ jsp\APPS\oapiW AR\index.java:70: Class org.apache.struts.taglib.html.LinkTag not found. ((org.apache.struts.taglib.html.LinkTag)_JSP__0).setHref(./js p/userLogin.js p); ^ 3 errors Any ideas? -Original Message- From: Paradis, André [mailto:[EMAIL PROTECTED

RE: iPlanet OT: Why do I have to add jars in WEB-INF/lib to my classpath?

2001-08-21 Thread Paradis, André
Matt, I package my war file with a build file using ant. I just copy all my jar files in web-inf/lib, then jar the whole directory structure into a .war, and deploy the file using iasdeploy. Once deployed, all jar file contained in my war file end-up beeing uncompressed in the web-inf/lib