Re: urgent - data-source and container managed datasource

2004-03-16 Thread Shyam A
servlet-namedatabase/servlet-name servlet-classobs.application.DatabaseServlet/servlet-class load-on-startup1/load-on-startup /servlet HTH, Shyam --- Janice [EMAIL PROTECTED] wrote: Hi There, I'm getting ready to ship off my application and I'm trying to use the application

Re: Reporting + Struts

2004-03-11 Thread Shyam A
Niall, Thanks for sharing your experience with Jasper reports. Looks like using iText will make things easier for me. I noticed that I also missed a few posts on the same thread. Thanks, Shyam --- Niall Pemberton [EMAIL PROTECTED] wrote: I sent this earlier, but it didn't seem to reach

Reporting + Struts

2004-03-10 Thread Shyam A
could share their experience in using the above mentioned tools. Thanks, Shyam __ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com - To unsubscribe, e

RE: [OT] Database locking and deadlock

2004-03-09 Thread Shyam A
? Thanks, Shyam --- Balakrishnan, Vijay [EMAIL PROTECTED] wrote: Hi Shyam, You can synchronise the whole transaction with the 2 updates.That will take care of 1 of the issues.The other issue might be cyclic i.e are you updating table C first and then updating table A or B somewhere in your

Re: [OT] Database locking and deadlock

2004-03-09 Thread Shyam A
for the table. It has been increased from the default value of 1 to 5. We are waiting to see if this fixes my problem. Thanks, Shyam --- Duncan Mills [EMAIL PROTECTED] wrote: From a pure Oracle perspective I would program this more defensively e.g Do a select for update nowait before you issue

[OT] Database locking and deadlock

2004-03-08 Thread Shyam A
is that closing the Connection object will free up all the associated resources. Any help/pointers/suggestions will be greatly appreciated. Thanks, Shyam __ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com

RE: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
Robert, Thanks for your response. No, the update queries use a single connection for which auto-commit is turned off. Commit is done only if all the update queries are successful. Thanks, Shyam --- Robert Taylor [EMAIL PROTECTED] wrote: Is it possible that dbConnection.doUpdate() gets a new

Re: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
Vic, Thanks for the pointer,but is there any way of salvaging the current situation?.It seems the Update operation is causing the DBMS to have row-level locks on the table,eventually leading to deadlock. Thanks, Shyam --- Vic Cekvenich [EMAIL PROTECTED] wrote: Of course you could switch

Re: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
for the commit. Is this the cause of the problem? I've not been able to determine (using SQl Plus, TOAD ) which query is causing the row-level lock. Any ideas? Thanks, Shyam --- Vic Cekvenich [EMAIL PROTECTED] wrote: Is there a way you can reproduce this w/ iSQL command line? I assume Sybase

Re: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
. An alternative that comes to mind is using a stored procedure for the update operations. Anyway, I need to do some research on passing Java objects to stored procedures. Thanks, Shyam --- Vic Cekvenich [EMAIL PROTECTED] wrote: Do you have a deadly embrace? Maybe just syncronise w/ semaphorse

Re: Life, the Universe and Everything (was: RE: [OT] RE: Memory usage)

2004-03-02 Thread Shyam A
+1 On action alone be thy interest, Never on its fruits. Let not the fruits of action be thy motive, Nor be thy attachment to inaction. - Bhagavad Gita (250 BC - 250 AD), Chapter 2 http://timesofindia.indiatimes.com/articleshow/8487868.cms --- atta-ur rehman [EMAIL PROTECTED] wrote: +1

RE: Action not forwarding to another Action

2004-03-02 Thread Shyam A
Use request.getAttribute(id). hth, Shyam Let me elaborate my question #3: If my .JSP has a html:form action=/app/UpdateOrder?id=30 , I know when I click a 'submit' button to get to an Action class, I can retrieve the id in my Action class by doing String id = Request.getParameter(id

Re: A question on Struts taglib.

2004-02-24 Thread Shyam A
You can use the indexId attribute of logic:iterate tag... http://jakarta.apache.org/struts/doc-1.0.2/struts-logic.html#iterate HTH, Shyam --- Au-Yeung, Stella H [EMAIL PROTECTED] wrote: A question on Struts taglib. Can someone tell me how to reference the index of each element so I can pass

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Shyam A
Just a suggestion. Not sure if I'm right... Instead of using onSubmit() event of your html:form, why don't you call the Javascript when the user clicks/submits the associcated HTML component - Create/Update button, and set the action accordingly. HTH, Shyam --- Au-Yeung, Stella H [EMAIL

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Shyam A
Then, in your submitForm() Javascript, check for which button is clicked, or check for whichAction as you're doin now, and set the action accordingly. (Sorry, I'm not an expert in Javascript!) HTH, Shyam --- Au-Yeung, Stella H [EMAIL PROTECTED] wrote: Shyam: I am not sure what you mean, can you

