You can use Jakarta Taglibs' "String". In particular, the
tag:
http://jakarta.apache.org/taglibs/doc/string-doc/string-1.1.0/index.html#replace
Ciao
Antonio Petrelli
Ole Hildebrandt wrote:
>Hi,
>
>I know this is a stupid question, but I couldn't find any solution. Is
there
>any documentation ava
It depends on what you are using to do the uploading. For example, an
FTP system cares. But an application that simply copies bytes from an
octet stream doesn't have to care.
Erik
Rajaneesh wrote:
Hi,
A basic question! Should a file type(BINARY or ASCII) matter during the
upload process?
Regard
In what way?
-Original Message-
From: "Dakota Jack"<[EMAIL PROTECTED]>
Sent: 3/8/05 12:34:50 AM
To: "Struts Users Mailing List", "[EMAIL
PROTECTED]"<[EMAIL PROTECTED]>
Cc: "Corey Probst"<[EMAIL PROTECTED]>
Subject: Re: why complicate? was: Eliminate Setup Actions
In what way?
-Original Message-
From: "Dakota Jack"<[EMAIL PROTECTED]>
Sent: 3/8/05 12:34:50 AM
To: "Struts Users Mailing List", "[EMAIL
PROTECTED]"<[EMAIL PROTECTED]>
Cc: "Corey Probst"<[EMAIL PROTECTED]>
Subject: Re: why complicate? was: Eliminate Setup Actions
I've got file types identified to death (1020 of them and counting).
I just need a mapping to the mime types for these file types. I
thought this would be easy. Nothing is easy, it seems. I must be
missing a piece of something here.
Jack
On Mon, 07 Mar 2005 20:45:16 -0500, Frank W. Zammetti
Yes. Try upoloading images as text. See what you get.
On Tue, 8 Mar 2005 10:13:33 +0530, Rajaneesh
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> A basic question! Should a file type(BINARY or ASCII) matter during the
> upload process?
>
> Regards
> Rajaneesh
>
> -Original Message-
> From: D
Isn't this all a bit contrary to the rightfully hallowed principles of
decoupling in OOP?
On Mon, 07 Mar 2005 22:56:23 -0500, Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> Corey Probst wrote:
> > Another thought, what about redirecting forwards?
>
> I'm glad you brought that up because I didn't
Hi,
A basic question! Should a file type(BINARY or ASCII) matter during the
upload process?
Regards
Rajaneesh
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 1:22 AM
To: Struts Users Mailing List
Subject: Re: DownloadAction Application
Yes
From: "James Mitchell" <[EMAIL PROTECTED]>
I wouldn't use a Map, I would go with a List. Primarily for ordering.
I use java.util.TreeMap-- automatic alphabetical order for my lists of
(String) codes and descriptions.
--
Wendy Smoak
-
Shut up Frank.
Kidding, kidding... really ;-)
For a second (after the sausage and dogs comment) I thought you *were* Rick.
You should visit us on IRC - irc.darkmyst.org - #funkycodemonkey
There are many conversations that end like that sausage and dogs comment. :-D
Larry
On Mon, 07 Mar 2005
Corey Probst wrote:
Another thought, what about redirecting forwards?
I'm glad you brought that up because I didn't think of it, and wouldn't
have until after someone noticed it :)
I don't think there is anything that can be done about that, at least
not in the case where you redirect to a JSP.
Yes, it is typical to write Action.execute() methods that contact the
persistent store to populate an ActionForm so that the data can later be
rendered by a JSP.
Specify what ActionForm (bean) your action uses in struts-config.xml.
When you do this, Struts will create/find an instance of that Acti
actions can already have all the forwards you want.
On Mon, 7 Mar 2005 20:18:20 -0600, Corey Probst <[EMAIL PROTECTED]> wrote:
> I really like the idea of adding the *setup_definitions* (whatever
> they are eventually called) to the forward elements in struts-config.
> To me, this would be the m
This is a valid way to do it. To be more specific, your Action would ask
some delegate for the domain object, then it would use that object as
either a scoped (request, session, etc.) attribute or as a field for
your form-bean (if you are indeed using your form-bean for "setup"
actions as well
I really like the idea of adding the *setup_definitions* (whatever
they are eventually called) to the forward elements in struts-config.
To me, this would be the most logical place to add them. This means
that they (the setup methods) would only be processed when it's 100%
sure that we are going
Sorry for the late response.
I wouldn't use a Map, I would go with a List. Primarily for ordering.
There's nothing more strange than hitting a web site and seeing the order of
some select box changing randomly with each refresh. I suppose you could
get away with one of those funkified Map impl
suppose I am using a form-bean to populate an html
form, I need to retrieve the values of this form-bean
from persistent storage. Do I do this from the Action
that eventually forwards to this jsp page?
Should I create the form-bean from persistent storage
in action.execute(), then forwards the vi
Ouch, just a couple, huh?!?
No, I don't have anything specific. However... http://www.wotsit.org/
At least that can help you identify the file type, maybe it'll be of
some help.
Dakota Jack wrote:
As an aside, in the download application I am building, I need a map
from the extensions fo a file
Are you using HTTP BASIC authentication? If you get a login dialog box,
as opposed to a login web page, you are probably using HTTP BASIC
authentication. If so, the browser remembers the login and automatically
sends it to the app with each request, which will log the user in again
if they revisit
As an aside, in the download application I am building, I need a map
from the extensions fo a file to the mime type. I have 1020
extensions and have not been able to find such a list. Got any ideas?
Jack
On Mon, 07 Mar 2005 19:59:50 -0500, Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> Ah, ok.
Ah, ok. That makes all the difference then. There still may be
problems due to the timing of the session replication, but I would think
that would cause all sorts of problems aside from what your doing, so I
doubt it's a problem. I think your golden with it this way :)
--
Frank W. Zammetti
F
On Mon, 07 Mar 2005 19:40:27 -0500, Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> Am I correct in my understanding that the monitor that you pull out of
> session during the subsequent status check requests use the reference to
> the stream object that it holds to check on the status?
No that
Hehe, I didn't know Ben was looking at introduction stuff on your site.
In light of that, I say ignore everything EXCEPT what Rick posted here
:) KISS, until you know you need something more.
I do think it spawned a very worth-wild exchange though, so good job
Ben! :) Who knows... if what I pu
Fair enough. To be perfectly honest, I only begun working in such an
environment last year. Most of the time things went off without a
hitch, transparent to the app, but every now and again you really get burnt.
Case in point: I just migrated an app that was on a single server to the
clustere
Dakota Jack wrote the following on 3/7/2005 5:16 PM:
I am not sure what you mean by "page-centric", Rick. But, I don't
think you can use Struts in a "page-centric" way if you mean the way
Shale or JSF operate.
Sorry, I didn't mean by the way Shale or JSF operates (haven't even
looked at Shale y
Sure, we segue a lot... usually right into an ARGUMENT :)
We never argue, huh? New to the list are we Rick?!? :)
Dakota Jack wrote:
We seque more than argue.
On Mon, 07 Mar 2005 18:40:45 -0500, Rick Reumann <[EMAIL PROTECTED]> wrote:
Frank W. Zammetti wrote the following on 3/7/2005 6:37 PM:
Sad a
This approach is also useful for other logged in redirection type things on
login, such as checking to see a logged in user has agreed to the latest
Terms of Service.
> -Original Message-
> From: Günther Wieser [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 07, 2005 7:04 PM
> To: 'Struts
This approach is also useful for other logged in redirection type things on
login, such as checking to see a logged in user has agreed to the latest
Terms of Service.
> -Original Message-
> From: Günther Wieser [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 07, 2005 7:04 PM
> To: 'Struts
i prefer to write my own RequestProcessor which does all the checking and
handling in case of "user not logged in".
and even more preferable is to implement J2EE security which was suprisingly
simple (at least for Resin).
i wrote an example for the request processor stuff a few days ago here in
th
This is not my area, Frank, so I am running a bit on the "what things
must be like" gas here. A cluster that does not allow you to have
objects that can be updated in session would not be of much use. That
is why, after all, you put objects in session. And, the fact that
this is a file upload sh
> I am married with two kids and a full-time job. That should tell you
> pretty clearly that I need and take ANY time I can away from those
> things. Sad as it sounds, arguing with Jack and otherwise interacting
> with you folks is a nice diversion from life :)
I second that motion. I'm marr
What is really funny, Rick, is that you would not believe how many
business hits I get from this list. Go figure?
Jack
On Mon, 07 Mar 2005 18:15:27 -0500, Rick Reumann <[EMAIL PROTECTED]> wrote:
> I enjoy your posts but don't see how you have time to type so much:) You
> must be either
>
> A)
We seque more than argue.
On Mon, 07 Mar 2005 18:40:45 -0500, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Frank W. Zammetti wrote the following on 3/7/2005 6:37 PM:
> > Sad as it sounds, arguing with Jack and otherwise interacting
> > with you folks is a nice diversion from life :)
>
> You mean "d
Frank W. Zammetti wrote the following on 3/7/2005 6:37 PM:
Sad as it sounds, arguing with Jack and otherwise interacting
with you folks is a nice diversion from life :)
You mean "discussing" of course. We never argue here:)
--
Rick
--
Just for that Rick I am going to ram a sausage down your throat and sic
starving dogs up your butt! :)
I am married with two kids and a full-time job. That should tell you
pretty clearly that I need and take ANY time I can away from those
things. Sad as it sounds, arguing with Jack and otherw
Dakota Jack wrote the following on 3/7/2005 6:18 PM:
I am your secretary. ///;-) Actually, I have a significant other who
adores me. Frank made a good joke about that one day. I am very
currently employed as well, with my own company. I develop web
applications.
Frank was second in the running
I am your secretary. ///;-) Actually, I have a significant other who
adores me. Frank made a good joke about that one day. I am very
currently employed as well, with my own company. I develop web
applications.
Jack
On Mon, 07 Mar 2005 18:15:27 -0500, Rick Reumann <[EMAIL PROTECTED]> wrote:
I enjoy your posts but don't see how you have time to type so much:) You
must be either
A) Without spouse/significant other
B) Currently unemployed.
(All in good fun of course:)
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Sounds about right :) And like I said before, probably some of my
debate comes from not fully understanding what your doing.
But, here's where I have some concern... The upload begins and an
UploadOutputStream starts it's thing. A Monitor is created, and holds a
reference to the stream? (or i
Glad your on board :) I am going to work on it tonight, with a little
luck I can get at least a first iteration done and post in Bugzilla
tomorrow. Then we'll see if it passes muster for real :)
I know what you mean about keeping up with posts... I feel like I'm
constantly missing things :)
On Mon, 7 Mar 2005 16:07:34 -0500 (EST), Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> On Mon, March 7, 2005 2:23 pm, Rick Reumann said:
> > I started reading a bunch of these threads in reply to the above and I
> > do think that I'm seeing a trend of over-complification here (yea, made
> > up wo
If this attribute is set to true, the rendered property value will be
filtered for characters that are sensitive in HTML, and any such characters
will be replaced by their entity equivalents.
http://struts.apache.org/userGuide/struts-bean.html#write
& -> & for example.
> -Ursprüngliche Nach
If this attribute is set to true, the rendered property value will be
filtered for characters that are sensitive in HTML, and any such characters
will be replaced by their entity equivalents.
http://struts.apache.org/userGuide/struts-bean.html#write
& -> & for example.
> -Ursprüngliche Nach
The bottom line, Frank, is that the monitor is monitoring another
class that is running and reading the upload, viz. UploadOutputStream.
I don't know what your setup is, but presumably however you persist
the data, this link between the monitor, which is referenced in the
output stream wrapper its
Hi Karan.
Karan wrote:
I don't have an answer to your problem, but I do have a question:
The user of your webapp can customize extendedCssStyle for his/her own
layout settings.
But a different user can modify it again for different settings.
How do you maintain the different layouts for different
I have a question after reading this question.
What exactly does the filter=" do?
-Eric
>>> [EMAIL PROTECTED] 03/07/05 1:30 PM >>>
Hi,
I wanted to display label using . But I
need to filter(or allow) selected HTML tag. For example I have to
allow
tag but I have to filter alert("hi");
like th
Graig will blame for not using Filters (they would do the job too), but I'd
say "yes":
Create a "BaseAction", all your actions are extending from, with:
public ActionForward execute(
ActionMapping mapping,
ActionForm bean,
HttpServletRequest
Graig will blame for not using Filters (they would do the job too), but I'd
say "yes":
Create a "BaseAction", all your actions are extending from, with:
public ActionForward execute(
ActionMapping mapping,
ActionForm bean,
HttpServletRequest
I have written a very simple shopcart application using Struts and
Hibernate. I looked quite a bit for a decent tutorial and example but
found nothing, so I put this together. For anyone else wondering how
to integrate Hibernate and Struts, here is an example:
http://www.simplecart.org
The source
With all due respect, Bill, I don't think this is quibbling. The
actual use of these patterns has far-reaching consequences and this
"loose" way of talking about them IMHO is not helpful. For example,
if the RequestProcessor were a template, it would have *had* to have
been plugged into the frame
I think that you shouldn't just check for the existence of a Session,
you should check for a "user" Session attribute that you have set in
your own code. If you are invalidating the Session and this attribute
still exists afterward, I'd suggest something has gone awry . . .
And yes, I do it in
Frank W. Zammetti wrote the following on 3/7/2005 4:07 PM:
No argument here! Hence the reason I didn't want to add a new config file
at all... my solution centers on the idea of adding one new element to an
Action mapping, (although, as I wrote that just now, I think
maybe makes more sense... pe
Joe Germuska wrote:
I have no idea why Craig would say that the RequestProcessor is
somehow related to the Template Method pattern. It just isn't.
Are you talking about org.apache.struts.action.RequestProcessor? Even
if its not a shining textbook example of "Template", it most certainly
is rela
hi all
have a logoff action, and inside it I do the following.
// Clean up the session if there is one
HttpSession session = request.getSession();
session.invalidate();
When I watch what's happening in the manager application (I'm using
Tomcat) the number of sessions does not decrease, and I ca
I didnt know it was simple date format. I didnt read the stack trace, like a
moron. It tells ya right there. SimpleDateFormat.compile error.. So yeah, I
got it now. Thanks everyone.
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 4:39 PM
To:
Actually, if you are using "mm/dd/", I could be wrong. Are you sure
you aren't using MM/dd/? SimpleDateFormat uses M for month and m for
minute, so now I'm beginning to wonder if bean:write actually does use
SimpleDateFormat . . .
Erik
Erik Weber wrote:
Refer to the API documentation fo
Refer to the API documentation for java.text.SimpleDateFormat.
Erik
Brian McGovern wrote:
Hi.
I'm having some problems finding documentation on how to format a java.util.Date object in my presentation layer.
I have and it works fine. But I want output like this "Monday, January 1st 2005".
Hi.
I'm having some problems finding documentation on how to format a
java.util.Date object in my presentation layer.
I have
and it works fine. But I want output like this "Monday, January 1st 2005".
Can anyone help me out with this. I know its a lame question, just drawing a
blank
-T
On Mon, March 7, 2005 3:55 pm, Dakota Jack said:
> The point is unavoidable, however, that whatever is persisted is
> persisted on a file system somewhere.
No argument. But, when you do an an update to a database, there is a
layer of abstraction (at least!) between your code and the file system,
On Mon, March 7, 2005 2:23 pm, Rick Reumann said:
> I started reading a bunch of these threads in reply to the above and I
> do think that I'm seeing a trend of over-complification here (yea, made
> up word:). I do like the concept that JSF takes, but from some of the
> posts I've read, some are co
On Mon, March 7, 2005 2:23 pm, Rick Reumann said:
> I started reading a bunch of these threads in reply to the above and I
> do think that I'm seeing a trend of over-complification here (yea, made
> up word:). I do like the concept that JSF takes, but from some of the
> posts I've read, some are co
C'mon man, for all intesive purposes its a Template -- it defines an
algorithm that subclasses can override. As far as a way to specific
alternative implementations -- there is, the element. But
to me this whole conversation is moot. IMO, chain alleviates theses
issues ... if you don't like ho
The point is unavoidable, however, that whatever is persisted is
persisted on a file system somewhere. The only difference between
modern databases and the old ones is that they have multiple files
which are related through some cool logic. Writing to a database is
writing to a file system, right
I think a simple approach is using tiles Controllers. They're WAY
simple. Having said that I might be over SIMPLIFIYING the problem
http://www.theserverside.com/articles/article.tss?l=Tiles101
On Mon, 07 Mar 2005 14:23:07 -0500, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Ben Taylor wrote the foll
I can say for sure that within our environment here, which is Websphere
5.0.1 on Linux, a cluster of about 20 machines (and a number of clusters,
but the clusters themselves are independant so it's not relevant here),
each request that comes in can be serviced by any of the 20 machines in
the clust
> Actually, Leon, I think it is really relevant and important
> to struts uploading. The point I was trying to make,
> however, and I think you will agree, is that there has to be
> somewhere you put the files if you allow uploading and there
> has to be some output stream doing it. That m
> Actually, Leon, I think it is really relevant and important
> to struts uploading. The point I was trying to make,
> however, and I think you will agree, is that there has to be
> somewhere you put the files if you allow uploading and there
> has to be some output stream doing it. That m
Actually, Leon, I think it is really relevant and important to struts
uploading. The point I was trying to make, however, and I think you
will agree, is that there has to be somewhere you put the files if you
allow uploading and there has to be some output stream doing it. That
means you can moni
Hi,
I wanted to display label using . But I
need to filter(or allow) selected HTML tag. For example I have to allow
tag but I have to filter alert("hi");
like that.. Can we do this selective filtering using any tag libraries,,
otherwise I have to extend existing tag libraries..Please help me o
Rod Johnson (author of Spring and one of the clearest thinkers I have
ever read IMHO) has a good discussion of the options in J2EE
Development without EJB in Chapter 13: Web Tier Design.
Jack
On Mon, 7 Mar 2005 14:19:47 -0600, Justin Morgan <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I am curren
That depends. Ok, if you distribute the session, well, then you probably
don't need a clustered environment,
but a doctor :-) I mean, one of the goals of the clustering is performance,
and write something in the
database on _each_ request is the best performance killer :-)
If performance is not
That depends. Ok, if you distribute the session, well, then you probably
don't need a clustered environment,
but a doctor :-) I mean, one of the goals of the clustering is performance,
and write something in the
database on _each_ request is the best performance killer :-)
If performance is not
Yes. I am talking about uploading NOW, but the ORIGINAL question was
about downloading. Right? What is OP? Then Leon raised the
interesting upload issue. I am finished with the upload application,
however and am in the download part now. You are not missing the
point. We have switched back a
Hi there,
I am currently researching different web application frameworks... JSF,
Struts, and Tapestry specifically. We are planning to migrate a large
existing web application to a rigorous model 2 standard using one or
more of these frameworks, and I am looking for more information on the
diffe
See within:
On Mon, 7 Mar 2005 15:06:08 -0500 (EST), Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> That's kinda cool, but I have a question... How would such a thing work in
> a clustered environment?
See within:
> I presume a browser starts an upload and you simultaneously open a new
> win
Hi
I have a dropdownlist of tables, I have to display a dropdownlist of columns of
that table depending on the table selected.
And I have to add a row when clicked on add row button.
This row consists of dropdownlist of tables, dropdownlist of columns(this
dropdownlist has to chnage depending o
Is that the way it works in your environment Leon? Its not the way it
works here :) Or any other clustered environment I've ever worked in.
I mean, the express purpose of a clustered environment is to distribute
load. If a user hits one server for one request, but then upon making the
second re
Thank you, James. Your solution works, and was easiest to implement. I
really appreciate everyone's attention to my little problem. Hope I can
return the favor sometime.
Hyrum
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 05, 2005 9:57 PM
To:
Thank you, James. Your solution works, and was easiest to implement. I
really appreciate everyone's attention to my little problem. Hope I can
return the favor sometime.
Hyrum
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 05, 2005 9:57 PM
To:
> Assuming so... in a clustered environment, first of all,
> writing to the file system is generally discouraged practice
> (although it can be done safely, so let's ignore what might
> be best practice for the moment)... but if you do so, since
> the upload may start on one server and then the
> Assuming so... in a clustered environment, first of all,
> writing to the file system is generally discouraged practice
> (although it can be done safely, so let's ignore what might
> be best practice for the moment)... but if you do so, since
> the upload may start on one server and then the
I'm confused... Maybe I misread the OP, but he's talking about uploading,
right? That's the part I don't see how you could do. I would agree that
this is possible when downloading a file (although still a bit tricky I
would think, but possible none the less). I'm probably just all messed up
here
Just as an additional note, the threshold in the commons fileupload
determines when things are written to file, etc. rather than to memory
and can be used for various efficiencies.
Jack
On Mon, 7 Mar 2005 12:05:49 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> Yes, it does, sort of. Check Thre
That's kinda cool, but I have a question... How would such a thing work in
a clustered environment?
I may not understand some things about your solution, so feel free to
correct me on any points I get wrong, but...
I presume a browser starts an upload and you simultaneously open a new
window that
Yes, it does, sort of. Check ThresholdingOutputStream and
DeferredFileOutputStream. My UploadOutputStream overrides the
write(byte data[], int i, int j) method to monitor the upload. Once
you have the hook of the monitor variable in the upload process, you
can do whatever you like during the re
Don't know about the input stream part too much, Frank, but as you are
writing to an output stream, which is the upload application part, you
can certainly monitor percentages. I do it as indicated in posts on
this thread.
Jack
On Mon, 7 Mar 2005 14:03:23 -0500 (EST), Frank W. Zammetti
<[EMAIL
Remember that this is all a stream and there has to be a way to say
STOP! So, if you really want to solve this problem in spades, it
clearly is possible. I am satisfied to make sure that the reading of
the request object is not utilized to write to output streams at
certain levels. If you want t
Yes, this is possible and an interface for doing that is given my my
presentation on the wiki. If you look at the classes and where
(Monitor)iter.next() occurs in the UploadFileItem class, etc. you will
see how to implement such monitors generally. If you are interested,
the implementation I use
This is true with a proviso.
While the stream has to be sent before it can be assessed generally,
which is not great, you can do a lot on the server side to manage
resources efficiently.
You can monitor the upload taking place, and, if you don't like the
size, reject it whenever you like. You
I'd be willing to bet Commons does the same thing, but I don't know for
sure. Anyone reading this able to illuminate us?
Yeah, I know what you mean... lousy kids these days, busting up all my
code! :) (We'll ignore that my code probably should have been more
robust!)
Unfortunately I used to BE o
Ben Taylor wrote the following on 3/5/2005 3:03 AM:
Hi,
Can anyone tell me if there is an easy way to put information
(required to populate drop down boxes using data from a db) in to the
request, without having to write a setup Action for each page as is
done here: http://www.reumann.net/struts/le
I used (sometimes still using) o'reillys file upload utility
(com.oreilly.servlet.MultipartRequest).
You can tell the MultipartRequest how much data you actually want to have.
The problem is, that
It uploads all_the_data (at least done in earlier versions) and determines
then, that the file was too
I used (sometimes still using) o'reillys file upload utility
(com.oreilly.servlet.MultipartRequest).
You can tell the MultipartRequest how much data you actually want to have.
The problem is, that
It uploads all_the_data (at least done in earlier versions) and determines
then, that the file was too
FYI, Commons Fileupload DOES have a max feature. Not sure what happens
when the max is reached, but its there.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Mon, March 7, 2005 1:50 pm, Leon Rosenberg said:
>>
>> HTML/HTTP doesn't suppor
Yep, just not possible to know the size before-hand, as Tim already said
(and you knew :)).
Even the status monitor you were talking about wouldn't really be
possible. Well, not if the intention is to give a REAL status (i.e.,
percentage complete), for obvious reasons: if you don't know the total
dear folks,
I know that I can insert an attribute into a jsp page
by using tiles:insert and tiles put as the following:
but what if I want to get the value of this attribute
from one of its sub jsp pages(eg. nav.jsp)
I have tried using to import all the tiles attrib
>
> HTML/HTTP doesn't support that, IMHO. The type="file"...> tag just grabs the file and starts sending
> it. The server has no clue how large the file is until the
> entire thing arrives.
That is what I know too. And this is ugly.
IMHO it's a fat security hole, since it's really easy for a
>
> HTML/HTTP doesn't support that, IMHO. The type="file"...> tag just grabs the file and starts sending
> it. The server has no clue how large the file is until the
> entire thing arrives.
That is what I know too. And this is ugly.
IMHO it's a fat security hole, since it's really easy for a
Looking for a list of providers that can host a struts web application,
with access to
a MySQL DB.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> <2cents>
> I would highly appreciate if an "upload" could determine the
> size of the file before actually uploading it and reject the
> file if it's larger then the given limit, to reduce traffic.
HTML/HTTP doesn't support that, IMHO. The tag just
grabs the file and starts sending it. The se
1 - 100 of 130 matches
Mail list logo