RE: AW: Paged data output

2004-11-10 Thread Geeta Ramani
Hi Yaroslav: In case you cannot or don't want to do pagination in the db, follow Axel's advice and use the display tag. I used it for the first time two days ago and it is *sweet*! Plus the docs are chock full of examples..:) Cheers, Geeta -Original Message- From: news [mailto:[EMAIL P

RE: Error Deploying

2004-09-23 Thread Geeta Ramani
Hi, take a look at: http://struts.apache.org/userGuide/installation.html the " Install A Struts Binary Distribution" bit is what you are looking for. Hth, Geeta -Original Message- From: CCNY [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 9:55 AM To: Struts Users Mailing L

RE: File Upload Limits

2004-09-23 Thread Geeta Ramani
Hi Zoran, not directly helpful, but here's a link which will enable you to search the archives: http://marc.theaimsgroup.com/?l=struts-user Geeta -Original Message- From: Zoran Avtarovski [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 9:12 AM To: Struts Users Mailing List

RE: success story using Struts in large scale web based system

2004-09-22 Thread Geeta Ramani
Hi Alex, this question was asked before, so I searched the archives and found the following threads: http://marc.theaimsgroup.com/?l=struts-user&m=99851089726272&w=2 and http://marc.theaimsgroup.com/?l=struts-user&m=99307752323367&w=2 and http://marc.theaimsgroup.com/?l=struts-user&m=984674127

RE: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Geeta Ramani
Hi Nick/all: This may be relevant to this topic, but the "Search" feature for the Struts archives seems to be broken..? I just get a "Text search not available for this list" regardless of what I do/how I search. I used this link: http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED] s.apac

RE: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
Thanks for your note, Subramaniam. I went with K.Citron's suggestion of getting the sessionId from the session and that seems to work great too. It seems (for whatever reason) session.getId() works fine after the session is invalidated though session.getAttribute() bombs... Regards, Geeta > -

RE: GenericDataSource error?

2004-07-30 Thread Geeta Ramani
Hi Carl: Look at this link and follow it to the letter - and you should be fine.. :) http://struts.apache.org/faqs/database.html Good luck, Geeta > -Original Message- > From: Carl T. Dreher [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 10:38 AM > To: [EMAIL PROTECTED] > Subject

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Geeta Ramani
Well, you could put in a check for whether they are already in the login page. You could use methods like getRequestURI() on the request object or something like: if ((request.getParameter("username") != null) && (request.getParameter("passowrd") != null) ) { return true; //ie normal proc

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Geeta Ramani
Or you could write a RequestProcessor and override the processPreprocess method with something like this: HttpSession session = request.getSession(); if ( (session == null) || (session.getFavouriteObjectInSession == null) ) { //use Response object to redirect to login page with error set;

RE: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
Ah. You mean session.getId() would not bomb on me after the session is invalidated, is that right? In which case, that's a good idea too.. Thanks! Geeta > -Original Message- > From: K. Citron [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 10:57 AM > To: Struts Users Mailing List

RE: DAO Resource Suggestions

2004-07-30 Thread Geeta Ramani
You mean something like this? http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html Geeta > -Original Message- > From: Bussie, Andre D [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 10:48 AM > To: [EMAIL PROTECTED] > Subject: DAO Resource Suggestions >

RE: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
ahh, wait. You are using tomcat 5 which implements servlet 2.4 and the javadocs for 2.4 says under sessionDestroyed() the following: Notification that a session is **about to be** invalidated. They changed the tense on us!! :) ..Explains why your code is working just fine! Also gives me hope th

RE: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
able to trap the attribute which are > associated with the session. > It just work fine for us. > > -Jignesh > > > > On Fri, 2004-07-30 at 10:00, Geeta Ramani wrote: > > Hi everyone: > > > > I would like some clarification regarding the > HttpSessionLis

RE: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
Thank you, Sahil. This error kind of threw me - two days ago i would have sworn I knew all I needed to know about the HttpSessionlistener (teach me to be to so sanguine!) - so I am glad to hear confirmation about my proposed solution. Thanks again! Geeta > -Original Message- > From: G

HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
Hi everyone: I would like some clarification regarding the HttpSessionListener. (We are using servlet spec 2.3) Here's what I want to do: When a session expires, either when a user uses the "logout" feature or due to time-out, I want to delete a certain row from the database. The specifics of

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
it, not proficient in it > (yet), and have to have a darn good reason before I go there, > kind of a > last resort. > > > Geeta Ramani wrote: > > >ps. But if you know what's good for you you will stay right > away from javascript.. > > > > >

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
ps. But if you know what's good for you you will stay right away from javascript.. > -Original Message- > From: Brett Connor [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 4:47 PM > To: Struts Users Mailing List > Subject: Re: Not Logged in with the same loggin-password if it i

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
Yes but wont the container "know" when a user closes his/her window? Are you saying this isn't something that a container will be notified about..?/ ..hmm... maybe not... ok, Robert scratch my earlier note..(like I said i ought to go home..) > -Original Message- > From: Brett Connor [mai

RE: Not Logged in with the same loggin-password if it isalready registered.

2004-07-28 Thread Geeta Ramani
The HttpSessionlistener interface is your friend ..;) http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html All you do is write a class which implements it and overwrite the sessionDestroyed(HttpSessionEvent) method and bob's your uncle.. (Note that HttpSessi

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
Exactly! Or use HttpSessionlistener and database solution (that jim outlined) simultaneously.. (We are doing almost this except as a solution to a kind of "opposite" problem - when a user logs off we need to do soem work so.. this seems to work nicely) > -Original Message- > From: news

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
technically, it (the session) could be > shared across > computers if cookies were turned off and they had the same > jsessionid (at > least in Tomcat 4 & 5). > > Regards, > David > > -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > Sent: W

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
> Ivan Vasquez > (Compatriota :-) > > -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 4:05 PM > To: Struts Users Mailing List > Subject: RE: Not Logged in with the same loggin-password if > it is already regis

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
Ricardo: Not sure where you are having problems..? Why wouldn't something like this (pseudocode) work? if (isLoggedIn(user)) { session.invalidate(); } //now proceed normally with login with un/pw... Regards, Geeta > -Original Message- > From: Ricardo Andres Quintero [mailto:[

RE: Re: Why does work differently than ?

2004-07-28 Thread Geeta Ramani
+1 on this.. Actually make that a +100..:) > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 12:44 PM > To: Struts Users Mailing List > Subject: Re: Re: Why does work differently than > action="">? > > > At 09:39 AM 7/28/2004,

