Re: Best practice for redirecting on session timeout?

2005-05-12 Thread Shailender Jain
Hello, It should be done in the RequestProcessor. If none of your JSP is doing a forward to other JSP directly. Shailender Jain Adam Lipscombe wrote: Folks, I there a standard way of handling session timeouts. If a user has been inactive for longer than N minutes I want to redirect them

Connection Leakage

2005-05-09 Thread Shailender Jain
thinking if there is a way by which we can configure the connection pool so that it should close the connection after some time if it is not done by the code. Thanks Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED

Error While uploading file

2004-10-12 Thread Shailender Jain
Dear All, I used the example given in struts for uploding the file. org.apache.commons.fileupload.FileUploadException: Processing of multipart/form- data request failed. Read timed out How can i change the settings so that the application does not give this Error. Thanks Shailender Jain

getDataSource() in JSP

2004-10-06 Thread Shailender Jain
and it will generate some combo box, table. Thanks, Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

1000 separator

2004-10-03 Thread Shailender Jain
Hello, Does anybody knows how to create a 1000 separator for numbers using struts tag library. This should be similar to the one which can be done in Microsoft Word. Thanks Shailender Jain - To unsubscribe, e-mail: [EMAIL

Apache Tomcat

2004-09-30 Thread Shailender Jain
this is dependent on the network. But can anything being done as a developer. Thanks Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

File Download

2004-09-22 Thread Shailender Jain
Hi All, Sorry if this slightly offline from the topic. I want to give a download link on my browser to the user so that he can download a test file from the server and save it into his local machine . I have given a hyperlink to the user which points directly to the file (download.txt) But

Slow Response Time (Tomcat 5.0.16)

2004-09-18 Thread Shailender Jain
. But this has solved the problem in one direction i.e server to browser. The application seems to be still slow since there is a data transmitted from Browser to server. Is there any way i can reduce this. Like using Apache with Tomcat Any indication will be helpful Regards shailender jain

Database Mapping

2004-09-08 Thread Shailender Jain
Connection Servlet Framework (jcs) http://jresources.com But the problem is that the support for this seems to have been removed. If someone has got the JAR file concerning this framework then please send it to me. Any indication on this will be very helpful. Thanks Shailender Jain

Rapid Application Development

2004-09-02 Thread Shailender Jain
. The code generated by the tool should be such that i can re - use it when i start the development. Thanks Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Accessing collections in jsp

2004-08-18 Thread Shailender Jain
In the (name=list) Here the list should be same as key used during setAttribute VAN BROECK Jimmy wrote: Hmm, i don't think your Passaction code is complete?? With this code, you would already get an nllpointerexception on the v variable! Aren't you missing something? Otherwise: try

HTTP Compression

2004-08-16 Thread Shailender Jain
the user submit a form which has got huge data or uploads a text file. Can anything be done in the Action class while using request.getParameter(parameter_name) Regards Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: jdk 1.4.x support

2004-08-12 Thread Shailender Jain
Yes, I am using jdk 1.4.2 and it is working Viral_Thakkar wrote: Does struts 1.1 supports jdk 1.4.x? Regards, Viral - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HTTP Compression (Struts)

2004-08-11 Thread Shailender Jain
Hi, Has anybody used Http Compression technique for a web application developed using Struts Framework. Please provide the information Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

HTTP Compression

2004-08-06 Thread Shailender Jain
Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded extremely fast. Any pointers on this will be really helpful. Shailender Jain

Re: HTTP Compression

2004-08-06 Thread Shailender Jain
Any pointers for these Servlet filter I have no idea how to approach. Emmanouil Batsis wrote: Shailender Jain wrote: Hi, I know this is not the right place to ask this question. Has anybody ever used HTTP compression and image compression techniques so that the web page is downloaded

Re: How to show a 'please wait' page while performing action

2004-08-05 Thread Shailender Jain
Hi, Thanks for the response. Can you send me the code snippet. It will be really helpful. Shailender Jain [EMAIL PROTECTED] wrote: Yup buddy, We tested it in both the case and it worked pretty fine, But yup, the code to invoke div was a bit different in netscape*. If we need to keep

Re: OT: IE loosing session / cookies

2004-08-05 Thread Shailender Jain
There is a problem for I.E 5.5 SP1 on Windows XP Provide the complete environment details Rosenberg, Leon wrote: Hi, A bit off-topic, but maybe you have had this too... We have an application running with struts on tomcat 5 in an application running with xslt on tomcat 3 in a frame.

Hibernate

2004-07-27 Thread Shailender Jain
anyone faced memory problem related to Hibernate. I have got tables which have got more then 10 million records. Regards, Shailender Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: executeBatch

2004-07-26 Thread Shailender Jain
45 Seconds 500 Application Hang The only Quesion here is why there is a optimium result for 100 records? Regards Shailender Jain [EMAIL PROTECTED] wrote: Did you experiment breaking the batch to 2-3 packs

Re: executeBatch

2004-07-26 Thread Shailender Jain
?? Can you give us the log output ? Regds r-a-v-i -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 12:26 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: executeBatch Hi, I experimented this executeBatch with 13500

Re: executeBatch

2004-07-26 Thread Shailender Jain
for (CONDITION) {insert into } Amit Kumar Sharma wrote: Dear Shailender, What type of insert are you trying to do, is it a single insert(eg: Insert into (select * from *)) or multiple insert (eg for(CONDITION){insert into}) Regards Amit -Original Message- From: Shailender Jain

Re: Intermediate loading page

2004-07-25 Thread Shailender Jain
Hi Puneet, I am really in needs of such a type of javascript code. This code should work both on IE and netscape. I know i need to use the DIV and LAYER tag. Any indicator for such a type of code will be really helpfull. Regards Shailender Jain [EMAIL PROTECTED] wrote: But if you change

Re: Jsp to pass Bean back/on to Action

2004-07-22 Thread Shailender Jain
May be you can put the bean in the session scope and then retreive the bean in the Action class. Not sure if this will be the right practice. Mike Young wrote: I have developed pages and seen examples where a bean is passed from an action to a jsp but how do I pass the bean on to an action

Coding Standards

2004-07-22 Thread Shailender Jain
Hai, Does anybody has got any development standards which can be used to check if the code written using the Struts Framework is optimized. Or any king of checklist Regards, Shailender Jain - To unsubscribe, e-mail: [EMAIL

Memory Problem

2004-07-16 Thread Shailender Jain
Hai, I have developed my application using Struts 1.1 and Tomcat server. I am facing a frequent problem of OutOfMemory Error. What i can do to resolve this? Is there any way by which i can find out which part of the code is giving this problem. Regards, Shailender Jain

Testing for con.close()

2004-07-09 Thread Shailender Jain
() in the finally block then this problem would have not come. Is there any way by which i can specify in the struts config .xml to close the connection which are not active or not doing anything. Regards Shailender Jain

Lock Problem with Database

2004-07-08 Thread Shailender Jain
by which i can define something in web.xml or struts-config.xml so that there is no error coming. If it reduces the performance then it is ok, since i can't change the code of my application as i have already finished the development of the application. Thanks, Shailender Jain

[Fwd: Lock Problem with Database]

2004-07-08 Thread Shailender Jain
The database i am using is Informix 9.2 Shailender Jain wrote: Hi, If i try to update a table(emp) in my database from a temp table(temp_emp) and at the same time some other transaction try to read or update the same table(emp) then i get the SQLException. I am assuming

Re: [Fwd: Lock Problem with Database]

2004-07-08 Thread Shailender Jain
Hi, Thanks for the response. Is there any way by which i can fire some queries at the database level and the problem is solved. cheers shailender jain McCormack, Chris wrote: In that case : http://archives.java.sun.com/cgi-bin/wa?A2=ind9811L=jserv-interestF=S=P=18647 Chris McCormack

Reporting Tool

2004-06-16 Thread Shailender Jain
improve the response time of reports. Thanks, Shailender Jain

Re: can i have multiple struts-config.xml

2004-06-15 Thread Shailender Jain
Hai, I went to this link but this document seems to have been removed. Is there is any other link? Regards Shailender Jain Lionel wrote: Lionel wrote: sougata wrote: Hi All I have one question.Can I have 2 struts-config.xml for one web application. yes

Re: Strange error message

2004-06-14 Thread Shailender Jain
I think you are using some code after response.sendRedirect() or doForward() which forward the request to other page. The best practice will be to use a return statement after doing the forward. You should ensure to complete all you business logic before these statements are used. Rajat Pandit,

Re: Want to do some business logic before the action class of struts is invoked. How?

2004-06-11 Thread Shailender Jain
Have you tried processPreprocess() method of RequestProcessor. This method will be executed for each request and will be before action class gets executed [EMAIL PROTECTED] wrote: Dear Strusts users, I have a typical requirement where i need to do some business logic before any

session problem

2004-06-11 Thread Shailender Jain
I am using session object in my application to validate whether the user is valid or not. I am doing this in the processPreprocess() method of RequestProcessor. But in I.E. 6.0 update version: SP1, the session object becomes null. So once user click at any link in the application he gets logged

Re: session problem

2004-06-11 Thread Shailender Jain
. http://dbomis.com/anyLink;jsessionid=A0698B81A1F1AA2B1ECDA19B0ACFD6E2 Nikhil Shailender Jain [EMAIL PROTECTED] wrote: I am using session object in my application to validate whether the user is valid or not. I am doing this in the processPreprocess() method of RequestProcessor. But in I.E

Re: session problem

2004-06-11 Thread Shailender Jain
request session id is not passed. You need to explicitly pass it as url parameter. http://dbomis.com/anyLink;jsessionid=A0698B81A1F1AA2B1ECDA19B0ACFD6E2 Nikhil Shailender Jain [EMAIL PROTECTED] wrote: I am using session object in my application to validate whether the user is valid

Re: Connection PoolingOT?

2004-06-09 Thread Shailender Jain
Thanks for your attention. Abandand connection management can you give more details on how to do this. Masashi Nakane wrote: And if you have a chance to try DBCP , Abandand connection management function will tell you exactly where the unclosed connections are . You will love this.

Re: html:options ....

2004-06-09 Thread Shailender Jain
a blank combo box and the collection having the data of the employee names. Any idea on how to handle this? Shailender Jain nikhil walvekar wrote: Hi, for html:select tag you can specify value there you can write your default value from some bean html:select size=1 name=sort

Connection Pooling

2004-06-08 Thread Shailender Jain
very frequently. We have actually assumed that the application gets hang due to this reason only. Is there any way to DEBUG where in the application where the connection is not getting closed. Regards Shailender Jain