commons logging -- how to change the default setting of INFO

2003-09-12 Thread sundar
Hi, I perused the list archives for this, but none of the suggestions mentioned seem to work for me. Here is my problem.. (I'm running struts 1.1 b4 -- I think). I created a file commons-logging.properties in my web apps WEB-INF/classes directory containing .. org.apache.commons.logging.Log=or

question re. war files and customization

2003-07-20 Thread sundar
Hi, This may not really be a struts related question, but I wonder what people are doing wrt. distributing war files. If I have to distribute a struts based package to multiple sites, each of which requires it's own logos etc. currently we are using a combination of application specific message

Re: JSF and Struts Actions

2003-05-30 Thread Sundar Narasimhan
>This is so cool. I was hoping for this sort of thing. This is getting >close to grown up. I wish I could see this stuff now. Man! >Don't forget that JavaServer Faces has a two-level architecture -- user >interface components that are render-independent, and renderers that >construct a partic

RE: more an HTML/JSP issue rather than struts.. but..

2003-05-30 Thread Sundar Narasimhan
>1. With plain HTML, add #anchorName to the URL that appears in your >browser's address bar, and then where you want it to >be. Hi, Matt -- thanks for your response. But how do I do this in struts.. (i.e. just appending the #anchor to a struts form's action still doesn't make it appear on the bro

Re: Struts Performance - Any Benchmarks?

2003-05-30 Thread Sundar Narasimhan
>I now use dbMonster to generate lots of db data and DiselTest to stress >test. (linked on baseBeans.com downloads and cheat sheet pages) Thanks for the pointers Vic. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Q: more an HTML/JSP issue rather than struts.. but..

2003-05-30 Thread Sundar Narasimhan
Hi, I have the need to scroll the displayed jsp page (as the result of a struts action) to a specific place on the resultant html page. Is there a standard way to do this? (I thought one could use javascript onLoad or somehow re-write the URL to force the browser to move to an anchor, but both do

Re: Struts Performance - Any Benchmarks?

2003-05-28 Thread Sundar Narasimhan
I've been following this thread w/ interest. Thanks for all the posts. >Overall, it sounds like your team is likely to succumb to "premature >optimization" anti-patterns, and totally fail to understand what is really >important about web application design. That's pretty tragic when it >happens,

Re: How do you keep your session junk free?

2003-03-07 Thread Sundar Narasimhan
>Explain how some other approach handles it in any better way? Use of >token to prevent duplicate submissions works for me. And what do you >mean by a continuation-style programming? Hi, Rick: CPS is a commonly accepted idiom for representing "what a program does next" in your language. Some langua

Re: How do you keep your session junk free?

2003-03-07 Thread Sundar Narasimhan
Over on another mailing list I'm on the consensus is that continuation-style programming is much better than the present approaches suggested by struts and other frameworks. In particular, they solve the back button/refresh type problems much more cleanly than other languages/frameworks. As a Lisp

Re: struts IDE

2003-03-06 Thread Sundar Narasimhan
>Jbulider8.0 >and Eclipse Do either of these provide breakpointing ability in JSP's, and traversing transparently into container code. My current environment (which is WSAD 5.0 built on top of Eclipse) doesn't do this, and I find it annoying. The other annoyance I have is that when I run tomcat a

Re: Nesting

2003-03-05 Thread Sundar Narasimhan
> Hi all, > is it possible to nest iterate-tags with Struts 1.1? Hi, Heiko: I've had luck with patterns similar to what others have suggested, but if you have plain lists or vectors inside lists or vectors.. a better route to go is to try

RE: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-04 Thread Sundar Narasimhan
>>:). In any case, OTI is an ex-Smalltalk IDE shop, so I presume there's >>a strong NIH syndrome there similar to most other IDE's I've run >>across -- > >Then why is there an Emacs keybinding preference setting but none for vi? > >David Huh? I can't quite understand what you are asking David. If y

RE: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread Sundar Narasimhan
>>In summary, I like my hybrid approach. And I am trying to convince = >>Eclipse >>guys to have / create a true Emacs plugin .. although I don't see any = >>takers >>yet. > wonder why. I don't see any smileys, so I'll presume you are asking this seriously. I did submit a bug report/enhancem

RE: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread Sundar Narasimhan
I didn't want to get into this -- since editors are religion :) but personally I use editors for editing code (although I must admit that Eclipse's ctrl-space/and factoring helpers are beginning to win me over :), and IDE's for debugging. (in multi-threaded apps, there's no comparison -- I can be

Re: Wanted: struts-calendar

2003-02-27 Thread Sundar Narasimhan
HI, David: I've used Lea Smart's java script totallysmartit.com calendar hacked a bit (wrt. colors, clip rectangles and so forth) and would recommend it. Hope that helps. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: Best way to understand Struts

