This is an interesting problem.
Most people find out about the 're-populating the form from the request'
issue as a result of action chaining, but this may not be the case for you.
Even if it is, this solution should solve it for both cases.
At some point in your action (or last action if
We have a Map-class, with a getString method:
public String getString( String id )
{
return (String) get( id );
} // getString
and this JSP code:
bean:write name=res property=string(fnummer)/
This has worked fine (april 20002), but not in the
Hi,
I'v got a link that uses dynamic and static parameters at the same time.
html:link page=/Action.do?sort=id paramName=myForm
paramId=mySelection paramProperty=mySelectionID/html:link
Now I need more then one dynamic parameter. How can I add it ?
Do I just need to repeat paramName=myForm
Hello,
Could someone point out the process in Struts in which a Form is poulated form the
model before being viewed.
Most of the examples for Struts assume the Form is origianlly populated from the view.
I looking for the **reverse solution**. The sort of workflow for editing data ?
Best
Hi,
I think it should be possible to do what you want with Tiles. Your
pageId will be tiles definition names (logical names).
Cedric
Mark Ayad wrote:
Hi All
I would like to identify and track every major view (using a pageID) that a client a.k.a browser could request (composite
Hi,
Each frame has a different URL, and end with a different request on
the server. There is no relationship among frame urls on the server
side. This results in different request contexts.
Cedric
Amit Badheka wrote:
is there Anybody who has used frames within struts application?
Cedric, Thanks
I have your book - but haven't got to your chapter on tiles yet. The book is
very well written.
I'll let you know when I reach that point, and if what you say can help me.
All the best
Mark
- Original Message -
From: Cedric Dumoulin [EMAIL PROTECTED]
To: Struts Users
Hi,
The nightly build work for me on tomcat4.1.12. But, I don't use
enablePooling=true . Does the problem come when you enable pooling ?
Does it disappear when you turn pooling off ?
Cedric
Hue Holleran wrote:
It was the 21/10/2002 nightly build that we used.
Hue.
-Original
Hi,
Do you have specify the Tiles plugin in your struts-config (struts1.1)
or the appropriate ComponentActionServlet (Struts1.0.x) ?
More answers intermixed.
Cedric
Roland Carlsson wrote:
Hi again!
I think I have got some progress in the subject. I found the
Hi,
how can I get tiles-def.xml reload after I changed tiles-def.xml and don't
want to restart tomcat?
Zsolt
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Try restarting the webapp using the manager servlet (if using tomcat).
Should be something like this:
localhost:8080/manager/reload?path=/webapcontextname
Look at the doc for the details or search the archives of this ml.
HTH,
umberto
On Mon, 2002-11-04 at 17:07, Zsolt Koppany wrote:
Hi,
If you reload the application only (using Tomcat Webapp Manager) I think you
won't have to restart the server but just reolad the app.
However can I reload it without even restarting/reloading the Application?
I would also like to know how can we reload struts-config.xml without
restarting the
Marcus,
Depending on which version of Struts you're using, check out:
http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#link
or
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
Specifically, note that you can provide a Map that contains all of the request
parameters
The preferred way is to reload the webapps with the help of the
webserver admin facilities.
Tiles have an action performing the reload of the Tiles factory This
action was intended to be used during development, but as now webserver
propose a reload, this action will be deprecated.
Type the corresponding url in a browser:
.../tiles-documentation/admin/tiles/reload.do
.../tiles-documentation/admin/tiles/view.do
Cedric
Rainer Mueller wrote:
Good question!
Can anyone explain how to use the actions
action path=/admin/tiles/reload
Karr, David wrote:
Just thinking out loud, for future's sake, but would it be useful if the
input tags could optionally take their value from the body content? If
value was set, it would use that, but if not set, it would use the body
content. That would allow something like this:
html:text
Hi all,
I'm trying to migrate my struts 1.0 application to struts 1.1.
I'm also using struts menu extention.
For this extention initialisation, I have to subclass ActionServlet in order to
redefine init() method.
So, i've done it and declare my new servlet in web.xml in place of ActionServlet.
Hello,
I'm using the reset methodin a class which
inherits from ActionForm to initialize my form from database.
This method canfail and generate an error that
I want to display using ActionErrors.
How can I do this ?
Thanks for your help.
Sylvie.
You can do it as you did it in the validate method. For exemple :
ActionErrors errors = new ActionErrors();
if( dateFrom!=null
!dateFrom.trim().equals()
!isValideDate(dateFrom)
)
errors.add(Constants.FROM_FIELD_ERROR, new
ActionError(error.dateformat));
if( dateTo!=null
I'm trying to incorporate Struts into an existing ear after having
successfully deployed Struts wars. On attempting to invoke an action url I
get:
2002-11-04 01:03:52,446 WARN [org.jboss.jbossweb] WARNING: action: Error
creating Action instance for path '/getReview', class name
Hello,
The problem is that the reset method doesn't return ActionErrors.
Sylvie.
-Message d'origine-
De : Arnaud HERITIER [mailto:aheritier;sopragroup.com]
Envoyé : lundi 4 novembre 2002 14:11
À : 'Struts Users Mailing List'
Objet : RE: How to display an error from reset method
I had the same problem with weblogic, it was because I had the Action
and ActionForms inside the war file and inside a jar file as well.
Maybe you are doing the same thing?
The Actions and ActionForms have to be in only one deployable unit (jar,
war).
-Gus
Richard Doust wrote:
I'm trying to
This may be a classloader issue similar to ones I've seen with Weblogic. I
don't remember having to do this with with JBoss, but the ideas may help.
To get this to work in an 'ear' file with weblogic, you need to additional
steps that aren't required with war files. They are:
- in the
You can had manually errors in the request :
request.setAttribute(ERROR_KEY,errors);
I think it should work.
Arnaud
-Message d'origine-
De : PALLUEL Sylvie [mailto:sylvie.palluel;cnamts.fr]
Envoyé : lundi 4 novembre 2002 14:28
À : 'Struts Users Mailing List'; [EMAIL PROTECTED]
Ooops this is :
request.setAttribute(Action.ERROR_KEY,errors);
because your in an actionForm.
Arnaud
-Message d'origine-
De : PALLUEL Sylvie [mailto:sylvie.palluel;cnamts.fr]
Envoyé : lundi 4 novembre 2002 14:28
À : 'Struts Users Mailing List'; [EMAIL PROTECTED]
Objet : RE : How
Of course I already had a look at this page,
but I need several dynamic parameters, and about that nothing is told.
About the map:
I don't know how to exactly use it, plus I doubt I could use it, as the
parameters I need are in different forms.
marcus
[EMAIL PROTECTED] schrieb:
Marcus,
In a page with Javascript validation, I use the html:cancel tag.
When I click on the Cancel button, the Javascript form validation function
is called and an error message is displayed if I didn't enter valid
information for the different fields of the form. So the cancellation is
not taken
Did you verify that the reset method is called ???
I think that this method is not called the first time you access to the
form.
Arnaud
-Message d'origine-
De : PALLUEL Sylvie [mailto:sylvie.palluel;cnamts.fr]
Envoyé : lundi 4 novembre 2002 15:10
À : 'Struts Users Mailing List';
Maybe I'm missing the intent of what you're trying to do, but the entire point
of the Map is to contain several dynamic parameters. The html:link tag uses
each Map key as the name of a request parameter and the associated Map value as
the String or String array parameter value(s). I can't think
The reset method is called, and an error occurs during it. But Struts
doesn't seem to be aware of this error.
Sylvie.
-Message d'origine-
De : Arnaud HERITIER [mailto:aheritier;sopragroup.com]
Envoyé : lundi 4 novembre 2002 15:21
À : 'Struts Users Mailing List'
Objet : RE: RE : RE :
Assuming that you are using de Struts validator, you can try this:
html:cancel onclick=bCancel=true;.../html:cancel
This will turn off the form validation and in your action you can
check with isCacelled(HttpServletResquest). The bCancel variable is
created by the validator's javascript and it
You need to use the Map feature to include more than one parameter. I
suggest using the JSTL's c:url tag instead. That tag is standard and
handles multiple parameters much better than html:link
David
From: Marcus Biel [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL
You *should* be able to use the Map approach. Simply build a map whose keys are the
expected parameter names and the corresponding values are the data you wish to send.
For example:
html:link forward=foo property=paramsClick Me!/html:link
In your form bean, the getter getParams() returns a
What JDBC driver lets you stream data over, before the resultset/rowset
has finished retreving? Or is the data fast, just the rendering is slow?
Oh no... We only start spitting the data out once it is all available. That
takes between three and four seconds, and is a known and accepted lag.
I
Holy cow! Yes, you gave enough details..
Looking at JSPs a few things jump out:
* You aren't using any of the nested tags. To take advantage of the nested
extension, you have to use the nested:xyz equivalent of the usual tags. So, instead
of html:form you should use nested:form, instead of
Oops! My second bullet should begin as:
* Even though 64_eng_del.jsp is an included file, it ends with a /body/html. You
probably want to leave that for the *includer* -- your top-level JSP
-Original Message-
From: Sri Sankaran
Sent: Monday, November 04, 2002 10:12 AM
To: Struts
Just a note that html:link provides some Struts-specific features that may
make you think twice before converting to JSTL's c:url:
Ability to specify a global ActionForward.
Transactional control token support.
Works with a JSP 1.1 container (okay, so that's not Struts-specific).
I'm also
Hello...everyone
Does anyone know how to configure datasource externally like using a class?
In Struts, I use struts-config.xml file to configure datasource.
However, how do I configure datasource from a class and make it available
when web application start.
Thanks in advance...
--
To
Yes, the ability to specify an ActionForward is nice but not enough to make
me use html:link. The c:param tags are better than using a map because
you don't have to write scriptlet code to initialize the map (you could
init. the map in other places but it's still a pain). It's more efficient
You can create a DataSource in a plugin or the ActionServlet and store it in
the ServletContext for later retrieval.
David
From: Kwon Yu [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: How to configure Datasource externally
Date: Mon,
Hello,
This is my code in an Action Class, I don't receive the upload file. The fileItems
element is null.
How can I do to upload a file?
Thanks in advance
public ActionForward execute(ActionMapping mapping,
ActionForm form,
Thanks for your response...
But do you have any example for this case ?
On 11/4/02 9:33 AM, David Graham [EMAIL PROTECTED] wrote:
You can create a DataSource in a plugin or the ActionServlet and store it in
the ServletContext for later retrieval.
David
From: Kwon Yu [EMAIL
You can look at the Struts source to see how it does it.
David
From: Kwon Yu [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: How to configure Datasource externally
Date: Mon, 04 Nov 2002 09:38:58 -0600
are you using multipart in your form declaration on the jsp page?
-Original Message-
From: Yann Verlynde [mailto:yverlynde;oxade.com]
Sent: Monday, November 04, 2002 10:41 AM
To: Struts
Subject: Problem with FileUpload
Hello,
This is my code in an Action Class, I don't receive the
Yes,
This is my form declaration:
html:form action=upload.do enctype=multipart/form-data
Yann
- Original Message -
From: Sukhenko, Mikhail (Contr) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, November 04, 2002 4:45 PM
Subject: RE: Problem with
I'm trying to use the saveToken function but is not working here is what
I have: a parameter called action
if(save.equals(request.getParameter(action)))
{
if(!isTokenValid(request)){
System.out.println(our of transaction order);
resetToken(request);
}
If I understood your question properly, you might want to look at my post
from several months ago.
http://www.mail-archive.com/struts-user;jakarta.apache.org/msg43480.html
-Original Message-
From: Mark Ayad [mailto:mark;javamark.com]
Sent: Monday, November 04, 2002 3:04 AM
To: [EMAIL
Why must you redefine init? Are you aware of the plugin architechture
in 1.1, and why does it not fit your needs?
The error looks like you made a boo-boo in your config file. It's not
syntactically valid. That's my first impression. I've never seen the
security thingies in the trace -
Does anyone know if we should replace the Commons-Validator that came with
Struts 1.1 B2 with the version that was officially released on the Jakarta
site this past Friday (11/1/02)? Are these two versions identical, or are
there some fixes in Commons-Validator 1.0 that we should upgrade to
John,
I have solved this using an EditForm Action with it execute method as
follows:
EditForm editForm = (EditForm)form;
editForm.setTitle(title value);
editForm.setDetails(detail value);
return mapping.findForward(success);
Thus essentially building the formBean before the form is created
1.1b2 was released before validator 1.0 so you can probably upgrade the jar
file. I'm not sure what version came in beta 2 but it's not 1.0 final.
David
From: Hohlen, John [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts-Help (E-mail) [EMAIL PROTECTED]
Hi,
I am getting a really strange behaviour when using the struts validator.
Infact I am beginning to wonder whether it´s just me going nuts! It´s
an error that makes no sense to me at all!
Here´s the scenario:
1. Start tomcat
2. open browser
3. go to form in html page
4. send
Now the strange
I have an Action form that contains alongside all the other form fields:
private int targetPage = APPLICATION_PAGE;
public void setTargetPage( int targetPage )
{ this.targetPage = targetPage; }
public void setTargetPage( String targetPage )
{ this.targetPage =
Phil,
No, but I'll look into it (I've never used JMeter before - If for no other
reason, I'm curious about the tool). Thanks for the suggestion.
Cheers...
Dave
-Original Message-
From: Phil Steitz [mailto:phil;steitz.com]
Sent: Saturday, November 02, 2002 10:35 AM
To: Struts Users
Remove:
public void setTargetPage( int targetPage )
{ this.targetPage = targetPage; }
...and it will work fine.
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
Only two things are infinite, the universe and human stupidity, and I'm not
sure about the
Actually, by the time your action runs, the form bean is already created by
Struts. It will be stored in request or session scope depending on what
you've specified in your Struts config file. In this example, you're
pre-populating the form with data. In a true application, your action would
... and for dynamic forms, what then ?
Mark
- Original Message -
From: Hohlen, John [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, November 04, 2002 5:59 PM
Subject: RE: Populating a Form from the Model before view
Actually, by
On Sat, 2 Nov 2002, Max Kremer wrote:
Date: Sat, 2 Nov 2002 13:57:36 -0500
From: Max Kremer [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: [OT] static vs. application scope
In my application I use the
On Mon, 4 Nov 2002, Mark Ayad wrote:
Date: Mon, 4 Nov 2002 10:03:48 +0100
From: Mark Ayad [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Populating a Form from the Model before view
Hello,
Could someone point out the process in
Can a struts app work with sessions disabled on the application server? If
so, what do I need to change? Finally, why does struts use sessions (it's
not obvious to me what struts does that is beyond the scope of a request)?
Background:
I'm building a struts application that cannot depend on
On Mon, 4 Nov 2002, Hohlen, John wrote:
Date: Mon, 4 Nov 2002 10:29:31 -0600
From: Hohlen, John [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts-Help (E-mail) [EMAIL PROTECTED]
Subject: Question: Upgrade to Commons Validator 1.0 Release?
Does anyone know
On Mon, 4 Nov 2002, Brad Harding wrote:
Date: Mon, 04 Nov 2002 09:17:10 -0800
From: Brad Harding [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: can struts work with sessions disabled?
Can a struts app work with sessions disabled on
As promised, I am posting the steps I took to get Struts 1.1b2 working in
JRUN 3.1. I only got the example application working, I did not bother to
get the other web apps bundled with Struts 1.1b2 working. So I can't
guarantee that I found EVERY problem in getting Struts 1.1b2 working in JRUN
Thanks! If I ever run into a client that demands using JRun, this will come
in handy. :)
- Original Message -
From: Haseltine, Celeste [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, November 04, 2002 11:20 AM
Subject: Steps to Get JRUN 3.1 and Struts
Of course, you can always combine approaches:
jsp:useBean id=paramMap class=java.util.HashMap/
c:set target=${paramMap} property=p1 value=v1/
c:set target=${paramMap} property=p2 value=v2/
html:link forward=foo name=paramMap/
But in reality, I'd be more likely to create and populate the Map in
Your JSP looks ok. The fact that the data is displaying correctly in the first place
suggests that the various elements in struts-config are ok as well.
That brings us to what happens when the page is submitted. You *should* (as a test)
be able to set up an action that does nothing and just
Hi,
I would like to assign additional parameters to a menu item defined by tiles
item... and I get a parsing error.
My definition looks like:
definition name=cb.project.toolbar path=/templates/tabsLayout.jsp
putList name=tabList
item
id=summary
On Monday, November 4, 2002, 1:43:35 PM, Sri wrote:
SS That brings us to what happens when the page is submitted. You
SS *should* (as a test) be able to set up an action that does nothing
SS and just forwards back to the same location.
What is odd is something goes wrong during the process
Rick:
I think the problem is in how you are initializing your objects. In particular the
problem is where you call the setCarList() method. Both Persons are getting a
reference to the same list. In other words you have only one car list in memory. So,
when you modify it, you are
On Monday, November 4, 2002, 2:33:26 PM, Sri wrote:
SS Rick: I think the problem is in how you are initializing your
SS objects. In particular the problem is where you call the
SS setCarList() method. Both Persons are getting a reference to the
SS same list. In other words you have only one
Using html:link and java.util.Map, how do I specify more than one
parameter? I looked at the user's guide and I'm still unclear on how to do
this.
Thanks in advance,
Cindy Horn
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional
per an earlier post today:
You *should* be able to use the Map approach. Simply build a map whose keys
are the expected parameter names and the corresponding values are the data
you wish to send. For example:
html:link forward=foo property=paramsClick Me!/html:link
In your form bean, the
This was just battled at quite some length earlier today. Please see
http://marc.theaimsgroup.com/?l=struts-userm=103639896111848w=2.
Sri
-Original Message-
From: Cindy Horn at SF x4874 [mailto:CHorn;matson.com]
Sent: Monday, November 04, 2002 3:09 PM
To: Struts (E-mail)
Subject:
Without going into why would you want to set them to false I'd urge you to use your
action. This way, the logic isn't coupled with the bean but with the action that
presents it.
I would give serious thought into whether you actually need to do any such thing at
all.however, you know
Hi,
I'm using Struts1.1b to work on upload application.
Documents can be uploaded successfully to the File
system. But I can't view uploaded documents like xls,
power-point files properly.
Any body has similar problem?
Thax in advance!
Shunli
__
What do you mean by view?
David
From: Shunli Yang [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Upload problem
Date: Mon, 4 Nov 2002 12:17:37 -0800 (PST)
Hi,
I'm using Struts1.1b to work on upload
Thanks for your reply.
Once I click the url of this document, File is open
with some unreadble codes. Looks like IE can not open
the file with proper application. It's working under
Netscape.
--- David Graham [EMAIL PROTECTED] wrote:
What do you mean by view?
David
From: Shunli
In the past, I used programmatic security when designing my applications.
This allowed me to log attempted logins in the database and to populate the
HttpSession object with values specific to my application: login_id and the
user_id.
For my new projects, I would like to start using declarative
Uh, battled? I hope that's not how it came off, especially if I got my butt
kicked ;-).
Quoting Sri Sankaran [EMAIL PROTECTED]:
This was just battled at quite some length earlier today. Please see
http://marc.theaimsgroup.com/?l=struts-userm=103639896111848w=2.
Sri
-Original
To everyone that jumped in to help and provide suggestions: A big thank you!
The list, as always, is fantastic, and proved to be more responsive and
helpful than paid support. Kudos!
BTW, I performed some tests on Friday based on the feedback that I got, and
it looks like the problem was
Daniel,
Have you tried looking at the Query that you using. 1760 rows from a
database may some time to transfer and query up. You can sometimes shave
seconds from a query by just changing the order of the FROM clause and
WHERE
conditions.
The query runs in under a second, and the data is
On Monday, November 4, 2002, 3:16:31 PM, Sri wrote:
SS Without going into why would you want to set them to false I'd
SS urge you to use your action. This way, the logic isn't coupled
SS with the bean but with the action that presents it.
SS I would give serious thought into whether you
I am planning on using EJBs for my business tier in my application. If I
configure a datasource and create a connection pool using Struts, will this
pool be global? Will it be container managed or should I create my
connection pool independent of Struts and use it conjunction with the
framework.
So the issue could be either the upload or the download.
Have you tried to open them directly from the server? (assuming it has those
apps installed)
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
Only two things are infinite, the universe and human stupidity, and
Hello
I want to display an aggregated label in a combo box but don't know if it's
possible in struts. Here's the example:
Currently I have -
html:select property=ID size=12
html:options collection=userVector property=userID
labelProperty=lastName/
/html:select
which works fine. But I
Add a method to your bean that says getFullName() which concats the first name and
last name.
-Original Message-
From: Allison Sugar [mailto:allison.sugar;datastay.com]
Sent: Mon 11/4/2002 3:16 PM
To: [EMAIL PROTECTED]
Cc:
Subject:
I am generating a dropdown list using the following code:
form:select property=groupId onchange=submit();
logic:iterate id=tmpGroup name=userPrivilegesForm
property=groups type=com.serviceintelligence.cems.core.Group
html:option value=%=
Is there a way to extend the Resource Bundle to make the props files be xml?
html:select property=managerids size=4 multiple=true
html:options collection=managerList property=id
labelProperty=name /
/html:select
managerids is a String[] of ids that may contain many, one or none of the
id's contained in the managerList collection.
Kurt Madel
Yes, I can read the file from server and Netscape
browser. But Not IE??!!! Why??
--- James Mitchell [EMAIL PROTECTED] wrote:
So the issue could be either the upload or the
download.
Have you tried to open them directly from the
server? (assuming it has those
apps installed)
James Mitchell
-Original Message-
From: Greg Roll [mailto:groll;ServiceIntelligence.com]
Sent: Monday, November 04, 2002 1:26 PM
I am generating a dropdown list using the following code:
form:select property=groupId onchange=submit();
logic:iterate id=tmpGroup
If you use EJB's, the best approach is to allow the EJB container to manage
all your database connections and then access all data using Entiy Beans.
Here are some general rules of thumb I'd recommend:
- EJBs fit with Struts Model components. Generally, they should only be
called from the
Well, that would be due to the 'IE sucks' bug that was discovered shortly
after its initial release.
But seriously, it sounds like this is your browser settings. Is IE trying
to load the application and file within the browser? Or is it launching
separate?
James Mitchell
Software
Yes there is, I've had a hand at doing such a thing, but I am not finished
yet.
If you would like to take a look, I'll send you what I have so far. If you
would like to finish it, that would even better.
You might also want to look at Resources under the Commons project for more
details. Given
I would be greateful if you would let me take a look
at your implementation.
We've in the early stages but I'll send you what we
come up with.
I'll look at the commons as well.
-Original Message-
From: James Mitchell [mailto:jmitchtx;telocity.com]
Sent: Monday, November 04, 2002 3:48
IE is trying to open the file within the browser. I
can open doc (word) and txt files. Xls and ppt can be
loaded in IE with another web server(jrun) + Hunter
upload package.
Thanks for your help!
Shunli
--- James Mitchell [EMAIL PROTECTED] wrote:
Well, that would be due to the 'IE sucks' bug
Well, not sure how the others are handling it, but are you setting the
response content type correctly? I don't usually have problems generating
or downloading excel files that open within IE.
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
Only two things are
It is a very good idea to implement a facade or business delegate that
interfaces with a session bean when dealing with entity beans. This makes
your system very agile and independent of any view you should choose to use
(jsp,swing,console,et al). This delegate can then be used to feed the struts
James,
Do I need to set the response content type? I just
download the files directly through the url.
--- James Mitchell [EMAIL PROTECTED] wrote:
Well, not sure how the others are handling it, but
are you setting the
response content type correctly? I don't usually
have problems generating
If you are depending on the framework to stream the file, then yes. But
that does not appear to be what you are doing.
Other than searching the mail archives for your server/container, I'm all
out of suggestions.
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
1 - 100 of 136 matches
Mail list logo