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
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
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
and it will generate some combo
box, table.
Thanks,
Shailender Jain
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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]
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
.
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
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
.
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]
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
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
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]
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
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
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
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
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.
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]
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
??
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
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
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
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
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
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
() 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
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
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
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
improve the response time of reports.
Thanks,
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
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,
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
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
.
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
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
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.
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
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
40 matches
Mail list logo