2003-02-26 Thread Sundar Narasimhan
I have longed for something like this too -- because while struts attempts to solve some very real problems, and does a good job at it, I think the documentation and the mental model that people need to have can be "re"set straight by a key few pieces of documentation that are still missing. - Y

RE: Struts to JSTL EL - Taglib 1.0 implementation

2003-02-17 Thread Sundar Narasimhan
>Seriously ... it would be nice if JavaBeans recognized something like >"mapped properties". But that is for the future -- in the mean time, >you'll need to stay within the limits of what the JVM recognizes *now* if >you want to leverage EL expressions. Craig -- IMHO, if you look at Lisp.. symbol-

RE: forwarding to another action ..

2003-02-14 Thread Sundar Narasimhan
>From: "Sri Sankaran" <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >You haven't given enough information below (seems like a continuation of = >some previous thread). > >I *think* what you are trying to do is go "forward" from one action to = >another [*] but before so

Re: RowSetDynaClass

2003-02-14 Thread Sundar Narasimhan
Hi, Craig: Just catching up on email, and caught your very good explanation of RowSetDynaClass.. I didn't know it existed, so had written something like it myself, w/ returning two Collections (one for the column names, and another for the data set). But I have a follow up question re. what you sa

[OT] RE: validate() method is ActionForm

2003-02-14 Thread Sundar Narasimhan
>Any more personal attacks like this, or the previous response's profanity, >are likely to get you banned -- then you won't have to worry about >questions you think are below your dignity to answer politely. >Craig McClanahan Thank you Craig. I think this list is great, and now that I'm slowly g

Q: forwarding to another action ..

2003-02-13 Thread Sundar Narasimhan
Hi, I finally figured out that the problem w/ what I was trying to do was that the "back" forward didn't have the ".do". Once I included the .do things seem to work. (i.e. I can have my "compose", "save" etc. actions forward back to the master action in certain cases).

how to forward to another action..

2003-02-13 Thread Sundar Narasimhan
Hi, I have a master form w/ several rows, the user clicks edit and there's another form with details.. the user edits, and then clicks save. At that point, I'd like to go back to the master form.. Ideally from the "detail" Action .. I'd like the "save" to dispatch to the master Action that populat

Re: jsp, multiple forms and beans

2003-02-13 Thread Sundar Narasimhan
Hi: This statement caught my eye because I was about to do something like this. > I would avoid using multiple Forms per page. In my application the user is going to assemble a complex set of things, and in order to do this needs to "view" another set of things. The view step involves querying, an

Re: Newbie Question on Performance

2003-02-10 Thread Sundar Narasimhan
>> From: Peder Jakobsen <[EMAIL PROTECTED]> >> I'm new to Struts, and so far I'm very happy with what I see. But I have >> some suspicion that it'll be dead slow. >> > >What leads you to this suspicion? There's no way to respond to such a >FUD-sounding :-) comment without specifics. Craig: While

nested:multibox broken? in 1.1b3?

2003-02-08 Thread Sundar Narasimhan
Hi, I'm trying to use nested:multibox, but I can't seem to get Values printed out. I'd like to be able to write Mon Tue ... etc. I see that the checkboxes are rendered ok when I do this. But I don't see any of the "Mon" or "Tue" strings. If I do a view source.. I see No tag or the Mon/

is there a way to get struts to interact well w/ scriptlets

2003-02-08 Thread Sundar Narasimhan
I notice that if I use I end up getting input fields whose name looks like so This really doesn't play well with all the java script code we have that rely on "eval'ing" target names such as "window.document.someform.somelement". If someelement is in dotted notation, eval on the java sc

Re: nest sytax.. looks cool but does it work? :)

2003-02-07 Thread Sundar Narasimhan
Hi, Sri: Thanks much for responding to my post. You write.. <%-- print the userFormName property of UserForm --%> <%-- Iterate over all the UserPrefForms --%> I almost have this but my selected preference is a property of the top level form.. I essentially have

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Sundar Narasimhan
Hi, Craig: >JSTL in particular covers a huge amount of ground on the nitty gritty >things, and (where it overlaps with things in the struts-bean and >struts-logic libraries) does it much better, mostly thanks to the >expression language's power. I couldn't agree w/ this statement more after spen

nest sytax.. looks cool but does it work? :)

2003-02-05 Thread Sundar Narasimhan
I finally gave up w/ 1.0 and moved to 1.1b2 (the one that comes w/ WSAD). And the first thing I try w/ it doesn't work, so I must have the wrong model again. So here goes; I have a top level User -- who has a bunch of Preferences. There is a UserForm, and a UserPrefForm. The UserForm has a collec

Re: session timeout not working anymore :(

2003-02-05 Thread Sundar Narasimhan
>Best Suggestion is: > >1)Over Ride ActionServlet and place session expire code(redirect login page >or some other stuff). This will work for if the user clicks any buttons, >action events. > >2) Now we need to handle page refreshes (i.e JSPs) > >write a simple jsp, which consist simple logic check

