using images for form buttons with LookupDispatchAction

2003-05-29 Thread Pani, Gourav
the powers that be within my organization have passed a decree that all form buttons have to use images because, supposedly, html text buttons are too ugly. be that as it may. i am extending the LookupDispatchAction for all my Action classes that have inserts/updates/searches etc in them.

RE: using images for form buttons with LookupDispatchAction

2003-05-29 Thread Pani, Gourav
Sorry for the incomplete email the powers that be within my organization have passed a decree that all form buttons have to use images because, supposedly, html text buttons are too ugly. be that as it may. i am extending the LookupDispatchAction for all my Action classes that have

RE: using images for form buttons with LookupDispatchAction

2003-05-29 Thread Pani, Gourav
Additionally, has anyone used the ImageButtonBeanManager available on SourceForge as a solution to my problem? -Original Message- From: Pani, Gourav Sent: Wednesday, May 28, 2003 1:53 PM To: '[EMAIL PROTECTED]' Subject: RE: using images for form buttons with LookupDispatchAction Sorry

RE: Struts and the infamous IE multiple browser/same session problem

2003-05-29 Thread Pani, Gourav
have you considered creating a unique token to do session related updates? i don't think tokens can be transferred from one browser window to another though i could be wrong. -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 3:47 PM To: Struts

RE: using images for form buttons with LookupDispatchAction

2003-05-29 Thread Pani, Gourav
Was this question 1. too stupid and obvious? 2. too difficult? 3. lost in the thread? -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 2:02 PM To: 'Struts Users Mailing List' Subject: RE: using images for form buttons

RE: [OT] guest role

2003-03-14 Thread Pani, Gourav
you can have two different types of security keys, one for page access and the other for function access and have a list of everything a user is allowed to do when he/she gets a session. -Original Message- From: Dan Allen [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 1:32 PM

RE: [OT] Ancient computing

2003-03-05 Thread Pani, Gourav
ok so i am a kid. first computer - 386. -Original Message- From: Bueno Carlos M [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 10:46 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Ancient computing Dang, I must be a youngster -- mine were a Zenith-Heath kit computer

RE: URL Validation with Struts validator

2003-03-05 Thread Pani, Gourav
you will have to do a javascript string validation in the same manner as is done for email address validation and include it in validation-rules.xml. -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 4:54 PM To: Struts Subject: URL Validation

RE: Stress Testing Struts apps

2003-03-04 Thread Pani, Gourav
if you want a free solution, you can always use apache benchmark to hit your application with multiple requests. this is a cheap but flimsy option. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:17 PM To: Struts User List Subject: Stress

RE: Stress Testing Struts apps

2003-03-04 Thread Pani, Gourav
the power of google never fails to amaze. how about this one? http://www.osdl.org/projects/performance/ i have never used it but i might look into it too. -Original Message- From: Joseph Fifield [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 3:16 PM To: 'Struts Users Mailing

RE: [OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Pani, Gourav
art, james has been very helpful to people on this list including myself as has mark. while you may be justified in getting annoyed at being flamed, what is the point in fighting with someone who could be helpful to you. even if there are other fish in the pond, james is a regular fish and has

[OT] RE: X-Windows colours

2003-03-04 Thread Pani, Gourav
, March 04, 2003 3:43 PM To: Struts Users Mailing List Subject: X-Windows colours You can never go wrong with papayawhip, and burlywood is your friend! :-) Simon -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:30 PM To: 'Struts Users Mailing List

RE: [OT] RE: X-Windows colours

2003-03-04 Thread Pani, Gourav
? :-) -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:53 PM To: 'Struts Users Mailing List' Subject: [OT] RE: X-Windows colours i am going to have to try that one out. ;) anyone else contributing to the x-window color scheme contest or do i

RE: [OT] Don't beat on James! (was RE: [OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data)

2003-03-04 Thread Pani, Gourav
how long does one have to be alive before they can be considered an old timer? ;) i must be an infant compared to some of you. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 4:19 PM To: Struts Users Mailing List Subject: RE: [OT] Don't

RE: [OT] Ancient computing