RE: Reloading Application.resources (Again)

2004-07-26 Thread Geeta Ramani
*Thanks* for posting the code! I meant to look into the link you posted earlier, since I want such a capability, but didn't get to it.. Always knew it would profit to procrastinate..;) Thanks again, Geeta > -Original Message- > From: Doug [mailto:[EMAIL PROTECTED] > Sent: Monday, July 2

RE: Connecting to a database during sessionDestroyed(HttpSessionevent) in HttpSessionlistener class

2004-07-26 Thread Geeta Ramani
Reddy: Thank you for your reply. I like your second idea better and unless I hear objections from the list, shall go with that solution, which I certainly like better than my original one..:) Thank you again, Geeta > -Original Message- > From: Pingili, Madhupal [mailto:[EMAIL PROTECTED

Connecting to a database during sessionDestroyed(HttpSessionevent) in HttpSessionlistener class

2004-07-26 Thread Geeta Ramani
This may be classified as OT, and if so, please ignore it or reply to me personally. Also if this question has already been answered I would appreciate it very much if anyone could send me a link: I can't come up with a good search criterion to google/search for. I wrote a HttpSessionListener f

RE: Datasource problem again..

2004-07-19 Thread Geeta Ramani
P.S. here you go: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html Enjoy! :) Geeta > -Original Message- > From: Koon Yue Lam [mailto:[EMAIL PROTECTED] > Sent: Monday, July 19, 2004 12:46 PM > To: Struts Users Mailing List > Subject: Datasource problem again.. > >

RE: Datasource problem again..

2004-07-19 Thread Geeta Ramani
> -Original Message- > From: Koon Yue Lam [mailto:[EMAIL PROTECTED] > Sent: Monday, July 19, 2004 12:46 PM > To: Struts Users Mailing List > Subject: Datasource problem again.. > > > > Do I need to modify the web.xml under $Tomcat/conf ?? You have to add a "Resource" element in your co

RE: About datasource

2004-07-16 Thread Geeta Ramani
Sure Craig, I guess it's a good idea to look beyond the weekend..;) Thanks for the advice! Geeta > -Original Message- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > Sent: Friday, July 16, 2004 12:16 PM > To: Struts Users Mailing List > Subject: Re: About data

RE: How to Disable "open" button on "File Download" dialogue box....please urgent

2004-07-16 Thread Geeta Ramani
Ganesh: Try something like this: response.setHeader("Content-Disposition", "inline;filename=myfilename.xyz"); I believe if the extension ("xyz") is "unknown" then a "file save as" dialog will always occur. Also, and I mean this in the kindliest way, maybe you should be a bit more careful when

RE: simple Question

2004-07-16 Thread Geeta Ramani
Hi Alvin: This question has appeared a few times, so you may benefit from searching the archives. Short answer(s): either use tokens (like you suggested) or use a redirect instead of a forward. Regards, Geeta > -Original Message- > From: Alvin Antony [mailto:[EMAIL PROTECTED] > Sent:

RE: About datasource

2004-07-16 Thread Geeta Ramani
Hi: I think this is the sort of thing you may be looking for: Context ctx = new InitialContext(); org.apache.commons.dbcp.BasicDataSource ds = (org.apache.commons.dbcp.BasicDataSource)ctx.lookup("java:comp/env/jdbc/yourDB")); Regards, Geeta > -Original Message-

RE: Configuring plug-ins using

2004-07-15 Thread Geeta Ramani
> -Original Message- > From: Jim Barrows [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 3:35 PM > To: Struts Users Mailing List > Subject: RE: Configuring plug-ins using struts-config.xml) > > > > > > P.S> I can see now why writing to the list before googling is > > so tempti

RE: Configuring plug-ins using

2004-07-15 Thread Geeta Ramani
Jim: Yes that worked. I actually read ".. which will all have been called before the init() method is invoked." as "which will have to be called before the init() method is invoked." and got stumped.. Thank you so much! Geeta P.S> I can see now why writing to the list before googling is so t

Configuring plug-ins using

2004-07-15 Thread Geeta Ramani
Hi all: I have a question regarding the use of plug-ins. According to the docs, "For PlugIns that require configuration themselves, the nested element is available." My question is simply this: how do I retrieve the value that I set in a set-property tag? I am sure this is dead simple to most

RE: Browser's refresh problem

2004-07-12 Thread Geeta Ramani
Hi Ding Lei: Use a redirect instead of a forward and that will solve your problem.. Geeta > -Original Message- > From: Ding Lei [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 9:38 AM > To: Struts Users Mailing List > Subject: Browser's refresh problem > > > Hi all, > > Ther

RE: Multiple forms and actions

2004-07-09 Thread Geeta Ramani
Andy: Short answer(s): No, the values on each form get submitted to just that Action class. And if you want the values of the other form to be submitted too, then won't it be a good idea to add those as fields of the first form in the first place? If you can't do that for some reason, you will

RE: application configuration

2004-07-08 Thread Geeta Ramani
Kailash: I don't think this is the case... I believe if you implement the Plugin interface and override the init() method, you will be ok.. Geeta > -Original Message- > From: Kailash Vasani [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 8:45 AM > To: 'Struts Users Mailing Lis

RE: application configuration

2004-07-08 Thread Geeta Ramani
Viral: Look at "Struts Tips" by Ted Husted on the struts home page. I am pretty certain he discusses this very issue in detail. (I can't seem to get to that link right now hence cannot verify..) hth, Geeta > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Thursd

RE: ActionForward with runtime parameter?

2004-07-08 Thread Geeta Ramani
Just a couple of small notes here though, (added for the Struts beginner): you will be setting and getting a "attribute" not a "parameter". Also you will need to set/get it as an Integer not an int.. Geeta > -Original Message- > From: Kailash Vasani [mailto:[EMAIL PROTECTED] > Sent: Thu

RE: Confused about ActionMessages

2004-07-06 Thread Geeta Ramani
Sorry Erik, prematurely hit some contrl key.. So, to continue, in your success.jsp add: But to display your error, do: Hth, Geeta > -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004

RE: Confused about ActionMessages

2004-07-06 Thread Geeta Ramani
Erik: Here's an example: In your Action class do: try { service.insertEmployee( employeeDTO ); ActionMessages messages = new ActionMessages(); ActionMessage message = new ActionMessage("message.employee.insert.success",employeeDTO.getName() ); messa

RE: JSP Compilation Problems With JSTL Tags Used

2004-07-01 Thread Geeta Ramani
I think the problem is that you are mixing java code illegally with jstl. For example, when you say try{ something; } catch etc. the "something" better be java code.. hth, Geeta - To unsubscribe, e-mail: [EMAIL PROTECTE

RE: Scriptlet Params in form

2004-07-01 Thread Geeta Ramani
Hey Keith: Try instead: String ss = "/MRA/ModelEdit.do?action=edit¤tModelNum=" + model.getModelNum(); Regards, Geeta > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 01, 2004 2:26 PM > To: [EMAIL PROTECTED] > Subject: Scriptlet Params in f

RE: R: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Geeta Ramani
uh oh.. you're spamming again..! > -Original Message- > From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 12:48 PM > To: Struts Users Mailing List > Subject: Re: R: R: R: Back Browser Button After Logout and Reload so > that continue working > > --

RE: How to execute an initialization by using another servlet entry in web.xml

2004-06-24 Thread Geeta Ramani
Hi Manoj: Does your getElement() method depend on the individual request? If not you could declare it as a static method and then simply access it using MyXMLParserServlet.getElement(). Otherwise that method may need a request parameter in its signature or something else - depending on your nee

RE: JDBC connection

2004-06-24 Thread Geeta Ramani
Hi Xinhua: Here's a link explaining what you want to know: http://jakarta.apache.org/struts/faqs/database.html regards, Geeta > -Original Message- > From: Lin, Xinhua [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 9:05 AM > To: [EMAIL PROTECTED] > Subject: JDBC connection > >

RE: delete a record

2004-06-23 Thread Geeta Ramani
oh ok. Just use Javascript:confirm(..) Geeta > -Original Message- > From: Julia Weaver [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23, 2004 11:42 AM > To: Struts Users Mailing List > Subject: RE: delete a record > > > Thank you Geeta, > > What I want to do is when user click DELET

RE: delete a record

2004-06-23 Thread Geeta Ramani
Julia: I think your question may not be too clear. First what do you mean by "delete a record in struts"? Strictly speaking, I believe Struts does not (should not) have code which properly belongs the business/database layer. So assuming that you want to show a confirmation page when your appli

RE: Different form tags on same jsp

2004-06-22 Thread Geeta Ramani
Chris, i think what David is trying to say is that such a test of authorization does not belong in a tag (because of the nesting problem). An easy and (non-javascript!) way of dealing with this is to in the Action *before* the jsp is shown, determine what the authority of the user is and then di

RE: Re[2]: Different form tags on same jsp

2004-06-22 Thread Geeta Ramani
Pavlikus, the error message you posted was: > >> But when jsp compiles - it show following error: > >> -- The end tag " -Original Message- > From: Pavlikus [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 22, 2004 2:22 PM > To: Struts Users Mailing List > Subject: Re[2]: Different form tags

RE: Different form tags on same jsp

2004-06-22 Thread Geeta Ramani
Hi Pavlikus : I think you may just have a typo: <-- don't end tag here.. Regards, Geeta > -Original Message- > From: Pavlikus [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 22, 2004 1:53 PM > To: Struts Users Mailing List > Subject: Different form tags on same jsp > > > Hi all. > I

RE: Struts 1.0.2 Dynamic Forward

2004-06-18 Thread Geeta Ramani
f I create an ActionForward on the fly in > my Action class, can I also create or acquire the corresponding > ActionForm to prepopulate it before returning the ActionForward? > > > --- In [EMAIL PROTECTED], "Geeta Ramani" <[EMAIL PROTECTED]> wrote: > &g

RE: Struts 1.0.2 Dynamic Forward

2004-06-18 Thread Geeta Ramani
ps.s just noticed your subject line: If you want to create an ActionForward on the fly in your CAtion class, that's ok too. Just create a new ActionForward, set its path and return that in your perform/execute method. Regards, Geeta > -Original Message- > From: bmcgovern2004 [mailto:[EM

RE: Struts 1.0.2 Dynamic Forward

2004-06-18 Thread Geeta Ramani
Hi bmcgovern2004: I'm not sure I entirely understand what you want to do, but here's one answer anyway: > In an action class, is it possible to switch gears, populate a new > form type with some acquired values, and forward to a different > action mapping that uses the new form? Yes. Nothing

RE: ActionError(s) vs. ActionMessage(s)

2004-06-18 Thread Geeta Ramani
, new ActionMessage( "msg.warning" ) ); request.setAttribute("warnings", am); and in your page: Sorry for wasting your time! Geeta > -Original Message----- > From: Geeta Ramani > Sent: Friday, June 18, 2004 10:44 AM > To: Struts Users Maili

ActionError(s) vs. ActionMessage(s)

2004-06-18 Thread Geeta Ramani
Hi all: I have been looking into ActionErrors vs. ActionMessages and found the following two links: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionErrors and http://www.husted.com/struts/tips/017.html The first link suggests that ActionError will be deprecated starting 1.2

RE: case insensitive action mapping ?

2004-06-18 Thread Geeta Ramani
Hi Berger: Take a look at org.apache.struts.action.RequestProcessor. I haven't used it myself, but I think something like processMapping(..) or processPath(..) should work.. Regards, Geeta > -Original Message- > From: Albrecht Berger [mailto:[EMAIL PROTECTED] > Sent: Friday, June 18, 20

RE: prob in database connectivity

2004-06-18 Thread Geeta Ramani
Anjali: Here are two links that you may find useful: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg06123.html Regards, Geeta > -Original Message- > From: gitanjali [mailto:[EMAIL PROTECTED] > Sent: Th

RE: Form Validation Before Submit

2004-06-15 Thread Geeta Ramani
Ciaran: Try specifically adding "validate=false" and see what happens..? Geeta > -Original Message- > From: Ciaran Hanley [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 15, 2004 11:28 AM > To: 'Struts Users Mailing List'; [EMAIL PROTECTED] > Subject: RE: Form Validation Before Submit >

RE: Scroll to error message?

2004-06-15 Thread Geeta Ramani
Tim: Have you thought about using anchor tags..? May not be a pretty solution, but could be made to work i think..? Geeta > -Original Message- > From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 15, 2004 11:25 AM > To: Struts User List ([EMAIL PROTECTED]) > Subje

RE: Accessing Array element while iterating through Map

2004-06-15 Thread Geeta Ramani
ah, in that case does the page render ok if you take out the iterate tag entirely? > -Original Message- > From: Geoff Simonds [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 15, 2004 9:32 AM > To: Struts Users Mailing List > Subject: RE: Accessing Array element while iterating through Map

RE: Accessing Array element while iterating through Map

2004-06-15 Thread Geeta Ramani
oh, wait a minute. When you said "When the page is rendered, it draws a bit of the page", what exactly did you mean? Did you mean *none* of the iterate bit was rendered? I thought otherwise (and was hoping it was a problem with data rather than syntax..) > -Original Message- > From: Geof

RE: Accessing Array element while iterating through Map

2004-06-15 Thread Geeta Ramani
Hi Geoff: Did you take a look at the rendered page source? Geeta > -Original Message- > From: Geoff Simonds [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 15, 2004 8:57 AM > To: Struts Users Mailing List > Subject: Re: Accessing Array element while iterating through Map > > > > Whe th

RE: [OT] thick client functionality in the browser

2004-06-04 Thread Geeta Ramani
Yes, quick, where did I misplace my medication..? ;) > > Now that I've opened a theological nightmare here... ;) > > Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Alias names that can be used in javascript to reference when using multiple forms that could point to the same action?

2004-06-04 Thread Geeta Ramani
Hi Ken: <2 p> Multiple actions pointing to the same action and form is valid and will work. -Original Message- > From: Linck, Ken [mailto:[EMAIL PROTECTED] > Sent: Friday, June 04, 2004 11:36 AM > To: '[EMAIL PROTECTED]' > Subject: Alias names that can be used in javascript to reference >

RE: [OT] Good env for struts-based-web-tier and ejb components development

2004-06-04 Thread Geeta Ramani
Frank: I know better than to join in these (un)holy wars, but I don't know anything about ultra-edit so am curious: ultra-edit doesn't have command completion, does it? That's almost the only thing I have found I like about an IDE, and feel I can't do without.. ..but i agree with you: ultimatel

RE: Newbie question: Are there any issues in having popup browser windows

2004-05-27 Thread Geeta Ramani
Plus isn't it true that whether or not a new session is created on opening a new window is browser dependent (I think..?).. I vaguely remember a discussion about this a while ago. If this is the case, then this will impact how your application is coded... Geeta > -Original Message- > F

RE: null form passed to execute method

2004-05-27 Thread Geeta Ramani
Mike: My guess: Look at your Action class. Do you have database statements, result sets, connections that aren't getting closed in a finally block? Regards, Geeta > It isn't consistent, sometimes it happens, most of the time > it doesn't. > The one constant is that when it happens, I have to

RE: Invalid Path

2004-05-20 Thread Geeta Ramani
Shiva: Just guessing here: your trace shows you are requesting this path: "/countryWiseDetailsInput". Maybe you want something like /countryWiseReport.do? Regards, Geeta > -Original Message- > From: Hammer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 19, 2004 2:29 PM > To: [EMAIL PR

RE: Multiple Databases.

2004-05-20 Thread Geeta Ramani
Vishal: If you are using tomcat, then I believe you can use dbcp. (I think that's what Riyad Kalla was talking about too..) We use dbcp but only for connecting to one pool (and this turned out to be quite simple: just configure the server.xml), but I think I read that you can create multiple po

RE: Tomcat 3.3.1 and Servlet 2.2/JSP 1.1 spec compatibility

2004-05-19 Thread Geeta Ramani
let 2.2/JSP 1.1 spec compatibility > > > Geeta: > > I can't seem to locate v1.02 via google search. I couldn't > find it at > http://apache.mirrors.pair.com/jakarta/struts/struts-legacy/ either. > Any idea where I can get a copy of the struts 1.02 bin

RE: Tomcat 3.3.1 and Servlet 2.2/JSP 1.1 spec compatibility

2004-05-19 Thread Geeta Ramani
Dan: Struts 1.1 requires at least Tomcat 4.0. You will have to stick with Struts 1.02. Regards, Geeta > -Original Message- > From: Dan Tarkenton [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 19, 2004 2:20 PM > To: [EMAIL PROTECTED] > Subject: Tomcat 3.3.1 and Servlet 2.2/JSP 1.1 spec

RE: how to create a MessageResouces

2004-05-18 Thread Geeta Ramani
Julio: Look at Riyad Kalla's answer to this question under the thread: Accessing ResourceBundle items from Action class Geeta > -Original Message- > From: Julio Cesar De Salvo [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 18, 2004 9:42 AM > To: 'Struts Users Mailing List' > Subject: how

RE: Hi

2004-05-14 Thread Geeta Ramani
Hi Vetri: I don't know the solution to your problem, but I remember not too long ago somebody else had a similar problem with his/her page being submitting twice. I believe that problem was in fact solved. So maybe you could search the archives..? Regards, Geeta > -Original Message- >

RE: Server side validation

2004-05-14 Thread Geeta Ramani
Hmm.. Ok, look at the source code of the page you get.. anything there? Geeta > -Original Message- > From: Samuel Rochas [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 13, 2004 6:42 PM > To: Struts Users Mailing List > Subject: Re: Server side validation > > > Hello Geeta, > > > "login

RE: Server side validation

2004-05-13 Thread Geeta Ramani
Samuel: > > input="/myDir/myForm.jsp" > If the page is under /web (root of the application), then a > "/page.jsp" > is ok? Yes, that should be ok. > Why in the login example there is only a input="login" > without a page name? "login" must have been defined as a global-forward ..? > >

RE: forward request parameter

2004-05-13 Thread Geeta Ramani
Samuel: > -Original Message- > From: Samuel Rochas [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 13, 2004 4:20 PM > To: Struts Users Mailing List > Subject: Re: forward request parameter > > > Hello Geeta, > > Thanks. > > It means I'll have to process it again, and put again in the

RE: Form not being repopulated

2004-05-13 Thread Geeta Ramani
Nestor: Add an "input" attribute in, something like this: this way when validation fails control will go back to login/login.jsp Geeta > My struts-config looks like this: > > type="com.tcs.reclamos.struts.action.LoginAction" > name="loginForm" scope="request"> >redirect="true"/

RE: Server side validation

2004-05-13 Thread Geeta Ramani
Samuel: The "input" field is the path to the jsp where your form resides, something like: input="/myDir/myForm.jsp" ..and you may want to check on the "scope=session" bit. Are you using session scope? Geeta > -Original Message- > From: Samuel Rochas [mailto:[EMAIL PROTECTED]

RE: forward request parameter

2004-05-13 Thread Geeta Ramani
Sameul: You will have to put the data again in the request scope in your second action.. Geeta > -Original Message- > From: Samuel Rochas [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 13, 2004 11:43 AM > To: Struts Users Mailing List > Subject: forward request parameter > > > Hello,

RE: forwarding to action needing different request parameters

2004-05-12 Thread Geeta Ramani
Exception: Configuration is frozen > at > org.apache.struts.config.ForwardConfig.setPath(ForwardConfig.java:208) > > at > com.sbec.folderview.po.actions.UploadPoDocument.perform(Upload > PoDocument.jav > a:80) > > -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > S

RE: forwarding to action needing different request parameters

2004-05-12 Thread Geeta Ramani
I think you can do this: get the ActionForward object as usual. Then use the ActionForward's getPath and setPath methods to add the rest of your params as query string parameters to the original path. This I am pretty sure will work. But if you want to look at a nicer solution, maybe the Request

RE: Struts/Resin case-sensitivity

2004-05-12 Thread Geeta Ramani
You know, isn't the RequestProcessor supposed to be used for just this kind of thing? You know, when you get a request, massage it so it is just as you'd like (in this case maybe change the case of the mapping to all lower case) and then adding just the lower-case to the struts-config.xml should

RE: ApplicationResource.properties reload

2004-05-12 Thread Geeta Ramani
uts Users Mailing List > Subject: RE: ApplicationResource.properties reload > > > Hi, > > Those links were informative. > But i want to reload only my ApplicationResource.properties. > Any hints on how to tweak this ? > > Regards, > Janarthan S > > -Origin

RE: ApplicationResource.properties reload

2004-05-12 Thread Geeta Ramani
Janarthan: Take a look at this link: http://www.scioworks.net/devnews/strutsDistilled/updates/update-020811/reload.html and at: http://www.mail-archive.com/[EMAIL PROTECTED]/msg22743.html However: http://jakarta.apache.org/struts/faqs/newbie.html#reload Regards, Geeta > -Original Message--

RE: convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread Geeta Ramani
Ganesh: For some reason we are receiving four copies of each note that you write.. Would you please see what's up? Thanks! Geeta > -Original Message- > From: ganesh g [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 8:38 AM > To: Struts Users Mailing List > Subject: convert loc

RE: Reports In Struts Frame work

2004-05-10 Thread Geeta Ramani
jfreechart *rocks*!! (http://www.jfree.org/jfreechart/) > -Original Message- > From: as as [mailto:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 4:02 PM > To: Struts Users Mailing List > Subject: Re: Reports In Struts Frame work > > > did u try jfree.org > have a look at jchart.org also

RE: Please help: Empty form while error

2004-05-10 Thread Geeta Ramani
Kevich: make sure you don't have a "redirect=true" in your add configuration in struts-config file. If that looks ok, post the relevant portions of the struts-config.xml and someone could maybe spot the problem.. Regards, Geeta > -Original Message- > From: Kevich Gan [mailto:[EMAIL PROT

RE: concurrency in struts

2004-05-10 Thread Geeta Ramani
Yes, somebody did indeed answer better.. Please see Manfred Wolff's earlier response in this thread. :) > -Original Message- > From: Ludovic Maitre [mailto:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 9:08 AM > To: Struts Users Mailing List > Subject: Re: concurrency in struts > > > H

RE: strange tomcat problem with struts1.1

2004-05-10 Thread Geeta Ramani
Jignesh: Trust me on this, you *don't* want to avoid concurrent requests: Struts takes care of that bit for you. As long as the variables in the execute method of your action classes are all method variables and you stay away from class variables, you will be ok. Really. :) As for why your to

RE: concurrency in struts

2004-05-10 Thread Geeta Ramani
Jignesh: The "execute" method of the Action class includes (among others) as params the request, response objects of each user.. That I believe is the key..:) Regards, Geeta > -Original Message- > From: Jignesh Patel [mailto:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 8:54 AM > To: S

RE: Some further newbie woes

2004-05-06 Thread Geeta Ramani
this figured out :) > > That didn't seem to help either... I actually thought of that > previously, I > figured at some point there has to be some code casting an > Object to a File > object, otherwise certainly the getName() method call is > going to fail. I >

RE: Some further newbie woes

2004-05-06 Thread Geeta Ramani
None None: (or Someone Someone..;)) In fact maybe just adding the "type" attribute to your orignal iterate will work I think: Regards, Geeta > -Original Message- > From: Solley, Tim [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 06, 2004 3:31 PM > To: Struts Users Mailing List

RE: Submit with a link

2004-05-05 Thread Geeta Ramani
Michael: I think "forms" stands for the list (array?) of all forms in that document. So the form which appears (physically) first on the document has index 0, the next one has 1, etc. Is this what you are asking..? Geeta > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROT

RE: is this posible? return to the same page after being executed

2004-05-05 Thread Geeta Ramani
ant > to come back. So I cannot set this in the struts-config.xml, but maybe > there's some way to recall the url of the action or jsp inside the > action that process the request and then come back to the > caller action. > > Is that clear? > > Thanks again. > >

RE: is this posible? return to the same page after being executed

2004-05-05 Thread Geeta Ramani
M > To: 'Struts Users Mailing List' > Subject: RE: is this posible? return to the same page after being > executed > > > Yeah... :) what I was trying to ask is what the best way to get in the > action the path to the page that originally called the action. > &g

RE: is this posible? return to the same page after being executed

2004-05-05 Thread Geeta Ramani
Yes, this will work: try it! :) Geeta > -Original Message- > From: Julio Cesar De Salvo [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 05, 2004 11:06 AM > To: 'Struts Users Mailing List' > Subject: is this posible? return to the same page after being executed > > > Is there some way t

RE: [OT - OT - Friday!!] Eclipse, Struts app and log4j

2004-04-23 Thread Geeta Ramani
Mike, Colin, Hubert: Thanks very much for your replies! I now have my struts app log4j integrated into eclipse. :)) To help eliminate future headaches, here's a link that helped me: http://www.mail-archive.com/[EMAIL PROTECTED]/msg01266.html i added the Log4jInit servlet, updated web.xml, rebu

  1   2   >