Re: session timeout not working anymore :(

2003-02-04 Thread Sundar Narasimhan
>You should take this opportunity to refactor your session timeout >functionality. > >Extend the Struts RequestProcessor (or the TilesRequestProcessor) to include >your session check and forward. Take logic out of your JSPs : ) Ok.. I don't see either of these in 1.0. Next suggestion please? --

session timeout not working anymore :(

2003-02-04 Thread Sundar Narasimhan
Sigh. We used to have a piece of code included in our jsp's like so: header-inc <% if (request.getSession(false) == null) { %> <% } %> header-inc and that was included in our files like so. That used to work.. but now when I have struts-html and struts-bean.. it always fail

use of w/out a form possible?

2003-02-03 Thread Sundar Narasimhan
Hi, Kris: You posted in Oct the foll. snippet, which I found helpful to understand html:radio. You say "assuming the form has a foundPerson property below" - my confusion is "which form" are you talking about. For example, consider an application that displays all foundPersons to the user w/ som

Re: question re. struts

2003-02-03 Thread Sundar Narasimhan
>You don't have a form here - where are you using PointForm? > >The code should be something like - assuming you're using struts 1.0.x: > > execute (... mapping, ... form, ... request, ... response) { > form = new FooBarBlahForm(); > ... > // Get model object > ... >

Re: question re. struts

2003-02-02 Thread Sundar Narasimhan
>You should really go back through some of the archives to review the >pro and con arguments; and (among other things) >you will find that I am adamantly against what you propose -- it would >encourage people to reuse the wrong thing for the wrong reasons. Craig -- thanks for your response. Will go

Re: question re. struts

2003-02-02 Thread Sundar Narasimhan
>> - set each individual attribute of my model into request >> parameters >Why would you do this if you have the form bean from the previous >step? Hi, Paul: Thanks for your thoughtful reply. Your above statement is what I guess I'm having trouble with. (i.e. if I have a Point model obje

Re: struts 1.1 b2 messes up w/ CSS?

2003-02-02 Thread Sundar Narasimhan
Hi, David: Thanks for your notes. Sundar> Does 1.1. interfere w/ the the loading/reading of css attributes? Sundar> Thanks. >You'll have to be much more specific, showing exactly what you mean by >"doesn't >work", along with showing relevant portions of you

struts 1.1 b2 messes up w/ CSS?

2003-02-02 Thread Sundar Narasimhan
Hi, I have a web application that was working fine w/ struts 1.0. I updated to 1.1 (by update the tld's the jars etc.), and now the web pages that had css attributes just don't seem to work!!! Does 1.1. interfere w/ the the loading/reading of css attributes? Thanks. ---

ok.. but how?

2003-02-02 Thread Sundar Narasimhan
ne of them seem to work. -- >>>>> "Sundar" == Sundar Narasimhan <[EMAIL PROTECTED]> writes: Sundar> Hi, I have a variable "type" which I'd like to use like so Sundar> Sundar> Sundar> Sundar> Sundar&g

question re. struts

2003-02-02 Thread Sundar Narasimhan
Hi, I have a master form that displays a bunch of object. I'd like for the user to select a radio button corresponding to one of those objects and then click Edit. The editaction should obviously display a form corresponding to the selected object. What I'm failing to understand is what I need t

what's the right syntax for logic:iterate

2003-02-01 Thread Sundar Narasimhan
Hi, I have a variable "type" which I'd like to use like so But no matter what I try I don't seem to be able to get the link to do the right thing.. Ideas? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

proper use of back button -- design patterns

2003-01-31 Thread Sundar Narasimhan
I notice that w/ the default configuration on most browsers is to ask the user wheter form data should be resent. I wonder if there are concise descriptions/tutorials on web application design that deal with somewhat (I expect :) thorny issue. Do people just set the pragmas for cache-control and f

semi-newbie questions re. struts

2003-01-31 Thread Sundar Narasimhan
Hi, I was told that jsp->jsp through link in an html file is not recommended struts practice. If this is not good.. and I can understand why.. I was told that replacing it with was the way to go. However, form's submits appear as "buttons" and not as "links". H

Re: what does RT Expr mean

2003-01-29 Thread Sundar Narasimhan
Thank you for all your replies. I had guessed RT Expr might mean that. But now for the follow up. >As others have said, it means "run-time expression". Specifically, it >means the value CAN be specified by a JSP expression scriptlet >(beginning with "<%="). Ironically, calling it a "run-time ex

what does RT Expr mean

2003-01-29 Thread Sundar Narasimhan
In the bottom of the documentation on the attributes of several tags I see [RT Expr].. what does that mean? Is it documented anywhere? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

html -- img, link, map and parameters question with Struts

2002-06-07 Thread sundar @esaravana
pair -- tester=etts Any help is appreciated. Sundar -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

html -- img, link, map and parameters question with Struts

2002-06-06 Thread Sundar
pair -- tester=etts Any help is appreciated. Sundar -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Problem : Recursive elements in Digester

2001-09-27 Thread Sundar Shanmugasundaram
output. I want to go through this section tag one by one.  Sometimes it goes straight into innermost node ( if i use */section only ). Can you please provide me a sample code how to achieve this?   thanks, sundar.

Re: Iterate Tag question, again --> Short ane sweet

2001-03-25 Thread Sundar @eSaravana
> > > On Sat, 24 Mar 2001, Sundar @eSaravana wrote: > > > Hi, > > > > This is my situation: > > I have a collection(Vector) of buddyListForm as session attribute. > > > > So, in my JSP, > > > > > > If the Vector you are stor

Re: Iterate Tag question, again --> Short ane sweet

2001-03-24 Thread Sundar @eSaravana
) at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java: . I am attaching buddyListForm, too. Sundar - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent:

Struts iterate logic tag question

2001-03-22 Thread Sundar @eSaravana
rks fine. > > > > Now I want to send multible BuddyListBeans as a collection to jsp, iterate > first at bean level, then again at attribute level. > > i.e) > > scope="session"> bean level > > > attribute level > > attribute level > > beanlevel > > How do I do it? Any help is appreciated > > > > Sundar > > > > > > > >

Struts iterate logic tag question

2001-03-22 Thread Sundar @eSaravana
iated Sundar

Fw: [could I get the answer from gurus] Has the image tag property attribute problem been fixed?

2001-02-28 Thread Sundar @eSaravana
Please, could I get the answer from gurus. I need some build that has image tag fixed - Sundar - Original Message - From: "Sundar @eSaravana" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 27, 2001 5:49 PM Subject: Has the image tag property

Re: Where are form tags?

2001-02-28 Thread Sundar @eSaravana
Thanks Martin. That's all I needed. Sundar - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 27, 2001 4:21 PM Subject: Re: Where are form tags? > I'm not sure exactly what problem you're seeing, but here are a co

Has the image tag property attribute problem been fixed?

2001-02-27 Thread Sundar @eSaravana
Hello, Where is 26th nightly build binary/src version? Or any other build that has image tag fixed for property attribute. Cheers! Sundar

Has any one used struts and log4j successfully?

2001-02-27 Thread Sundar @eSaravana
Has anyone used log4j with struts? I have used log4j before, but I am new to struts. So, I am just looking for a short cut. If you have,could you please send me some code fragments to start off. I would really appreciate it. Cheers.! Sundar

Where are form tags?

2001-02-27 Thread Sundar @eSaravana
Hello, In the beta release, which I downloaded and built, struts.jar did not have html tags. So, I just downloaded yesterday's binary and it does not have form tags. Am I missing something here? Any information is appreciated. Sundar

Error: 500Internal Servlet Error:Unable to load class org.apache.struts.taglib.html.HtmlTag

2001-02-26 Thread Sundar @eSaravana
entListener.addGenerator(JspParseEventL istener.java:138) at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEven tListener.java:911) at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListe ner.java:194) at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:825) What am I doing wrong? Any help is appreciated. Sundar