Re: preview form

2004-02-16 Thread Shyam A
, and display drop-down or text field accordingly. HTH, Shyam P.S. Wonder if the 'newbie' has come of age?;) --- Janice [EMAIL PROTECTED] wrote: Hi Gang, I have a form that the client would like to be 'previewed' before users can submit. The plan is to have a form with a button that takes

problem with indexed properties

2004-02-13 Thread Shyam A
Action class. I tried in vain to find some good examples of form beans with indexed properties..most of the examples are for DynaActionForm, and I'm really strutting in the dark:( Any help/pointers will be greatly appreciated. Thanks, Shyam __ Do you Yahoo

Re: Array of text fields generated dynamically - struggling with indexed properties

2004-02-12 Thread Shyam A
Action class. I tried in vain to find some good examples of form beans with indexed properties..most of the examples are for DynaActionForm, and I'm really strutting in the dark:( Any help/pointers will be greatly appreciated. Thanks, Shyam --- Hubert Rabago [EMAIL PROTECTED] wrote: I don't

Re: Array of text fields generated dynamically - validation problem

2004-02-08 Thread Shyam A
entered values. However, the user entered values can be printed out in the validate() method. How do I work around this problem? Any help, suggestions/pointers will be greatly appreciated. Thanks, Shyam --- Shyam A [EMAIL PROTECTED] wrote: Hi, I have a scenario in my Struts application

Unable to redirect to error page in declarative Exception handling

2004-01-29 Thread Shyam A
is not redirected to the error page - error.jsp, when there is an Exception like NullPointerException. Could somebody tell me what I'm doing wrong. Any help would be greatly appreciated. Thanks, Shyam __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try

Configuring Struts applications on OC4J (Oracle 9i AS)

2004-01-23 Thread Shyam A
working with OC4J? Any help/pointers will be greatly appreciated. Thanks, Shyam __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb

[OT] Mailing large number of recipients

2003-12-04 Thread Shyam A
will be greatly appreciated. Thanks, Shyam __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [OT] Mailing large number of recipients

2003-12-04 Thread Shyam A
its operation, which is why I was wondering if it could be done at the backend-Oracle 9i. Thanks, Shyam --- Kirk Wylie [EMAIL PROTECTED] wrote: Shyam A wrote: Hi, I have a Struts application in which I need to send email notification to a large number of recipients based on a user

Re: [OT] Mailing large number of recipients

2003-12-04 Thread Shyam A
Kirk, Brice and Elio, Thanks a lot for pointing me in the right direction. I really appreciate it! Shyam --- Kirk Wylie [EMAIL PROTECTED] wrote: Shyam A wrote: Kirk, Thanks a lot for your suggestions. I will look into JMS. In my current approach, the process of sending the mail

Re: request.setAttribute

2003-11-28 Thread Shyam Krishnan
Why you are putting it into the request yaar?? U can put it into the session.. Regards, Shyam Honza Spurný [EMAIL PROTECTED] 11/28/03 05:10 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject request.setAttribute Hi there, I have small

Re: Lazy questions on this list

2003-11-20 Thread Shyam A
Well, a list meant exclusively for newbies doesn't serve the purpose as we will miss the expert advice and words of wisdom of the experienced Struts gurus on this list!! Shyam, (eternally newbie!) --- Linda Coleman [EMAIL PROTECTED] wrote: Would it be possible to create a newbie list

Re: Lazy questions on this list

2003-11-20 Thread Shyam A
serve the purpose as we will miss the expert advice and words of wisdom of the experienced Struts gurus on this list!! Shyam, (eternally newbie!) --- Linda Coleman [EMAIL PROTECTED] wrote: Would it be possible to create a newbie list? As a newbie I would much rather read post

Array of html:checkbox / html:multibox not retaining state after validation

2003-11-18 Thread Shyam A
? Any help/pointers will be greatly appreciated. Thanks, Shyam __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - To unsubscribe, e

RE: [OT] Handling database connection exceptions

2003-11-17 Thread Shyam A
throw Exception), it is propagated to my JSP's. It doesn't mean my JSP's directly access the database! Anyway, thanks for your help. Shyam --- Wendy Smoak [EMAIL PROTECTED] wrote: I have a Database servlet configured in web.xml, which intialises a connection pool on Server startup. However

RE: [OT] Handling database connection exceptions

2003-11-17 Thread Shyam A
, the perform() method of the Action class throws Exception but does not catch it. What do you think would be a graceful solution to this problem? Pardon my ignorance! Thanks, Shyam --- Yee, Richard K,,DMDCWEST [EMAIL PROTECTED] wrote: Shyam, Where in your JSP does the NullPointerException

