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
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
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 the
Shailender Jain
"David G. Friedman" wrote:
> Shailendar,
>
> You mention "The application seems to be still slow since there is a data
> transmitted from Browser to server." So I have to ask some dumb questions:
>
> 1) Are your clients uploading large files?
>
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?
>
> Otherwi
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-ma
May be the problem related to directory structure.
For e.g.
webapps
examples
images
com/struts/examples
view/modulename/A.jsp
If the forward action to A.jsp has happened then A.jsp should have
Ding Lei wrote:
> Hello List,
> I encounter
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 PROT
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
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 compressio
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
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
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
&g
Hi Tiwari,
Did you tested this approach in Netscape.
What was the result?
I implemented the same thing and everything works fine in IE but not in Netscape?
In netscape both the DIV starts coming.
Shailender Jain
[EMAIL PROTECTED] wrote:
> Hi Christian,
> Here I am giving you the appro
and the rest of the tag should be invisible.
I have done this functionality for IE but it does not work in Netscape
because Netscape does not support DIV tag.
May be you can try on GOOGLE to get such code.
Regards
Shailender Jain
--Code Snippets
<%@ taglib uri="/WEB-INF/s
be very helpfull.
Shailender Jain
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I am using the File Upload example provided by Struts in my application.
I need to upload 1 MB of file.
This is taking too much time.
Is there any way by which the file is compressed into a zip (or any
other) and then it is uploaded.
Thanks & Regards
Shailender
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]
--Original Message-
> From: Shailender Jain [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 26, 2004 10:07 AM
> To: [EMAIL PROTECTED]
> Subject: executeBatch
>
> Hi,
>
> I want to insert some 3000 records in the database.
>
> I tried using executeBatch() to insert
in the \tomcat\log\localhost-DATE.log file.
>
> -Original Message-----
> From: Shailender Jain [mailto:[EMAIL PROTECTED]
>
> Sent: Monday, July 26, 2004 12:36 PM
> To: Struts Users Mailing List
> Cc: [EMAIL PROTECTED]
> Subject: Re: executeBatch
>
> Where does the log
the content you updating.
>
> - regards
>
> Raj
> (+91-11-31261821)
>
> -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: exec
say ??
>
> 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: ex
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 pa
and the DriverClass in ifxjdbc.jar.
I checked the specification of the driver
and it promises to be jdbc2.0 compliant.
Any idea on how to improve the performance?
Regards
Shailender Jain
-
To unsubscribe, e-mail: [EMAIL
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 and tag.
Any indicator for such a type of code will be really helpfull.
Regards
Shailender Jain
[EMAIL PROTECTED] wrote:
>
> But if you chang
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
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 wh
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,
Shail
e() 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
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=ind9811&L=jserv-interest&
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.
&
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
o employee (id, name) values ($id, $name);
Where id and name are variables in the application of type int and
string.
Also if the id and name are arrays then it should insert all the values.
Is there any api available for doing this without putting much effort in
learning the api.
Regards
Shail
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 f
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, G
that with each 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 appl
ssed.
> 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
>
You can specify in the TAG which ResourceBudle(key= bundle) tag should
use.
Default is ApplicationResources.properties
satish ashok shukla wrote:
> Hi All,
>
> Can we have multiple ApplicationResources.properties files for a
> project?
>
> As of now I have a following entry in web.xml for an
> A
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 ou
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 ac
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
>
> onchange
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 th
>
> Like I said though, this is the brute-force approach, I don't know a
> 'good' way to do this off hand.
>
> On Wed, 09 Jun 2004 11:14:40 +0530, Shailender Jain
> <[EMAIL PROTECTED]> wrote:
> >
> > I have fished developing the application using Struts
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
-
To
52 matches
Mail list logo