Fw: Problem in Beta release source download

2001-02-24 Thread Sundar @eSaravana
them successfully for the most part. Has anyone downloaded and built it successfully on any unix machine? Sundar - Original Message - From: "Sundar @eSaravana" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 23, 2001 11:50 PM Subject: Problem in B

Problem in Beta release source download

2001-02-23 Thread Sundar @eSaravana
I downloaded beta release of struts jakarta-struts-1.0-b1-src.tar.gz , but it just doesn't untar properly. I even downloaded second time, but had same check some error and there is no build.sh in untared folder. Did anyone manage to successfully untared and built the beta release. Sundar

Re: Missing http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd

2001-02-23 Thread Sundar @eSaravana
After your mail, I checked out the URL again it still comes back with the same error. Is following the right URL? http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd Sundar - Original Message - From: "Martin Cooper" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Missing http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd

2001-02-23 Thread Sundar @eSaravana
ation outside of a DTD. Line 26, Position 12 ---^ Am I missing something or I can just go ahead, copy the source and deploy my servlet Sundar

RE: struts:example

2001-02-12 Thread Sundar Shanmugasundaram
Hi,   I also have the same problem.   sundar. -Original Message-From: pratima gogineni [mailto:[EMAIL PROTECTED]]Sent: Tuesday, February 13, 2001 5:57 AMTo: [EMAIL PROTECTED]Subject: struts:example Hi, I just moved from 0.5 to 1.0 (last nights build). I had the example