RE: Is there anyway an Action can dynamically return to a page based on input?

2004-06-28 Thread brati . sankarghosh
No if you are creating a new ActionForward object you can do without puting it in struts-config.xml Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com [EMAIL PROTECTED] 06/28/2004 06:23 PM Please respond to "Struts Users Mailing List" <[EM

RE: Is there anyway an Action can dynamically return to a page based on input?

2004-06-28 Thread brati . sankarghosh
I guess you can try instantiting a new ActionForward object with the path where you want to go to. new ActionForward(); Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Guillermo Meyer" <[EMAIL PROTECTED]> 06/28/2004 07:52 AM Please r

PLEASE IGNORE

2004-06-17 Thread brati . sankarghosh
I am sorry about this mail. I was intending to send it to some one else. Sorry Again. Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com [EMAIL PROTECTED] 06/17/2004 01:35 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]

Re: :)

2004-06-17 Thread brati . sankarghosh
Very Important Files Under Sieze(VIRUS). Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com [EMAIL PROTECTED] 06/17/2004 12:58 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts Users Mailing List" <[EMAIL

RE: Action Forward

2004-06-08 Thread brati . sankarghosh
Thanks Shilpa and Frank, I know about the part of adding it to struts-config.xml. but the case is I am receiving the path of a screen at runtime. so I cannot put it in struts-config.xml. Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Fra

Action Forward

2004-06-08 Thread brati . sankarghosh
Is it possible to forward to a page(html/jsp) from the Action Class without declaring that forward in the struts-config.xml? Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.comDISCLAIMER: The information contained in this message is intended only and

Struts tiles and html frames.

2004-06-07 Thread brati . sankarghosh
What are advantages of tiles over html frames? Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and

RE: URL regd Servlet filter

2004-06-04 Thread brati . sankarghosh
I am using filters and have some pages that forwards to a JSP(though I should try avoiding that) I have not faced any problem yet. can you give an outline of the typeof problem you faced? Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Jose

Sorry : Semi-OT: Organizing WEB-INF/lib dir...

2004-06-03 Thread brati . sankarghosh
I think I am wrong. my experiment went a little wrong. soory about that. I think lib cannot be subdivided. Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Dan Tran" <[EMAIL PROTECTED]> 06/04/2004 11:23 AM Please respond to "Struts User

RE: Semi-OT: Organizing WEB-INF/lib dir...

2004-06-03 Thread brati . sankarghosh
Well I have done that. I have created a directory under lib and included struts.jar in it. This is running fine in JDeveloper when I added the path to the classpath. Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Frank Zammetti" <[EMAIL PR

RE: Servlet filter

2004-06-03 Thread brati . sankarghosh
A filter will only work with servlet containers implementing servlet specifications 2.3. We have a general filter which is extended by other filters doing various actions like xml processing,session validations and security logic. Here is the generic filter code. import javax.servlet.Filter; impo

Fw: Servlet filter

2004-06-03 Thread brati . sankarghosh
Can we have this user removed from the list. All the mail sent to the group fails to go to the user. Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com - Forwarded by Brati Sankarghosh/KOL/TCS on 06/03/2004 06:11 PM - Delivery Failure

Re: Override form action URL

2004-06-03 Thread brati . sankarghosh
I donot know whether I have understood this properly but are you trying to mask your actual action mapping? If so you can define a dummy action to which your form points. In the dummy just forward to your actual action. In the rendered jsp/html page you will see the dummy action. Brati Sankar Gho

Re: Servlet filter

2004-06-03 Thread brati . sankarghosh
Shilpa, We are doing just that. A filter comes into effect before the control goes to the servlet. So if you can stop the user at the filter level you are actually saving some processing. We are checking for the presence of session in the filter. Brati Sankar Ghosh Tata Consultancy Services Mailt

Re: how to send the 'index' to javascript function

2004-05-28 Thread brati . sankarghosh
Scirptlets will not work within a html struts tag. If you want to use scriplets use a normal html tag instead. Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Mark Lowe <[EMAIL PROTECTED]> 05/28/2004 02:47 PM Please respond to "Struts U

Re: connection pooling

2004-05-19 Thread brati . sankarghosh
If 5 users are simultaneously using the database connections then you need to create more connections. Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Lokanath <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 05/20/2004 10:11 AM Please re

Form repopulation after validate

2004-05-19 Thread brati . sankarghosh
We are using the validate method to validate the action form. However if validate returns false then we return to the same page from where we came. But on returning, the form in the page remains blank. How can we show this form populated. Thanks DISCLAIMER: The information contained in this messa

Re: Session attributes lost when open a popup window

2004-05-17 Thread brati . sankarghosh
Hi lozano I had the same problem. whenever i close the pop up window the session is lost in the parent window too. I am using JDeveloper as IDE and weblogic to deply. Someone adviced me that this is a problem with the OC4J contained shipped with JDeveloper. But I doubt this may also be due to some

RE: close pop-up window

2004-05-06 Thread brati . sankarghosh
Yes. I am hoping that . We have deployed in weblogic 7.x and the problem has not shown up yet. Thanks. Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com [EMAIL PROTECTED] 05/06/2004 12:59 PM Please respond to "Struts Users Mailing List" <

RE: close pop-up window

2004-05-05 Thread brati . sankarghosh
Hi all, I recently had this problem with a pop up window. Sometimes after the pop up window is closed the session in the parent window is lost too. Anyone have any solution. I am working with JDeveloper and IE 6 using struts-ejb (a framework based on struts). Brati Sankar Ghosh Tata Consultancy S

RE: detecting session timeout

2004-04-19 Thread brati . sankarghosh
We have done a similar thing with filter. You put a check in the filter to redirect to an error page if the session is not present in the request. this will also prevent a user to access the site without login in. Filters however is only available with servlet 2.3 Brati Sankar Ghosh Tata Consulta