2003-03-04 Thread Pani, Gourav
well, if 29 is young then i am barely alive... ;) -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 4:52 PM To: Struts Users Mailing List Subject: RE: [OT] Ancient computing Arrrgh! I'm old! Good job I have a young wife (29) to comfort me

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Pani, Gourav
viMproved. -Original Message- From: Alban Soupper [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:17 AM To: 'Struts Users Mailing List' Subject: RE: What is the best struts plugin for Eclipse? What is vim ? -Original Message- From: James Childers [mailto:[EMAIL

RE: [OT]: What is vim?

2003-03-03 Thread Pani, Gourav
actually the vimulator on jEdit is buggy. if you just download vim for Windows, it is really easy to use. i have been using vim for the past 2.5 years and find editting much easier on it than any other editor. but i guess it is a personal choice. -Original Message- From: Rick Reumann

RE: [OT]: What is vim?

2003-03-03 Thread Pani, Gourav
/tip.php?tip_id=386 -= J -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 1:30 PM To: Struts Users Mailing List Subject: Re: [OT]: What is vim? On Mon, 3 Mar 2003 14:21:02 -0500 Pani, Gourav [EMAIL PROTECTED] wrote: actually

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

2003-03-03 Thread Pani, Gourav
i agree with simon to a certain degree. personally, i got a lot better understanding of programming when i was forced into an environment where i had to use vi and command line for development. eventually we switched to a more organized environment with jEdit as the IDE. i will admit that using

RE: [OT] Must be desperate times for M$

2003-02-28 Thread Pani, Gourav
something tells me that there would be more impressive things in the windows source code than horrors. one has to admit that no matter how buggy things have been with windows in the past, w2000 has been reasonably successful. -Original Message- From: David Graham [mailto:[EMAIL

RE: where do i get info for setting the logging level in struts1.1.b3

2003-02-25 Thread Pani, Gourav
Ashish, You would have to create a log4j.properties file and load it with a Servlet on startup. Information for this should be available here: http://jakarta.apache.org/log4j/docs/manual.html. You can then set your logging level with the following line in your properties file. # Logger for

[OT] RE: where do i get info for setting the logging level in struts1. 1.b3

2003-02-25 Thread Pani, Gourav
signature,why do u think so? Ashish --- Pani, Gourav [EMAIL PROTECTED] wrote: Ashish, You would have to create a log4j.properties file and load it with a Servlet on startup. Information for this should be available here: http://jakarta.apache.org/log4j/docs/manual.html. You can then set

RE: [OT] RE: where do i get info for $etting the logging level in $trut$1. 1.b3

2003-02-25 Thread Pani, Gourav
To: 'Struts Users Mailing List' Subject: RE: [OT] RE: where do i get info for $etting the logging level in $trut$1. 1.b3 What'$ wrong with u$ing $ in my $ig? -- Jame$ Mitchell $oftware Engineer/$trut$ Evangeli$t -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED] Sent

RE: struts 1.1b3 , getting lot of messages in out file

2003-02-24 Thread Pani, Gourav
You may want to set specific packages that are giving you additional messages to give ERROR and above messages only in your log4j properties file. -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 5:17 PM To: [EMAIL PROTECTED] Subject:

RE: struts 1.1b3 , getting lot of messages in out file

2003-02-24 Thread Pani, Gourav
well, i have log4j setup to do all my logging. so i just set it in my own properties file. -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 5:23 PM To: Struts Users Mailing List Subject: Re: struts 1.1b3 , getting lot of messages in out

RE: [OT] mailing list question

2003-02-20 Thread Pani, Gourav
Hope you don't have to go through life asking for other people's kindness because it is seldom available for free. ps: you might want to go two blocks south of where you are now and open the blue box that says CLUE on it. open it and take all the contents for yourself. apparently you really

RE: numeric field validation using struts

2003-02-20 Thread Pani, Gourav
couldn't you use a mask to do this? -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:48 AM To: [EMAIL PROTECTED] Subject: numeric field validation using struts Hi, Has any one done inut validation of numeric fields in struts, like

RE: numeric field validation using struts

2003-02-20 Thread Pani, Gourav
of some website where i can find information about using mask?? Ashish --- Pani, Gourav [EMAIL PROTECTED] wrote: couldn't you use a mask to do this? -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:48 AM To: [EMAIL PROTECTED

RE: numeric field validation using struts

2003-02-20 Thread Pani, Gourav
Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:53 AM To: Struts Users Mailing List Subject: RE: numeric field validation using struts Hi, Do u have some examle of some website where i can find information about using mask?? Ashish --- Pani, Gourav [EMAIL PROTECTED

RE: How stable is struts 1.1 beta 3

2003-02-19 Thread Pani, Gourav
i have been working with 1.1.3 since its release and haven't had any critical issues with it. personally, it is a definite improvement over 1.0.2 and i would go ahead and work with it. -Original Message- From: Stillwell, Chris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003

RE: [OT] serving images with apache

2003-02-17 Thread Pani, Gourav
You could have both. Have an images directory within your war build and have it under webapps. Then use the following setup in your httpd.conf to point to the directory where you have images in your webapps directory. DocumentRoot /usr/local/appserver/webapps/application/images -Original

RE: [OT] Struts and Design Patterns

2003-02-17 Thread Pani, Gourav
Well, it isn't like his book isn't available in stores. If you want to read it, you could always buy a copy. It is a really good read. -Original Message- From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 3:42 PM To: Struts Users Mailing List Subject: RE:

RE: [OT] But I haven't had any yet!

2003-02-16 Thread Pani, Gourav
steve mcconnell in his book code complete -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 1:45 PM To: [EMAIL PROTECTED] Subject: [OT] But I haven't had any yet! OK, trivia quote fans, who advised us to Iterate, repeatedly, again and

RE: Newbie Question about tiles definitions. I am lost :(

2003-02-14 Thread Pani, Gourav
in the web.xml file servlet servlet-name='action' servlet-class='org.apache.struts.action.ActionServlet' init-param config='/WEB-INF/struts-config.xml'/ init-param application='ApplicationResources'/ init-param debug='0'/ init-param detail='0'/ init-param

RE: [OT] Jakarta-Commons HttpClient v2.0

2003-02-13 Thread Pani, Gourav
Users Mailing List' Subject: RE: [OT] Jakarta-Commons HttpClient v2.0 -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] I have an application that is currently using the Socket object to post XML documents to client systems. Currently, we are using dedicated lines

[OT] RE: validate() method is ActionForm

2003-02-13 Thread Pani, Gourav
i agree that he should have read the manual and he should have searched the web and blah... but by the same measure, you could ignore his question if it irritated you. sometimes i have asked questions here and not gotten any responses. i don't know whether my questions are dumb or just off the

RE: how to calculate A*B in jsp, where A and B are from nested:write

2003-02-13 Thread Pani, Gourav
you could use a math taglib and do it without using scriptlets. i don't know of one since we don't use any, but i am sure one would be available. -Original Message- From: Denis Wang [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 3:59 PM To: Struts Users Mailing List

RE: Generate XML documents from Beans

2003-02-13 Thread Pani, Gourav
You could use the Introspector, BeanInfo, PropertyDescriptor etc objects, which are part of the java.beans.* package and convert complex java objects into XML elements. The following article might help you: http://www.javaworld.com/javaworld/jw-03-1999/jw-03-beans-p4.html -Original

RE: best place to keep the user specific XML files

2003-02-12 Thread Pani, Gourav
don't you think it would be better if you didn't go into the classes directory and instead created another folder such as /WEB-INF/user-xml/. Just a thought. Off the topic, man you really need to lose the $ out of your signature. ;) -Original Message- From: Ashish Kulkarni

RE: best place to keep the user specific XML files

2003-02-12 Thread Pani, Gourav
if you want to read an XML file, have the path specified in a properties file. then open it as a file object and put it into a DOM. you can then traverse through it any way you want. -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003

[OT] Jakarta-Commons HttpClient v2.0

2003-02-12 Thread Pani, Gourav
I have an application that is currently using the Socket object to post XML documents to client systems. Currently, we are using dedicated lines for transactions but we might be bringing some new customers on board who will require HTTPS transactions, which would be a problem to implement using

RE: How to handle Collections (List,Map etc.)

2003-02-10 Thread Pani, Gourav
set them to the request. then you can use the bean tag to get information with scope=request/ -Original Message- From: Scot Rob [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 11:15 AM To: [EMAIL PROTECTED] Subject: How to handle Collections (List,Map etc.) Hi, I am not

RE: how do people work in project with one server for development

2003-02-06 Thread Pani, Gourav
If you want to look at another cheap, easily configurable and extremely efficient application server solution, you might want to consider Resin from Caucho (http://www.caucho.com). We have been using it for over a year now and it is incredibly useful to use in a multi-user environment.

RE: RE: Validator won't kick-in

2003-02-05 Thread Pani, Gourav
I had this strange issue where the plugin had to be initialized at the bottom of the struts-config.xml to get it to work. plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames value=/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml/ /plug-in

RE: Struts Tools

2003-02-05 Thread Pani, Gourav
didn't know struts was into occult. learn new things everyday i guess. -Original Message- From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 2:42 PM To: Struts Users Mailing List Subject: RE: Struts Tools Witch parameter ?? --- [EMAIL PROTECTED] a

RE: [OT] Re: [IDE War] Java IDE choices

2003-02-05 Thread Pani, Gourav
Ditto David. Translation: There is no accounting for taste or color. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 3:00 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [OT] Re: [IDE War] Java IDE choices If we must have this

RE: form naming

2003-02-05 Thread Pani, Gourav
Please consult the struts-html.tld file for syntax formatting issues. -Original Message- From: Vinay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 3:48 PM To: Struts Users Mailing List Subject: form naming How can I name a html:form form name=transactions

RE: Lost in beans

2003-02-05 Thread Pani, Gourav
You can extend the ValidatorForm and use the validator framework. -Original Message- From: Mike Ash [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 4:25 PM To: 'Struts Users Mailing List' Subject: RE: Lost in beans So if your not using dynaforms are you back to extending

RE: javax.servlet.ServletException

2003-02-04 Thread Pani, Gourav
Eric, If you want help in this forum you will have to be a bit more specific. For example, you need to send us your web.xml, struts-config.xml and snippet of code for anyone to help you out. -Original Message- From: Eric Gignac [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04,

RE: javax.servlet.ServletException

2003-02-04 Thread Pani, Gourav
Eric, It doesn't appear as if you are utilizing some of the simple Struts capabilities that would make things a lot easier. As far as the mapping goes, you should try the following in the struts-config.xml. struts-config action-mappings action path=/login name=Login

RE: javax.servlet.ServletException

2003-02-04 Thread Pani, Gourav
applications are available ? Thank From: Pani, Gourav [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, February 04, 2003 12:39 PM Subject: RE: javax.servlet.ServletException Eric, It doesn't appear as if you are utilizing some of the simple Struts

RE: ActionMessage does not appear in JSP unless ActionErrors used aswell

2003-02-03 Thread Pani, Gourav
Your html should be as follows: html:messages id=message message=true The message=true attribute lets it know you are looking for an ActionMessage object not an ActionError. -Original Message- From: Huw Jones [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 10:02 AM To: [EMAIL

RE: Design question: Model component using Business logic beans

2003-02-03 Thread Pani, Gourav
Michael, I have been putting my data logic into DAO classes that throw their own custom exceptions. Based on the exception thrown, I append to the ActionError object in the Action class. I don't think this answers the specific question you asked regarding use of the ActionError object in your

RE: how i define the escope of a tool?

2003-01-31 Thread Pani, Gourav
What do you mean by the scope of a tool? If you want to get a value out of session, request or application in a logic tag you just specify it in the scope attribute. If you were a bit more specific we may be able to help. -Original Message- From: Aislan Fernandes [mailto:[EMAIL

RE: log4j problem

2003-01-30 Thread Pani, Gourav
You may want to increase your default console setting from DEBUG to WARN. That would eliminate a lot of log messages. -Original Message- From: De Cesco, Jonathan [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 5:09 AM To: '[EMAIL PROTECTED]' Subject: log4j problem Hi all, I

RE: log4j problem

2003-01-30 Thread Pani, Gourav
personal webapps logs are not visible enough. But thanks anyway. -Message d'origine- De : Pani, Gourav [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 30 janvier 2003 14:10 À : 'Struts Users Mailing List' Objet : RE: log4j problem You may want to increase your default console setting from DEBUG

RE: java.util.date in edit form

2003-01-30 Thread Pani, Gourav
why don't you make it a String in the form? then use the validator-rules.xml and validator.xml to validate if it is a date or not. that way, if the person enters a bad date format you can redirect to the page with the error message as well as populate the bad date into the form as reference for

RE: Passing parameter in a pop up window

2003-01-30 Thread Pani, Gourav
Ritesh, I struggled with getting this to work for a while and just went ahead and wrote my own custom taglib. It works a lot better than using the available tags. Besides, you can customize your popup window a lot better if you wrote your own taglib. -Original Message- From: Ritesh

[OT] RE: Automatic refresh - IS THIS POSSIBLE?

2003-01-30 Thread Pani, Gourav
Flash can launch spacecrafts. This is chicken feed. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 10:22 AM To: Struts Users Mailing List Subject: RE: Automatic refresh - IS THIS POSSIBLE? Can Flash do it? ;-) -Original

RE: [OT] RE: Automatic refresh - IS THIS POSSIBLE?

2003-01-30 Thread Pani, Gourav
Perhaps you didn't get the joke Michael. All OTs lead to Flash. -Original Message- From: Michael Lee Jr. [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 11:38 AM To: Struts Users Mailing List Subject: Re: [OT] RE: Automatic refresh - IS THIS POSSIBLE? Flash? Why not just go

RE: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently

2003-01-29 Thread Pani, Gourav
i vote for virtual execution. -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 5:59 AM To: Struts Users Mailing List Subject: Re: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently Haven't got a clue who Naveen is, but I am a sheep

RE: / /OREF:CPTC8CF9 RE: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently

2003-01-29 Thread Pani, Gourav
we have but the filter just puts it in the deleted items list. at least outlook does. thanks for your input though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 8:57 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPTC8CF9 RE: [OT]

RE: / /OREF:CPTC8CF9 RE: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently

2003-01-29 Thread Pani, Gourav
hear hear mark. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 9:47 AM To: 'Struts Users Mailing List' Subject: RE: / /OREF:CPTC8CF9 RE: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently Haven't you heard of netiquette?

RE: Auto execution of an action on page display

2003-01-29 Thread Pani, Gourav
have you considered setting it up as a servlet instead and do a load on startup in web.xml? -Original Message- From: Howard Roark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 1:28 PM To: [EMAIL PROTECTED] Subject: Auto execution of an action on page display I'm a newbie

RE: Auto execution of an action on page display

2003-01-29 Thread Pani, Gourav
To: 'Struts Users Mailing List' [EMAIL PROTECTED] From: Pani, Gourav [EMAIL PROTECTED] Subject: RE: Auto execution of an action on page display Message-ID: [EMAIL PROTECTED] have you considered setting it up as a servlet instead and do a load on startup in web.xml? -Original Message

RE: session creation time

2003-01-28 Thread Pani, Gourav
, 2003 5:47 PM To: [EMAIL PROTECTED] Subject: Re: session creation time Do this in your action that fronts the page and store a Date object in the request for the tag to display. David From: Pani, Gourav [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL

RE: Problem capturing text property using logic:iterate

2003-01-28 Thread Pani, Gourav
you haven't specified the value= in the tag. -Original Message- From: Vinicius Boson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 1:46 PM To: [EMAIL PROTECTED] Subject: Problem capturing text property using logic:iterate I´m having problem capturing data from an html

RE: Logging

2003-01-27 Thread Pani, Gourav
you might wanna look into Log4J. -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 10:04 AM To: [EMAIL PROTECTED] Subject: Logging Hi, Please don't mind if my question is simplistic, but it's an area not explored by me. I need to

RE: Filters and Struts

2003-01-27 Thread Pani, Gourav
The way I have implemented it in the past is to have a /secure in the mapping for pages that are protected by Login. In the web.xml I did the following. filter filter-name='VerifyLoginFilter' filter-class='com.companyname.applicationname.filters.VerifyLoginFilter' init-param

RE: Flash+Struts how?

2003-01-27 Thread Pani, Gourav
... but it would be a lot cooler if he did - Dazed and Confused -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 1:37 PM To: 'Struts Users Mailing List' Subject: RE: Flash+Struts how? Only a weenie programmer would use Flash with Struts

getting values from session

2003-01-27 Thread Pani, Gourav
I have a UserContainer in session that has a User object in it along with getter and setter for it. The User object has a username and password with their respective getters and setters. Here is the problem I have. bean:write scope=session name=UserContainer property=user/ returns the memory

RE: getting values from session

2003-01-27 Thread Pani, Gourav
I saw that as an option but I still don't understand why the bean:write tag doesn't get the job done. Doesn't this bean:write scope=session name=UserContainer property=user.username/ mean the same as % out.println(((UserContainer) session.getValue(UserContainer)).getUser().getUsername()));

RE: getting values from session

2003-01-27 Thread Pani, Gourav
Is there something inherently wrong with my logic? If not it would seems odd that something that simple cannot be accomplished with the bean taglib. -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 3:48 PM To: 'Struts Users Mailing List

RE: getting values from session

2003-01-27 Thread Pani, Gourav
Ok, I need to apologize to everyone because I was being a complete dumbass. The variable I was looking for was being nullified, which is why the taglib wasn't working as designed. Sorry for the inconvenience. -Original Message- From: Pani, Gourav Sent: Monday, January 27, 2003 4:05 PM

session creation time

2003-01-27 Thread Pani, Gourav
when you try to obtain the session creation time, it is returned in Long format, which doesn't let you use the fmt:formatDate tag easily. In theory, what I am trying to accomplish is Date dt = new Date(session.getCreationTime()); however, i was wondering if there was a way to accomplish it

RE: How to send a html form from an action

2003-01-24 Thread Pani, Gourav
I don't see why not. The Form object/DynaValidatorForm will capture the data, the Action object can do the update to your database and then you can set up a global-mapping to go to the ne page with hidden values in the request. Then it is up to the other page to get values out of your request.

RE: [OT] Programming Challenge

2003-01-24 Thread Pani, Gourav
dunno. but i have an 8 year old cousin who does that crap all the time in his head. never know when he is lying. so the code would be helpful to figure that stuff out. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 10:16 AM To: struts

RE: messagesPresent not working.

2003-01-24 Thread Pani, Gourav
you have to have logic:messagesPresent message=true to differentiate between ActionMessages and ActionErrors. -Original Message- From: carlos list [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 11:28 AM To: [EMAIL PROTECTED] Subject: messagesPresent not working. Hello

RE: Validator validates on first form display (was RE: Validator won' t validate single required field)

2003-01-24 Thread Pani, Gourav
You are probably linking directly to your ActionClass mapping. You can avoid this by going to your JSP first instead of your Action mapping. Don't know if that made sense or not. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 12:39 PM To:

RE: Validator validates on first form display (was RE: Validator won' t validate single required field)

2003-01-24 Thread Pani, Gourav
you could create a global redirect to your JSP. I think that would work. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 1:23 PM To: 'Struts Users Mailing List' Subject: RE: Validator validates on first form display (was RE: Validator won' t

RE: Image References From JSP Pages inside WEB-INF

2003-01-24 Thread Pani, Gourav
I have found that the best way to do this is to let Apache handle image access using the DocumentRoot in the httpd.conf file. -Original Message- From: Micael [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 4:15 PM To: [EMAIL PROTECTED] Subject: Image References From JSP Pages

RE: logic tag and %= % HELP!

2003-01-24 Thread Pani, Gourav
wouldn't using bean:write instead of using the %= % part solve your problem or am i trying to make this too simple??? -Original Message- From: Khalid K. [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 4:21 PM To: [EMAIL PROTECTED] Subject: logic tag and %= % HELP! Regardless

RE: Image References From JSP Pages inside WEB-INF

2003-01-24 Thread Pani, Gourav
When you set up a Virtual Host in Apache you can do the following: VirtualHost IP_Address:Port_No ServerAdmin [EMAIL PROTECTED] DocumentRoot Path to Images ServerName servername /VirtualHost You could set up a filter in your web.xml doing the following: filter filter-name='ImageFilter'

RE: Image References From JSP Pages inside WEB-INF

2003-01-24 Thread Pani, Gourav
yeah, they are different solutions. -Original Message- From: Micael [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 4:43 PM To: Struts Users Mailing List Subject: RE: Image References From JSP Pages inside WEB-INF I take it that the filter solution here, which Jim Mitchell has

RE: [OT] Re: Struts officially supported at Ford

2003-01-23 Thread Pani, Gourav
about as much as Microsoft makes a legitimate operating system. ;) -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 1:37 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Re: Struts officially supported at Ford IBM makes cars?

RE: Struts officially supported at Ford--so what

2003-01-23 Thread Pani, Gourav
Simon, You need to get the BBC Micro-Powered El Cameno... Sorry, is it Friday yet??? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 2:31 PM To: Struts Users Mailing List Subject: RE: Struts officially supported at Ford--so what

RE: [TILES] Help with trademark symbol

2003-01-23 Thread Pani, Gourav
have you tried the hash value? -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 2:30 PM To: 'Struts Users Mailing List' Subject: [TILES] Help with trademark symbol I have a tile definition: definition name=choose.profile

RE: [OT] Re: Struts officially supported at Ford

2003-01-23 Thread Pani, Gourav
Now is that specific case of death enforced by public stoning? -Original Message- From: James Childers [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 2:54 PM To: Struts Users Mailing List Subject: RE: [OT] Re: Struts officially supported at Ford Under Sharia law puns that

RE: [OT] Re: Struts officially supported at Ford

2003-01-23 Thread Pani, Gourav
EE!!! Spin again. -Original Message- From: Mike Oliver [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 2:59 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Re: Struts officially supported at Ford Is that a Punjab? Michael Oliver AppsAsPeers LLC 7391 S.

RE: XML to PDF(need sample servlet code...)

2003-01-22 Thread Pani, Gourav
i posted sample code on this thread yesterday. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 3:32 AM To: [EMAIL PROTECTED] Subject: RE: XML to PDF(need sample servlet code...) Hi, Do u have any sample code of a servlet that does

RE: loading configuration on startup

2003-01-22 Thread Pani, Gourav
write a Log4JInit servlet which loads on startup based on your web.xml. you can find sample code on the web. -Original Message- From: Softwareentwicklung Hauschel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 7:00 AM To: Struts Users Mailing List Subject: AW: loading

RE: [OT] Eclipse IDE

2003-01-22 Thread Pani, Gourav
man, you are ancient. i bet i was in diapers when you did that. ;) -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 9:10 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Eclipse IDE If it was Friday, then I

RE: To check if user is logged in

2003-01-22 Thread Pani, Gourav
We used both the BaseAction class and the Filter and my personal preference was the Filter. Just map all the pages that are supposed to be accessed by logged in users only as /secure/*.do or something to that effect. -Original Message- From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]]

RE: pageContext beans

2003-01-22 Thread Pani, Gourav
Along the same lines, I have a custom tag that I am writing which opens a popup window to describe Glossary Items. However, the popup does not get the application root in the URL automatically. For example, if my application root is foo, when I pass in the url /secure/Glossary.do, instead of

RE: pageContext beans

2003-01-22 Thread Pani, Gourav
='stylesheet'/ type=text/css Which produces: link rel=stylesheet href=/bendev/css/style.css type=text/css in the HTML source on the client. HTH, -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management -Original Message- From: Pani

RE: pageContext beans

2003-01-22 Thread Pani, Gourav
Anybody??? Craig??? Help??? -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 1:13 PM To: 'Struts Users Mailing List' Subject: RE: pageContext beans Ok, here's what my current tag looks like. glossary:popup value=Foo.Bar/ The HTML

RE: Using taglibs-log.tld for logging

2003-01-22 Thread Pani, Gourav
Any suggestions??? -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 2:15 PM To: '[EMAIL PROTECTED]' Subject: Using taglibs-log.tld for logging I have been struggling with the implementation of taglibs-log.tld with my struts project

RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)

2003-01-21 Thread Pani, Gourav
Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad.

RE: db connection pool question

2003-01-21 Thread Pani, Gourav
please look at the thread with subject Problem with JDBC Struts Connection Pool (possible to recon nect?). Matt Raible had a solution to that by setting autoReconnect=true -Original Message- From: david chan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:56 AM To: Struts

RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)

2003-01-21 Thread Pani, Gourav
Oh and I forgot to add Ant, Log4J, Cactus and Scarab. Life is grand when most people don't have a clue what the hell you are doing. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:00 AM To: Struts Users Mailing List Subject: Re: [OT]

  1   2   >