Re: image property

2003-09-08 Thread Peter Smith
You might try using an ImageButtonBean. A lot of the work you are doing is done in this bean. Here is the documentation: http://jakarta.apache.org/struts/api/org/apache/struts/util/ImageButtonBean. html HTH, Peter -- Peter Smith Software Engineer InfoNow Corporation > From: "D

Re: debug level of struts...

2003-09-05 Thread Peter Smith
Hi Pady, You might try adding this to your action servlet in web.xml: debug 99 Let me know if this works for you, Peter -- Peter Smith Software Engineer InfoNow Corporation > From: Pady Srinivasan <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <

Session issue

2003-07-31 Thread Peter Smith
java.lang.Thread.run(Thread.java:536) -- Peter Smith Software Engineer InfoNow Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSP exception

2003-07-17 Thread Peter Smith
Hi all, Looks like I was not specific enough. I have no problem getting the exception object when an action throws an exception. Its when a jsp page does. The status code is correct in request, but the exception just isn't there. Anyone have a recommendation? Thanks, Peter -- Peter

JSP exception

2003-07-17 Thread Peter Smith
Hi all, Does anyone know how I can get access to the exception put into pageContext on an error jsp page? I am trying to do logging from an action, but haven't been able to get the exception to log it. Thanks, Peter -- Peter Smith Software Engineer InfoNow Corpor

Exceptions from a tile

2003-07-17 Thread Peter Smith
? Thanks, Peter -- Peter Smith Software Engineer InfoNow Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: question about ActionErrors

2003-07-11 Thread Peter Smith
Hi Yan, For your properties file, there is an entry in struts-config that you can make. Here is an example: For this example, the file would be application.properties. For your other questions, there is an ActionMessages class that does what you need. HTH, Peter -- Peter Smith Software

Re: html:text tag with null bean

2003-07-08 Thread Peter Smith
, the exception should go away. HTH, Peter -- Peter Smith Software Engineer InfoNow Corporation > From: "Dmitri Ilyin" <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Date: Tue, 8 Jul 2003 16:06:41 +0200 > To: [EMAIL PROTEC

Re: Struts Tiles definitions

2003-07-07 Thread Peter Smith
Hi José, I wonder if a RelayAction could be of help to you. Here is a link: http://www.husted.com/struts/tips/011.html Peter -- Peter Smith Software Engineer InfoNow Corporation > From: José Moreira <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMA

Re: Problem with Tiles definitions in XML File

2003-07-01 Thread Peter Smith
Hi Christian, When inserting in a definition on a jsp page, you want to use the "definition" attribute. "beanName" can be used if the page you are inserting is in a java bean. Here is an example: Hope this helps, Peter -- Peter Smith Software Engineer InfoNow

Re: tiles-def.xml

2003-06-30 Thread Peter Smith
I just use the tomcat manager application and reload the webapp. Peter -- Peter Smith Software Engineer InfoNow Corporation > From: "Lai, Kenny" <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Date: Mon, 30 Jun 2003 1

Parameters to an action from a tile

2003-06-27 Thread Peter Smith
Hi all, I am trying to insert in a tile with a value that needs to pass two parameters. When I put in the '&', the parser dies. Here is the definition I am inserting. So its the '&header=true' that will kill it. Any thoughts? Thanks, Peter -- Peter Smi

Re: Simple html:link question

2003-06-26 Thread Peter Smith
Thanks Kris, that worked. I tried that earlier, but I had paramName="${remoteUser} instead of paramName="remoteUser". Sigh. -- Peter Smith Software Engineer InfoNow Corporation > From: Kris Schneider <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List&

Simple html:link question

2003-06-26 Thread Peter Smith
ean psmith_INOW in any scope' (psmith_INOW is the value of remoteUser) Anyone have a suggestion? Thanks, Peter -- Peter Smith Software Engineer InfoNow Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

c:out in tiles insert tag

2003-03-27 Thread Peter Smith
Hi all, I am trying to insert a definition dynamically. Right now, the following works: 1: <% 2: String selectedBody = "body.tab1"; 3: %> 4: 5: But I would like to use c:out instead of the scriptlet. Here is what I have been trying: 1: 2: <%= selectedBody %> 3: 4: 5: 6: 7: Line 6 p

Possible to access Init Params from JSP??

2001-05-24 Thread Peter Smith
I have access to the parameters in my web.xml file from a class which extends ActionServlet using: getServletConfig().getInitParameter( SOME_KEY ); I'd like to access those same parameters from a JSP which is 'forwarded' to. Can it be done? Thanks. --Peter-- __

Possible to capture 'imageName.x' property?

2001-05-17 Thread Peter Smith
I saw a thread talking about how to find out which 'input' image was clicked by doing the following in your Action class: String image1 = request.getParameter("imgName1.x"); if ( image1!=null ) { // then this image was clicked! I would like this info to be available from my ActionForm via some

Trouble setting properties of an ActionForm bean

2001-05-16 Thread Peter Smith
I'm hoping this issue is me just not understanding the JavaBeans spec! When I make the getter method of my ActionForm property a non-String type, the 'set' method for that property is not called when a request is made. I traced this to BeanUtils.java which gets a 'null' returned by 'propertyDesc

Cannot get request dispatcher for path http://cnn.com ?

2001-05-16 Thread Peter Smith
Hi, I have a wizard-style app that I've configured in my struts-config.xml as below. Not sure I like it yet, but I have my Action class send the user to the next JSP page each time the user hits the 'Next' button (design swiped from msg in this group). When they're finished, I wish to send them

RE: FW: Session scope

2001-05-07 Thread Peter Smith
re of primary > app > > server down. > > > > In current generation of web apps, should any > > services is needed to be distributed, you can use > > EJB, RMI, CORBA or COM/COM+. Session related info > > should be in the memory of app server. Session is >

Re: FW: Session scope

2001-04-23 Thread Peter Smith
I'm definitely considering running Struts with at least 2 JVMs - one on each of 2 boxes. At first I didn't even consider the effects of running multiple JVMs - never done it! Currently, my company has a big Oracle focus. There's only one Oracle instance so they're using it to maintain session i

3 'Intro' questions on struts and list

2001-04-04 Thread Peter Smith
Hello all, 1. Is there an estimated/expected date for final release 1.0 of Struts? Don't know if my boss will be ok with beta software in production. 2. Can I find archives for this list somewhere? 3. I'm especially interested in anyone who's compared Struts / JSP with other options such as Tu