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
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" <
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]
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
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
?
Thanks, Peter
--
Peter Smith
Software Engineer
InfoNow Corporation
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
, 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
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
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
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
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
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&
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
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
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--
__
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
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
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 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
>
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
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
22 matches
Mail list logo