RE: [OT] Handling database connection exceptions

2003-11-17 Thread Shyam A
Richard, I use Struts 1.1.Thanks for your help...I finally found what I was looking for. Shyam --- Yee, Richard K,,DMDCWEST [EMAIL PROTECTED] wrote: Shyam, Are you using Struts 1.0 or 1.1? It seems that you are using Struts 1.0. If not, then you can combine my suggestion with what Vic

simple question

2003-11-13 Thread Shyam A
Hi, Is there any Struts tag for an expression like %= request.getAttribute(attributeName)% where the attribute is a String. Thanks, Shyam __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree

indexId attribute of logic:iterate tag

2003-11-13 Thread Shyam A
Hi, I have a JSP page in which I display the results of a database query in a table format using logic:iterate tag for a bean. I want to display the number of the table row using the indexId attribute of the logic:iterate tag. The index starts from 0 but I want to display the records starting

RE: Passing parameters between forms

2003-10-14 Thread Shyam A
the parameters being passed. I would rather use buttons for the link and post the form. Do you have any suggestions/comments? Thanks, Shyam --- Carey Nation [EMAIL PROTECTED] wrote: I have some vague memory (perhaps completely wrong) that the forms are stored wherever they are stored using the names

Passing parameters between forms

2003-10-13 Thread Shyam A
into session in Action A class and access it in Action B, or set the scope of Form A to session in struts-config and access Form A from Action B. Is there a better way to do this? Any help/suggestions would be greatly appreciated. Thanks, Shyam __ Do you Yahoo

Forwarding to URL from DispatchAction class - any takers?

2003-08-14 Thread Shyam A
OC4J, the application server that comes with Oracle9iAS (1.0.2.2). Is there any solution to this problem? Any help would be greatly appreciated. Thanks, Shyam __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http

RE: [newbie]: forwarding to a URL from Action class - 2nd post

2003-08-14 Thread Shyam A
that mapping will get That URL... Thanks Sachin -Original Message- From: Shyam A [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 9:49 PM To: [EMAIL PROTECTED] Subject: [newbie]: forwarding to a URL from Action class Hi, I have an application that is accessed

[newbie]: forwarding to a URL from Action class

2003-08-14 Thread Shyam A
is that the ActionForward object uses a relative path and inserts a / at the beginning of the URL. Any help would be greatly appreciated. Thanks, Shyam __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

[newbie]: forwarding to a URL from Action class - any takers?

2003-08-11 Thread Shyam A
to the next statement in my DispatchAction class method. I'm not sure if this is an Application Server issue... I use OC4J, the application server that comes with Oracle9iAS (1.0.2.2). Is there any solution to this problem? Any help would be greatly appreciated. Thanks, Shyam

[newbie]: Accessing labelProperty in html:options

2003-07-21 Thread Shyam A
The property termCode is a string in my ActionForm class. I would like to access the selected value in the drop-down, i.e, labelProperty in my ActionClass. I'm not sure how it is done. Any help would be greatly appreciated. Thanks, Shyam __ Do you Yahoo!? SBC Yahoo! DSL

RE: [newbie]: Accessing labelProperty in html:options

2003-07-21 Thread Shyam A
Amit, Sorry, I overlooked your code and missed something. I need to access both the termCode (property) and name(labelProperty) in my action class. Is there a way to do it? Thanks, Shyam --- Amit Kirdatt [EMAIL PROTECTED] wrote: To access the selected value in your action class ((MyCodeForm

Re: newbie question - setting form parameter in Javascript

2003-07-12 Thread Shyam A
property in my ActionClass, I got a null value. I tried the following code in my Action class and I got a null value. String action = ((ActionForm) form).getAction(); Wonder if I have missed something. Shyam Mark Lowe [EMAIL PROTECTED] wrote: Its better that this is posted to the list

newbie question - setting form parameter in Javascript

2003-07-11 Thread Shyam A
action is not set to Lookup. Any help would be greatly appreciated. Thanks, Shyam - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Re: newbie question - setting form parameter in Javascript

2003-07-11 Thread Shyam A
button. Look forward to your help/suggestions. Thanks, Shyam James Mitchell [EMAIL PROTECTED] wrote: You will need to create a hidden field named action, with a value of Lookup: My question to you iswhy Lookup? What does that have to do with your form? Here's a sample: function

[newbie]: Remving Form Bean from scope

2003-06-03 Thread Shyam Anand
it affect concurrent access of the corresponding web page in anyway? Could somebody throw some light on the topic? Thanks, Shyam __ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com