Check your struts-config.xml for the Resources file package structure and
see if it matches the resources location in the classpath.
later
hemant
- Original Message -
From: Renato Aganippe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 2
- Original Message -
From: hemant [EMAIL PROTECTED]
To: struts [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 10:13 AM
Subject: Checkboxes and Intermittent BeanUtils.populate Error
Comrades,
I check a checkbox and submit, I get the error. If I do not use the checkbox
and hit submit
; }
private List bananas = LazyCollections.lazyList(new
ArrayList(LazyCollections.lazyList(new ArrayList(), SeedBean.class)),
BananaBean.class);
}
I tried doing the same but it didnt work :(
Thanks for your time
hemant
- Original Message -
From: Arron Bates [EMAIL PROTECTED
Arron
Great answer!
Will experiment with my code based on your suggestions and let you know
Thanks for your time
Regards
hemant
- Original Message -
From: Arron Bates [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, July 24, 2002 10:46 AM
Subject
To answer your second question, the LazyCollections aren't yet public
(unless I am in some kinda coma) , they can be found in commons nightly
builds.This is OO Software Craftsmanship at its best!! The code is very
well documented and should be enough to get you going.
regards
hemant
for a
seed comes in, then it will make the seed object for the banana.
So is it possible that the new Banana and new Seed are not being created at
all? and as a result the seed/banana data is not being set?
Regards
hemant
- Original Message -
From: Arron Bates [EMAIL PROTECTED
= LazyCollections.lazyList(list, holder.getClass());
}
return this.wrappedCollections;
}
I am about to give up on form auto populate as I am out of time. I will be populating
them by hand but anyway... one last attempt. We dont like to lose... do we?
Thanks In Advance
hemant
td width=10%Description/td
td width=90%nested:write name=vopair
property=twVo.description//td
/tr
For some reason, the setter Method of setDescription(String xyz) is not being called.
Please help...
Many Thanks for Your Time
Regards
hemant
. right?
As I said earlier, the getters work, the setters do not work. All this
inspite of having the bean in the form.
Thanks
hemant
- Original Message -
From: Adam Hardy [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, July 18, 2002 4:39 PM
Subject: Re
, then it would mean I need a bean for every property that I
want to set. Isnt that cumbersome?
Thanks in Advance
hemant
- Original Message -
From: hemant [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, July 18, 2002 6:11 PM
Subject: Re: Setter
No, it is a trivialize the complexity tactic which makes you feel good
momentarily.
all in jest
hemant
- Original Message -
From: avinash [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, July 19, 2002 1:14 AM
Subject: Re: Need some help
hi ,
i don't
a feeling it is not
that complicated. Iam missing some minute detail somewhere. Is it because I have the
id? and that bananaList is null?
All I want to do is to iterate on the bananaList in the Crate of BananaLists. The
above code works for logic:iterate .
Regards and Thanks in advance
hemant
/
.
- Original Message -
From: hemant [EMAIL PROTECTED]
To: struts [EMAIL PROTECTED]
Sent: Monday, July 15, 2002 3:10 PM
Subject: Arron Bates, Monkey Example: List of BananaLists
First of all, the tutorial@ keyboardmonkey.com was extremely helpful.
Arron, Thank You very
of this tutorial???
hemant wrote:
First of all, the tutorial@ keyboardmonkey.com was extremely helpful.
Arron, Thank You very much.
I have a situation where I have a Collection of banana Lists.
nested:iterate id=crateOfBanaLists name=rangesform
property=crates type
I had my jsp page working correctly until I replaced the struts libraries with a
June28th Version of the nightly build
Here is what I get now. Could someone throw some light on this?
Regards
hemant
javax.servlet.ServletException: Define tag can contain only one of name attribute,
value
() method. For some reason, the
execution fails even before it gets to that point. Instead I get the following
exception. Could someone please throw some light on this? Iam not really sure where
exactly the problem lies.
Regards and Thanks in Advance
hemant
Fabrice and Hemant
I had this problem too but I overcame it the hard way. Many a times, its the
IDE that causes this kinda confusion.
Here is what I did, I wrote a startup servlet that starts up logging ,
creates the connection pools via poolman, and loads a few other things.
step1: I loaded
One other thing, Make sure your Startup Servlet does not extend
ActionServlet. I made it extend HttpServlet and the problem went away.
Thanks
hemant
- Original Message -
From: hemant [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, July 02, 2002 11:54 AM
instance variable
should not have been there in the first place as it has nothing to do with a Fruit
abstraction. I guess we need something like a ValueObject add on object to plug it
in when we use this Object in a Struts environment.
later
hemant
Minor correction...It should have been,
Let us take the fruit example.
pardon my grammar
hemant
- Original Message -
From: hemant
To: struts
Cc: Sanjay Pamidiparti
Sent: Friday, June 21, 2002 11:12 AM
Subject: Action Form Dictating Value Objects?
Comrades,
Let
The cached Row set works extremely well for small volumes but when volumes
are large, its can cause a resource problem as these objects hog the memory
especially when there are a large number of users.
just a thought.
later
hemant
- Original Message -
From: Shekhar Jain [EMAIL
-END
OF TRACE---
Could somebody throw some light on whats going on? Is there another way to initiate
Logging? preferably via ActionServlet?
Regards
hemant
of BVo collection but the key[] in formbean is
already filled by AVo collection parameters. How can I use the dropdown and capture
the BVo's keys?
Thanks for your time.
hemant
,
java.lang.String)
Thank You for your time
hemant
that 1.1Beta has a lot of changes, have you encountered any issues
with regards to functionality such as XML parsing etc?
Prerparing myself mentally, precautions/pointers are highly appreciated.
Thanks and Regards
hemant
Thank You for your time
hemant
root cause
java.lang.ClassFormatError
java.lang.Throwable()
java.lang.Error()
java.lang.LinkageError
except struts-config and web.xml is the same in both webapps. What could be
wrong?
Thanks for your time
hemant
--
java.lang.ClassCastException
java.lang.Throwable()
java.lang.Exception
Yes, but Iam sure it will be back. It is too good to be shelved. The current
version (v2.1) works fine for me.
Regards
hemant
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, April 02, 2002 7:56 AM
Subject: RE
Vadim Petrenko,
You da man...
Many Thanks, will look into it. Right now Iam experimenting with 1.1b.
Regards
hemant
- Original Message -
From: Vadim Petrenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 02, 2002 8:25 AM
Subject: Dynamic Bean Populate
deleted the entire
Beta Struts related Jars. I also got the latest Xerces. Please enlighten this ignorant
soul.
Thank You for your Time
hemant
This happens generally when your webapp is not properly started or is in the
process of starting.Check your web.xml and *.webapp files for any mistakes.
regards
hemant
- Original Message -
From: Singh, Sandeep [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent
the same
struts-config.xml works fine with Struts 1.0.2
Please Advise
hemant
- Original Message -
From: hemant [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 28, 2002 2:09 PM
Subject: Re: Struts 1.1Beta and Log4J, No appender Issue
Marcelo
Marcelo
Thanks for your time,
here is the servlet part of the web.xml you asked for..
Regards
hemant
///web.xml start
/
web-app
!--StartupManager--
servlet
servlet-classorg.apache.struts.action.ActionServlet
Startup Manager in my web.xml is as follows... (earlier post had the wrong
servlet-class )
!--StartupManager--
servlet
servlet-classcom.jny.operations.mplanning.mpi.service.StartupManager/serv
let-class
init-param
param-nameLOG4J_CONFIG/param-name
Iam not aware of the enhancements in Struts 1.1b completely but would like to know if
the following
functionality exists either in Struts 1.1b or 1.0.2.
Lets say, we get a collection of ValueObjects and populate the JSP by doing a
vo.getXXX methods.
Since Struts depends heavily on
cache, Pool Management etc.
Regards
hemant
Thanks Marcelo
I will try that at the end of the day and will post the result. Switching
back and forth between 1.0.2 and 1.1b is not as smooth as it seems with VA
3.5.3 and Tomcat 4.x.
Regards
hemant
- Original Message -
From: Marcelo Vanzin [EMAIL PROTECTED]
To: Struts Users Mailing
hemant
specifically want it
to.
Regards
hemant
Original Message -
From: Marcelo Vanzin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 28, 2002 11:48 AM
Subject: Re: Struts 1.1Beta and Log4J, No appender Issue
hemant wrote:
log4j: No appenders
the InitialContext? .
Thanks for your time
hemant
- Original Message -
From: Martin Samm [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 22, 2002 7:08 AM
Subject: Re: HOWTO: Lessons learned from using Struts, Tomcat and Oracle
alternatively, use poolman, which
and
load it prior to ActionServlet as you said.
have a good weekend
hemant
public class Logger
{
static Category category = Category.getInstance(mpi);
static {
try
{
String pc = CommonConstants.LOG4JPATH;
System.out.println(pc is + pc
/logic:iterate
Thanks 4 your time
hemant
to be remotely available (clients could be
EJB's on another server ) How do we go about doing that?
Thank You for your time
Regards
hemant
was a pain but worth learning.
regards
hemant
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 12:11 PM
Subject: RE: Loading pdf files using jsp
Adobe used to have a Java library
. The rangesActionForm in my struts-config.xml
is one such bean.
Thanks in Advance,
Regards
hemant
___
Environment: Tomcat 3.2.1/Struts 1.0/JBuilder 5.0/
Here is a snippet from my jsp
45 matches
Mail list logo