Re: ActionServlet class loading problem

2004-08-06 Thread Craig McClanahan
On Fri, 06 Aug 2004 23:26:12 -0400, Erik Weber <[EMAIL PROTECTED]> wrote: > > Anyone have any idea what is going on here? I sense that there is a > problem with "unloading" of classes here, but this only seems to happen > with Struts apps (though I can't say I have tested extensively with > JBoss

Re: ActionServlet class loading problem

2004-08-06 Thread Erik Weber
OK, I was wrong, so far, not good. It doesn't seem to matter which ClassLoader the server is using (JBoss' or Tomcat's -- I am modifying jboss-service.xml as you suggest) -- I still encounter this problem. I deploy Foo.war for the first time -- all is OK. No exceptions during deployment, and the ap

Re: ActionServlet class loading problem

2004-08-06 Thread Erik Weber
OK, I was wrong, so far, not good. It doesn't seem to matter which ClassLoader the server is using (JBoss' or Tomcat's -- I am modifying jboss-service.xml as you suggest) -- I still encounter this problem. I deploy Foo.war for the first time -- all is OK. No exceptions during deployment, and th

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
Bryan your html did not appear on the emails. At 12:09 PM 8/6/2004, you wrote: Wouldn't it be so cool if you could take something like a graph of hibernate objects and have a form dynamically generated for u. With dhtml or something so that you could populate the whole graph in one user form ? For

Re: GOING GOING GONE DYNAMIC

2004-08-06 Thread Curtis Taylor
Hey Michael, ActionMapping is a subclass of ActionConfig, right? So if you use a similar construct for your mapping as for your form config, it *might* work (caveat: superficial API scan only; no testing). It's just a question of where in your food chain you do it (inside your Action class execute

RE: FW: null pointer --org.apache.commons.digester.Digester.getXM LReader(Digester.java:902)

2004-08-06 Thread Jirole, Amar
Couple of things I would check is make sure XML implementer jar file is in class path or there are more than one xml parsers in your classpath of different versions. -Original Message- From: Kishore Senji [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 8:43 PM To: Struts Users Mai

Re: FW: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Kishore Senji
Well, the Null Pointer Exception is caused by java.security.AccessControlException. Look in the catalina.out that you pasted in your mail. Thanks, Kishore Senji. On Fri, 6 Aug 2004 17:17:05 -0400, Shilpa Nalgonda <[EMAIL PROTECTED]> wrote: > I am pretty much sure that none of the permissions have

RE: HTTP Compression

2004-08-06 Thread Avinash Gangadharan
Servlet filters (javax.servlet.Filter) lets you do this. But... this is available in Servlets 2.3 and not in any earlier servlet specs. So check if your container provides support for 2.3 This link may give you some start but a google search would give you much more. http://www.onjava.com/pub/a/o

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
At 04:20 PM 8/6/2004, you wrote: Do you want to go now You are a card, Kakoli! Michael McGrady - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
At 02:36 PM 8/6/2004, you wrote: > Why, given > this, should there be a problem? Given this: blah execute( ActionMapping map, ActionForm form, blah) { Any kind of form = will not be reflected outside of the execute. Agreed. I tested it out. What I need to do, then, is to get hold of the variabl

Re: HTTP Compression

2004-08-06 Thread Eric Noel
Shailender Jain wrote: Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded extremely fast. Any pointers on this will be really helpful. Shailender Jain If youre using apache you ca

RE: pdf quirk

2004-08-06 Thread David Friedman
Sounds like you're including items from a regular (HTTP) and a secure (HTTPS) site. I had that message once but I was inadvertantly loading images from the HTTP site while the page was on the HTTPS site. What are all of your URLS in the rendered page before you hit the submit button? And what is

RE: pdf quirk

2004-08-06 Thread Jim Barrows
> -Original Message- > From: Lucero, Dennis M [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 4:20 PM > To: [EMAIL PROTECTED] > Subject: pdf quirk > > > When I download a PDF file using a link the user gets it without any > security info box, but when I use a form (html:form)

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Kakoli Saha
Could not phrase the problem.Sorry about it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 4:20 PM To: Struts Users Mailing List Subject: RE: GOING GOING GONE DYNAMIC Do you want to go now -Original Message- From: Michael McGr

pdf quirk

2004-08-06 Thread Lucero, Dennis M
When I download a PDF file using a link the user gets it without any security info box, but when I use a form (html:form) to download the PDF they are presented with the security box: "This page contains both secure and nonsecure items. Do you want to display the nonsecure items?" how can I k

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Kakoli Saha
Do you want to go now -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 2:26 PM To: Struts Users Mailing List Subject: Re: GOING GOING GONE DYNAMIC I don't know what a "copy of a reference" (which should just be a number indicating where to

Re: GOING GOING GONE DYNAMIC

2004-08-06 Thread Erik Weber
Michael McGrady wrote: I don't know what a "copy of a reference" (which should just be a number indicating where to find the object) would be, Erik. I think you already know what I mean, but I'll post this for the greater good of the archive. :) . . . Object o = new Object(); modifyInstance(o

RE: Very Dynamic Forms

2004-08-06 Thread Richard Mixon (qwest)
Michael, I've enclosed excerpts form my ActionForm, Action and JSP - hope the following helps. The excerpts are from my actual source (had to change name in some cases), but I cannot send the entire source. BTW, when I looked I used an array for the field/column names and a map for the selection

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
Michael, that's not me. Dean Michael McGrady wrote: YOur html is not showing up, Dean At 12:33 PM 8/6/2004, you wrote: Just to clarify Struts can map form to dyanmic object . It would be cool if it could map to a graph of such objects. I know the functionality doesn't exist but I think it's a cool

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 2:28 PM > To: Struts Users Mailing List > Subject: RE: GOING GOING GONE DYNAMIC > > > At 02:15 PM 8/6/2004, you wrote: > >Because java is NOT pass-by-reference, it's pass by value.. >

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
YOur html is not showing up, Dean At 12:33 PM 8/6/2004, you wrote: Just to clarify Struts can map form to dyanmic object . It would be cool if it could map to a graph of such objects. I know the functionality doesn't exist but I think it's a cool idea. You could have a tag like this on the page. th

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
At 02:15 PM 8/6/2004, you wrote: Because java is NOT pass-by-reference, it's pass by value.. the value it passes is a reference rather then pushing the entire object on the stack. I am thinking the same as you. Our semantics are different. Why, given this, should there be a problem? ---

Re: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
I don't know what a "copy of a reference" (which should just be a number indicating where to find the object) would be, Erik. I do know what a copy of an object would be. I am not thinking of changing the reference to a different object but giving the reference itself a different object. E.g.

Re: very dynamic forms

2004-08-06 Thread bryan
Just to clarify Struts can map form to dyanmic object . It would be cool if it could map to a graph of such objects. I know the functionality doesn't exist but I think it's a cool idea. You could have a tag like this on the page. then an xml file like so and then you

RE: FW: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Shilpa Nalgonda
I am pretty much sure that none of the permissions have changed. But i thought this is more relavant to the null pointer --getXMLReader exception, for some reason the application is not reading the config parameters in web.xml. Let me know if i am wrong. -Original Message- From: Kishore

Re: GOING GOING GONE DYNAMIC

2004-08-06 Thread Erik Weber
Java passes a *copy* of the reference (thus, Java always passes parameters using call-by-value), not the actual reference. So, changing the passed-in reference from within the method to refer to a different object will not cause a change in the reference of the guy who called the method -- his

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 1:58 PM > To: Struts Users Mailing List > Subject: RE: GOING GOING GONE DYNAMIC > > > At 01:44 PM 8/6/2004, you wrote: > >If I understand you correctly... > >Same issue it's passed

Re: very dynamic forms

2004-08-06 Thread bryan
Wouldn't it be so cool if you could take something like a graph of hibernate objects and have a form dynamically generated for u. With dhtml or something so that you could populate the whole graph in one user form ? For example a House object that had a set of rooms, each room with it's own descr

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
At 01:44 PM 8/6/2004, you wrote: If I understand you correctly... Same issue it's passed into the execute method, and therefore you can't change it, only it's internals, so you would have to do the same thing there. I'm talking specifically in the execute method, which is where I think you'

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 1:38 PM > To: Struts Users Mailing List > Subject: RE: GOING GOING GONE DYNAMIC > > > At 12:57 PM 8/6/2004, you wrote: > >The problem would with Java in this case, since form is > pas

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
At 12:57 PM 8/6/2004, you wrote: The problem would with Java in this case, since form is passed in. you could do something like BeanUtils.copyProperties( form, DynamicActionFormFactory.createBlankForm( blah blah); and that might work better. public class DynamicActionFormFactory { p

Re: FW: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Kishore Senji
You don't have the required Rumtime Permission for getting the context ClassLoader. You might have to set the right permissions in the catalina.policy file. I guess, By default, these permissions are granted. Are you overriding these permissions? Thanks, Kishore Senji. On Fri, 6 Aug 2004 12:2

digester.getparser error...

2004-08-06 Thread Shilpa Nalgonda
I am getting this error when i start my Tomcat 4.0.4 insatance, with struts application. what exactly is this? Aug 6, 2004 8:02:11 AM org.apache.commons.digester.Digester getParser SEVERE: Digester.getParser: java.security.AccessControlException: access denied (java.lang.RuntimePermission getClass

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 12:50 PM > To: Struts Users Mailing List > Subject: GOING GOING GONE DYNAMIC > > > Is there a way to create or modify the mapping and the form > for an action > on the fly? Couldn't

GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
Is there a way to create or modify the mapping and the form for an action on the fly? Couldn't we use, for example, a "nude" DynaActionForm with a name and then (re)instantiate it with form = DynamicActionFormFactory.createBlankForm(String name, String type, String[] fields); or something sim

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
At 07:46 AM 8/6/2004, you wrote: What I need to do is construct a form that has a variety of text input forms on it that are determined at run-time. I know how to do this in jsp but I need to provide an ActionForm that conforms to that form. I got several useful replies last night and am investigat

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
At 11:54 AM 8/6/2004, you wrote: How do map based forms farm the values from the request? I know, by the bye, about etc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
How do map based forms farm the values from the request? At 09:13 AM 8/6/2004, you wrote: For me it was very painless and although there aren't lots of big "killer" features - there are IMO lots of little ones that make this a good upgrade. Niall - Original Message - From: "Dean A. Hoover"

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
At 07:46 AM 8/6/2004, you wrote: What I need to do is construct a form that has a variety of text input forms on it that are determined at run-time. I know how to do this in jsp but I need to provide an ActionForm that conforms to that form. I got several useful replies last night and am investigat

Re: problem with file upload when validator error happens

2004-08-06 Thread Jade Yaqiong Fang
--- Emmanouil Batsis <[EMAIL PROTECTED]> wrote: > Jade Yaqiong Fang wrote: > > >I have the problem with the file upload validation error. Actually I can upload files correctly within the file size limit. but the behavior changes weird when I got the file upload size up limit error. For example:

Re: Check boxes and struts

2004-08-06 Thread Jason King
Jignesh Kapadia wrote: hi , We are designing an application with strtus 1.1. In one of the screen we have to display multiple records of a list with checkboxes. Then user will select some records from that list and hit submit button and on next screen I should see only those records of list

RE: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Jim Barrows
> -Original Message- > From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 9:47 AM > To: Struts Users Mailing List > Subject: RE: null pointer > > do you think of anything else Not really... it still sounds like the file it's looking for is not being found.

Re: very dynamic forms

2004-08-06 Thread Niall Pemberton
Object bean = TagUtils.getInstance().lookup(pageContext, name, null); Niall - Original Message - From: "Dean A. Hoover" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, August 06, 2004 5:34 PM Subject: Re: very dynamic forms > Most changes I've been

RE: [OT] DOM Document as JMS message object's container

2004-08-06 Thread Pingili, Madhupal
Thanks for your suggestions. The main reason to create an object (that contains Document as a member and provide methods) is to eliminate the need to store the document. Somehow, if we can pass this object as JMS object message, then the consumer can use it for processing the request. Now, I am t

RE: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Shilpa Nalgonda
i don't think my path names are windows specific... here's web.xml - Struts Prototype Application action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml debug 2 detail 2 2 and strut

LazyDynaBean News

2004-08-06 Thread Niall Pemberton
I recently donated the LazyDynaBean and LazyDynaClass that I developed to the BeanUtils project and these have recently been released in the BeanUtils 1.7.0 release. * Documentation: http://jakarta.apache.org/commons/beanutils/apidocs/org/apache/commons/beanutils/package-summary.html#dynamic.lazy

RE: Tool to convert HTML to Struts JSP's?

2004-08-06 Thread Jim Barrows
> -Original Message- > From: bryan [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 8:30 AM > To: Struts Users Mailing List > Subject: Re: Tool to convert HTML to Struts JSP's? > > > Your methodology is wrong. You should create the pages etc > and the logic flow > yourself th

Re: System.out.println

2004-08-06 Thread Woodchuck
thanks all for the input! i will look into this further, but the worse case would be to write a secret action named "woodchuckshouldbetheonlyonethatcallsthissecretaction.do" that should make it somewhat safe! :) hehehe --- Jason Lea <[EMAIL PROTECTED]> wrote: > > Log4j has configureAndWatch

Re: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Ricardo Gladwell
Hi Niall, My form-bean definition is included below: -- Ricardo Gladwell Niall Pemberton wrote: If you have in your jsp, then Struts (using BeanUtils) will try and do a get("webdav") on your DynaActionForm so that it can then call set("url") on the bean returned from the get.

Re: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Ricardo Gladwell
I'm already using the EL versions of the tag libraries and using other EL expressions successfully in other parts of the application. The example works successfully when I do not use a nested property in the property attribute of the html:text tag so it would indicate that the EL version of the

RE: very dynamic forms

2004-08-06 Thread Richard Mixon (qwest)
Map backed forms can do this easily. It took me a half day of figuring out how to make them work with my code, but then it was simple. I have a ver similar form. I just use three separate Maps: - one for the type of field it is; - one for the name/label; - one for the actual value; - one for a col

Re: Tool to convert HTML to Struts JSP's?

2004-08-06 Thread bryan
Your methodology is wrong. You should create the pages etc and the logic flow yourself throughout the application. Use css for everything so that the designer can just give u a stylesheet. Use the tiles framework to use global templates. --b On Fri, 6 Aug 2004 15:17:15 +0100, Adam Lipscombe

Dealing with request variables during validation

2004-08-06 Thread vpsangeetha
Hi, I have a jsp page(test.jsp) and a custom form that extends DynaActionForm(TestForm.java) associated with it for validation. tesp.jsp populates the fields in the form to be displayed using an object(TestObject.java) stored in the request. When a validation error happens, it is supposed to go ba

Re: [OT] Re: HTTP Compression

2004-08-06 Thread bryan
If only someone would do such a thing ! They would be rich beyond their wildest dreams. And they would probably use clustered linux servers in such a way that they could retrieve such information in a fraction of a second. Results 1 - 10 of about 7,410 for compression servlet filter. (0.40 secon

RE: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Jim Barrows
> -Original Message- > From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 9:36 AM > To: Struts Users Mailing List > Subject: RE: null pointer > --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902) > > > where to check path names, is it in s

Problem setting nested bean properties on ActionForms

2004-08-06 Thread Ricardo Gladwell
Hi All, I'm having some problems with nested properties in Strust. Struts seems to loose property values when specifying nested bean properties in an action form. For example, the following fragment is an example of attempting to set a value in a view JSP: When Struts attempts to set the webdav.

RE: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Shilpa Nalgonda
where to check path names, is it in struts config... -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 12:33 PM To: Struts Users Mailing List Subject: RE: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902) > ---

RE: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Robert Taylor
Ah ha! You need to change your What should happen is that when struts tag is passed the property name webdav.url, it will access the webdav object and then since you are using a nested expression, it will invoke getUrl() on the webdav object which should return a string. So try changing your fo

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
Most changes I've been making so far have had to do with ActionErrors. I have several custom tags I've developed and am a bit uncertain as to how to fix: Object bean = RequestUtils.lookup(pageContext, name, null); The documentation says "[m]any utility methods previously found in org.apache.

RE: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Jim Barrows
> -Original Message- > From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 9:23 AM > To: Struts Users Mailing List > Subject: FW: null pointer > --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902) > > > > - Root Cause - > java.lang.

Check boxes and struts

2004-08-06 Thread Jignesh Kapadia
hi , We are designing an application with strtus 1.1. In one of the screen we have to display multiple records of a list with checkboxes. Then user will select some records from that list and hit submit button and on next screen I should see only those records of list which were selected I

FW: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Shilpa Nalgonda
I am trying to deploy my prototype shoppingcart application onto linux environment , i am using apache tomcat4.0.4, and struts 1.1. The same application was deployed successfully on windows. I have copied prototype.war into /var/lib/tomcat4/webapps. restarted tomcat as /etc/init.d/tomcat4 restar

Re: OT: IE loosing session / cookies

2004-08-06 Thread Michael Rush
It's probably related to security settings . More specifically you may want to look into deploying a compact privacy policy (P3P). On Aug 5, 2004, at 7:10 AM, Rosenberg, Leon wrote: Hi, A bit off-topic, but maybe you have had this too... We have an application running with struts on tomcat 5 in

RE: System.out.println

2004-08-06 Thread Richard Mixon (qwest)
Xavier Noria wrote: > On Aug 5, 2004, at 18:54, Woodchuck wrote: > >> what i thought was, if possible, it would be nice if we could somehow >> get the debug flag to read (poll) from some configuration file or >> something, so that we can change this configuration file to >> enable/disable logging (

RE: context path problem - urgent

2004-08-06 Thread Geoffrey Morris
The problem is that you are deploying your app to "/foo" instead of "/apps/foo". Struts relies on the value returned by request.getContextPath(), which in your case should be "/apps/foo". You didn't mention which servlet container you're using but if it's Tomcat 5, I can show you how to deploy

Re: very dynamic forms

2004-08-06 Thread Niall Pemberton
For me it was very painless and although there aren't lots of big "killer" features - there are IMO lots of little ones that make this a good upgrade. Niall - Original Message - From: "Dean A. Hoover" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, A

RE: context path problem - please help

2004-08-06 Thread Jim Barrows
> -Original Message- > From: Yu, Joel, Contractor > [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 7:19 AM > To: 'Struts Users Mailing List' > Subject: context path problem - please help > > > hi, > I have server called "apps", all application deployed under > apps will have

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
Thanks. I am looking at Niall's Lazy stuff, but I like your idea. I will add it to my list of investigations and experiments. I've written quite a bit to struts 1.1. Is there a downside to upgrading? Thanks. Dean Kevin A. Palfreyman wrote: Dean, I do a similar thing with Struts 1.1, and I use an or

Re: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Kishore Senji
You cannot have "." in your form-property names. This is what the dtd says about form-properyt names Thanks, Kishore Senji. On Fri, 06 Aug 2004 14:02:40 +0100, Ricardo Gladwell <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm having some problems with nested properties in Strust. Struts seems >

Re: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Niall Pemberton
I guess I better elaborate. You're not using "nested" properties - you've defined a String property in your DynaActionForm that contains a period/full stop (i.e. ".") - now Struts is treating it as a "nested" property in the population process - but its not "nested" its just a simple String. If you

Re: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Niall Pemberton
So my guess was correct - so see my previous answer. Niall - Original Message - From: "Ricardo Gladwell" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, August 06, 2004 3:56 PM Subject: Re: Problem setting nested bean properties on ActionForms > Hi

RE: very dynamic forms

2004-08-06 Thread Kevin A. Palfreyman
Dean, I do a similar thing with Struts 1.1, and I use an ordinary struts form (a subclass of ValidatorActionForm) that has a DynaBean as one of its fields. To match this, my DTO also has the same field as a DynaBean, and we just have to be a bit more clever when we copy properties between the two.

RE: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Robert Taylor
Thanks for the clarification Niall. I was under the impression that the tag had to be EL aware even in a container that supports EL. robert > -Original Message- > From: Niall Pemberton [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 10:17 AM > To: Struts Users Mailing List > Su

Re: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Ricardo Gladwell
Hi Robert, Yes it does: config.webdav.url is never set so it returns a null value. -- Ricardo Gladwell Robert Taylor wrote: Just out of curiosity, does render a none null value? robert -Original Message- From: Ricardo Gladwell [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 10:12

RE: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Robert Taylor
Just out of curiosity, does render a none null value? robert > -Original Message- > From: Ricardo Gladwell [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 10:12 AM > To: Struts Users Mailing List > Subject: Re: Problem setting nested bean properties on ActionForms > > > I'm a

Re: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Ricardo Gladwell
Hi Niall, My form-bean definition is included below: -- rg Niall Pemberton wrote: If you have in your jsp, then Struts (using BeanUtils) will try and do a get("webdav") on your DynaActionForm so that it can then call set("url") on the bean returned from the get. So when you s

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
What I need to do is construct a form that has a variety of text input forms on it that are determined at run-time. I know how to do this in jsp but I need to provide an ActionForm that conforms to that form. I got several useful replies last night and am investigating them. Dean Michael McGrady wr

RE: HTTP Compression

2004-08-06 Thread tiwari.rajeev
Hi shailandar, I myself have not done the same but one of my associates in previous organization has had the experience in image compression. If you need, I may refer you that person. -regards - regards Raj (+91-11-31261821) -Original Message- From: Shailender Jain [mailto:[EMAIL PROT

Re: HTTP Compression

2004-08-06 Thread Nathan Maves
Correct! What is the best way to make sure that the filter is only picking up content that should be compressed. i.e. we have some actions that produce images. I assume that you would filter on *.do or /do/* but this would include these actions. Would it be wise to check the response type b

RE: Tool to convert HTML to Struts JSP's?

2004-08-06 Thread Adam Lipscombe
I need to convert the tags, for example -> Thanks - Adam -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Cekvenich Sent: 06 August 2004 14:31 To: [EMAIL PROTECTED] Subject: Re: Tool to convert HTML to Struts JSP's? ren *.html *.jsp Adam Lipscombe wrote:

context path problem - please help

2004-08-06 Thread Yu, Joel, Contractor
hi, I have server called "apps", all application deployed under apps will have /apps in it's uri. for example to access application named "foo": http://somehost.com/apps/foo my problem is when I say in my jsp (with set up in my struts-config.xml), it goes to http://somhost.com/foo/test.action,

Re: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Niall Pemberton
Not if hes using a servlet container that supports el. Niall - Original Message - From: "Robert Taylor" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, August 06, 2004 2:25 PM Subject: RE: Problem setting nested bean properties on ActionForms > Sin

Re: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Ricardo Gladwell
I'm already using the EL versions of the tag libraries and using other EL expressions successfully in other parts of the application. The example works successfully when I do not use a nested property in the property attribute of the html:text tag so it would indicate that the EL version of the

Re: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Niall Pemberton
If you have in your jsp, then Struts (using BeanUtils) will try and do a get("webdav") on your DynaActionForm so that it can then call set("url") on the bean returned from the get. So when you say "I checked and the property setter method for the DynaActionForm in the example I cited is being

Re: Excel File Conversion

2004-08-06 Thread Preeti Iyer
If the data on the JSP page is deisplayed as a table, and you want it to be displayed in an excel sheet, you can also use the display tag library. Also look at Jasper reports. On Fri, 6 Aug 2004 10:08:18 +0530, Viral_Thakkar <[EMAIL PROTECTED]> wrote: > Hi All, > > Data is available on the jsp

RE: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Robert Taylor
Since you are using an EL construct in the value attribute of the , you will need to import the Struts html-el tag library so that the tag "knows" how to extract information from the scoped attribute. robert > -Original Message- > From: Ricardo Gladwell [mailto:[EMAIL PROTECTED] > Sent: F

Re: Tool to convert HTML to Struts JSP's?

2004-08-06 Thread Adolfo Miguelez
To attain such a task, I think you need to develop a framework over struts setting your standard way to proceed with data feeding to pages. In other words you need to do some asumptions since Struts is too general for this task. A friend of me did something similar with quite success. A tip: us

Re: Tool to convert HTML to Struts JSP's?

2004-08-06 Thread Adolfo Miguelez
To attain such a task, I think you need to develop a framework over struts setting your standard way to proceed with data feeding to pages. In other words you need to do some asumptions since Struts is too general for this task. A friend of me did something similar with quite success. Regards,

RE: very dynamic forms

2004-08-06 Thread Michael McGrady
That makes sense, but his other comments seem to negate that. He says, e.g., that "[w]hat would come out of the query would be label, form position, variable name,etc, etc.". These are things that are on the page form, not on some dynamic class handling the form. He specifically rejects dyna

Re: Tool to convert HTML to Struts JSP's?

2004-08-06 Thread Vic Cekvenich
ren *.html *.jsp Adam Lipscombe wrote: Folks, My Web Designer is supplying HTML files straight from DreamWeaver. I need to convert them to JSP for use with Struts 1.1. If there a tool to assist with this? (doing it by hand is going to be tedious) Previous list answers include Struts Console fro

RE: mapping an action twice with Xdoclet

2004-08-06 Thread David Friedman
I believe I've put two @struts.action declarations in one Java file for XDoclet and it put two entries in my struts-config.xml file. (Under eclipse/Xdoclet). If it helps, I updated the plug-in jars for the latest stable version in the Eclipse XDoclet folders (they were a version or two behind).

[OT] What tool do you use to get configuration values ?

2004-08-06 Thread Nicolas De Loof
Hi all, I've started an opensource project to help managing application configuration. Application code get configuration values from a static util class: Configuration.getAsXXX(key) with XXX=String, Int, Date ... Configuration is stored into properties files, loaded from classpath or from file

Problem setting nested bean properties on ActionForms

2004-08-06 Thread Ricardo Gladwell
Hi All, I'm having some problems with nested properties in Strust. Struts seems to loose property values when specifying nested bean properties in an action form. For example, the following fragment is an example of attempting to set a value in a view JSP: When Struts attempts to set the webdav.ur

message of request scope will be displayed with other requests also

2004-08-06 Thread Jignesh Patel
We are using following line of code saveErrors(request, errors) and saveMessages(request, messages) but even the scope of errors and messages are limited to request. It stores messages in session. And we will be getting old messages displayed in our page instead of message limited to particular r

[OT] Re: HTTP Compression

2004-08-06 Thread DGraham
If only someone would invent the technology that will allow us to query the vastness known as the Internet with a search string like, oh, "servlet filter" or even "compression servlet filter". "Shailender Jain" <[EMAIL PROTECTED]> 08/06/2004 08:10 AM Please respond to "Struts Users Maili

Re: HTTP Compression

2004-08-06 Thread Emmanouil Batsis
Google does http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html Shailender Jain wrote: Any pointers for these Servlet filter I have no idea how to approach. Emmanouil Batsis wrote: Shailender Jain wrote: Hi, I know this is not the right place to ask this question. Has anybody eve

Re: HTTP Compression

2004-08-06 Thread puneet . a
yeah there are filters available...!!! Puneet Agarwal Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Shailender Jain" <[EMAIL PROTECTED]> 08/06/2004 05:29 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "[EMAIL PROTECTED]" <

Re: HTTP Compression

2004-08-06 Thread Shailender Jain
Any pointers for these Servlet filter I have no idea how to approach. Emmanouil Batsis wrote: > Shailender Jain wrote: > > >Hi, > > > >I know this is not the right place to ask this question. > > > >Has anybody ever used HTTP compression and image compression techniques > >so that the web page i

Re: HTTP Compression

2004-08-06 Thread Emmanouil Batsis
Shailender Jain wrote: Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded extremely fast. The usual way is to use a Servlet filter to compress the right content for the right cli

HTTP Compression

2004-08-06 Thread Shailender Jain
Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded extremely fast. Any pointers on this will be really helpful. Shailender Jain

  1   2   >