You are better off using FileUpload from the Commons package. Using
DiskFileUpload, you can set a threshold on the size of your files. If the
threshold is breached, the files will be saved in a temp location on your
hard disk from where you can access them as many times as you want. So you
could
Hi Ashwani,
html:base is used to let the the browser know the location of the document
currently being seen by the user. This is important in the case of web pages
where there is an internal mapping between what a browser submits an action
to and what the user ends up seeing. These two may be
Hello all,
A curious, but not totally unexpected, thing happens when I try to access my
Apache httpd-Tomcat (4.1.24) site for the first time via mod_jk2 connector.
Since Tomcat/Struts resorts to a URL rewrite of every link (because it
doesn't know that the browser is going to accept a cookie the
Thanks Steve for the suggestions.
Regards,
Vikram
- Original Message -
From: Steve Raeburn [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 3:08 PM
Subject: [OT] RE: Stackoverflow after DB inactivity
Additional info on why MySQL
Hello all,
I am getting a Stackoverflow error in Tomcat 4.1+ after a period of database
inactivity, typically (3+ hours). I am using Struts for the front end and
while the non DB access pages work fine, as soon as access to a page is
requested where data is to be fetched from the database, I get
Hi Viral,
This is not the log4 list. Try the log4j list or read the several articles
on how to use it.
http://jakarta.apache.org/log4j/docs/documentation.html
PS: Which PU are you in at Infy?
Regards,
Vikram
- Original Message -
From: Viral_Thakkar [EMAIL PROTECTED]
To: Struts Users
You could also use the DB Tag library from Jakarta for trivial applications:
http://jakarta.apache.org/taglibs/doc/dbtags-doc/intro.html
Regards,
Vikram
- Original Message -
From: David Friedman [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]; Martin
Naskovski [EMAIL
I get the same error when I try to execute a DB query via a form. I am using
Struts1.1rc1, Tomcat 4.1.24 and MySQL. I initially thought that the error
was because the connection was lost to the DB server and therefore I had put
autoReconnect=true in the DB URL. But that did not stop the problem.
Hey! Who are you calling a slacker mate! :) A Foster here and a Foster there
makes the world go around.
Happiling chugging on down under..
Vikram
- Original Message -
From: Mark Galbreath [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, May 30, 2003
this be as
expected and well, how do you still justify the usage of tags.
Best Regards,
Vikram Goyal
Search the mailing list for chaining actions. This has been covered
several times in this list.
Regards,
Vikrma
- Original Message -
From: Suresh Addagalla [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 30, 2002 11:01 PM
Subject: redirect attribute (newbie)
Hi,
I have
Make sure that the bkObject is set in session not in request.
Rgs
Vikram
- Original Message -
From: Dinesh Samson J [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 12, 2002 8:14 PM
Subject: html:select error reloading the jsp
Greetings,
I am retrieving a set of
Set the following in the struts-config.
controller maxFileSize=500K /
For file sizes in MB use 1M, 1.5M etc.
HTH
Vikram
- Original Message -
From: Huynh Ngoc Huy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 21, 2002 7:33 PM
Subject: Max file size when upload in
We used FOP to generate dynamic pdf through the action. The action itself
returned null.
Vikram
- Original Message -
From: Madel,Kurt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, November 21, 2002 5:46 AM
Subject: RE: Question About Modules
Hello All,
I am getting a ClassCastException when using a TreeMap in a logic iterate. I
am reproducing part of the error below.
java.lang.ClassCastException: java.util.TreeMap$Entry
at _web_22dinf._jsp._mycraft__jsp._jspService(/WEB-INF/jsp/mycraft.jsp:26)
I understand that while using a
]
Sent: Thursday, November 14, 2002 11:03 PM
Subject: RE: ClassCastException - Using TreeMap
try this...
bean:define id=bookmarkID name=bookmark property=key/
-Original Message-
From: Vikram Goyal [mailto:tech;craftbits.com]
Sent: Thursday, November 14, 2002 7:52 AM
To: Struts Users
Hello All,
I have searched the list for some time now and could not find a conclusive
answer for my problem. I am hoping someone else has come across this and can
help me.
When displaying information about a User, I need to display the Label for a
Country Code. This should be simple enough.
== Vikram Goyal [EMAIL PROTECTED] writes:
Vikram When displaying information about a User, I need to display
the Label for a
Vikram Country Code. This should be simple enough. However, the User
bean contains
Vikram only the country code. To get the Country label, I need to
iterate over
You could also use the inbuilt ForwardAction.
Details are in the javadocs of Struts.
Regards,
Vikram
- Original Message -
From: Mohan Radhakrishnan [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, November 01, 2002 9:42 PM
Subject: RE: Reroute to login
All,
This is probably off topic and if so I apologize.
I shifted my hosts from a non JSP one to a JSP one short time ago. The deal
was 500 MB disk space, 15GB transfer, and private JVM and Resin for 235 USD
a year. Too good to be true? Probably is??
Anyways, this is the problem:
I deployed my
20 matches
Mail list logo