Hi,
I am using Ed's display tag version 0.8. Did anyone succeeded to get
export function( export data to csv, excel, xml) to work with tiles?
In my case data is displayed directly in the browser, however
exporting works with provided example.
Thanks. Mark.
Andrew,
Read Chuck's chapter on EJB+Struts at
http://www.theserverside.com/resources/strutsreview.jsp
Mark.
-Original Message-
From: Andrew Lubalin [mailto:alubalin;csc.com]
Sent: Monday, November 04, 2002 4:09 PM
To: [EMAIL PROTECTED]
Subject: Connection Pool for EJBs
I am planning
Hi,
In struts 1.1 can I do the following?
//
---
struts-config.xml
!-- Points to default page --
action path=/home
To: [EMAIL PROTECTED]
Subject: Re: Can forward action point to tiles definition?
In the nightlies it can. This was added after beta 2.
David
From: Zeltser, Mark [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: Can forward
From: Zeltser, Mark [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Can forward action point to tiles definition?
Date: Fri, 1 Nov 2002 15:31:57 -0500
Thanks Dave,
It worked.
Should this one work as well
]
Sent: Friday, November 01, 2002 3:46 PM
To: [EMAIL PROTECTED]
Subject: RE: Can forward action point to tiles definition?
Does it work for you on 1.1b2? I just checked and it does work but I
haven't tried a nightly.
David
From: Zeltser, Mark [EMAIL PROTECTED]
Reply-To: Struts Users Mailing
?
It does not work with the html:link tag for obvious reasons. You can do
this in an Action though:
return mapping.findForward(default);
David
From: Zeltser, Mark [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject
I had the same problem. Try using poolman (I had to patch it since it was
running in endless loop whenever sybase server was rebooted)
-Original Message-
From: Ian Hunter [mailto:ihunter;hunterweb.net]
Sent: Wednesday, October 30, 2002 8:39 AM
To: Struts Users Mailing List
Subject: Re:
down? (struts 1.0
.2) (try poolman)
http://www.codestudio.com says it is no longer supported. I'll keep
looking, but if you have any suggestions...
- Original Message -
From: Zeltser, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, October
?
- Original Message -
From: Zeltser, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 11:26 AM
Subject: RE: Can I avoid bouncing app when database goes down? (struts
1.0
.2) (try poolman)
Ian,
You will need
down? (struts
1.0 .2) (try poolman) (use validationQuery)
Where did you find 2.1? 2.0.3 is current according to
http://www.codestudio.com/index.shtml
- Original Message -
From: Zeltser, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, October 30
Gene,
Close your java.sql objects in the reverse sequence of opening them.
Closing connection doesn't actually closes it but returns it to the pool.
E.g.:
try {
...
getConnection();
getStatement();
getResultSet();
...
}
catch {
...
}
finally
Davayte nachnem pisat po-russki
(Let's start to use russian)
Privet, should we change BEER to VODKA?
--
This message is intended only for the personal and confidential use of the designated
recipient(s) named above. If
This is not struts diagram...
--
This message is intended only for the personal and confidential use of the designated
recipient(s) named above. If you are not the intended recipient of this message you
are hereby
Jim,
1. don't use set-property, use the following format:
data-source
autoCommit=
description=
key=
driverClass=
maxCount=
minCount=
password=
url=
user=
/
2. look at your tomcat logs. You may get
Do not use set property tag. Assign each value directly (e.g. key=ds1)
Mark.
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 3:19 PM
To: Struts Users Mailing List
Subject: Re: Multiple Data Sources
Hi Regis,
I can't help but I'm curious
is
org.apache.struts.action.ActionServlet. Is that the only one? Is this
documented anywhere?
Thank you very much for your help
Jay
On Wed, 10 Apr 2002, Zeltser, Mark wrote:
Download log4j from jakarta.apache.org and read documentation on how to
configure it with struts.
Mark.
-Original Message
How about creating 2 mappings where second mapping will have validation
turned off?
Mark.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 3:36 PM
To: [EMAIL PROTECTED]
Subject: Form Validation Question
Hello,
I'm using a single
.,
authenticationLevelId) is null.
Cheers,
David
-Original Message-
From: Zeltser, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 12:45 PM
To: 'Struts Users Mailing List'
Subject: RE: Form Validation Question
How about creating 2 mappings where second mapping will have validation
turned
What is your servlet mappings? If you have standard *.do mapped to action
servlet then you will need the following action=/verifyAction.do
Mark.
-Original Message-
From: kelly lan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 5:36 AM
To: Struts User
Subject: No action
Both datasources should reflect database change when tomcat restarted. You
can configure poolman to automatically refresh cache by configuring the
appropriate attributes in configuration file ( e.g. cacheEnable, cacheSize,
cacheRefreshInterval) You can't configure struts Datasource for automatic
: Connection pool behaviour
Thanks,
but I cacheEnabled true and setting a cacheRefreshInterval
the log file even tells me that poolman is refreshing, but
simply does not.
I use tomcat403 and poolman 2.1-b1
Wolfgang
Zeltser, Mark schrieb:
Both datasources should reflect database change when tomcat
Take a look at your jar files, specifically for struts.jar. Make sure it is
only available in yourApp/WEB-INF/lib directory and not in you
JDK_PATH/jre/lib/ext or TOMCAT_ROOT/lib or TOMCAT_ROOT/commons/lib.
Mark.
-Original Message-
From: hemant [mailto:[EMAIL PROTECTED]]
Sent:
Hi Alex,
That was one of the reasons I used Tiles. You can put all your page
definitions in tiles-defs.xml. This single configuration files will replace
all your page.jsp(s).
Mark.
-Original Message-
From: Alex Paransky [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 11:19
information.jsp.
-AP_
http://www.alexparansky.com
Java/J2EE Architect/Consultant
http://www.myprofiles.com/member/view.do?profileId=127
-Original Message-
From: Zeltser, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 8:21 AM
To: 'Struts Users Mailing List'
Subject: RE
I use 1 frame as my index.html to hide URL as users browse the site:
html
head
titleSite Name/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head
frameset framespacing=0 border=0 frameborder=No rows=100%,*
frame name=mainFrame src=jsp/index.jsp
/frameset
Hi,
I have the following definition
definition name=site.main.page path=/jsp/common/classicLayout.jsp
put name=title value=House Price System /
put name=body value=/jsp/main.jsp /
put name=menu value=/jsp/common/menu.jsp' /
/definition
I would like to
something like this?
put name=menu value=/jsp/common/menu.jsp?MeaningOfLife=42/
-Original Message-
From: Zeltser, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 3:54 PM
To: [EMAIL PROTECTED]
Subject: Passing a parameter to tiles definition
Hi,
I have the following
Rubens,
You can use key=dataSourceName attribute in data-source tag.
To retrieve: ActionServlet.findDataSource( dataSourceName)
Mark.
-Original Message-
From: Rubens Gama [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 2:46 PM
To: Struts Users Mailing List
Subject: RES:
/
set-property property=description
value=ds2 Data Source/
...
...
/data-source
/data-sources
and in my class:
action.findDataSource(ds1)
But he loads just the ds2!
Thank you,
Rubens
-Mensagem original-
De: Zeltser, Mark [mailto:[EMAIL PROTECTED
Hello,
I am looking to use tiles. I have existing struts1.0 based application.
Should I convert it to latest nightly build release or just plug in tiles
jar for struts1.0?
How stable is nightly releases?
Thanks, Mark.
Digester is loading local dtds ( part of struts.jar) first. It might be a
bug in your container.
Mark.
-Original Message-
From: Hai-Bang Pham [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: Struts DTD/Web App DTD
Recently we've had
Hi,
You might have this problem if you are using JavaScript and have input tag
with type=submit and onClick() function that will submit the form. You
will need to change type=button for single submition.
Mark.
-Original Message-
From: L. Yeung [mailto:[EMAIL PROTECTED]]
Sent: Sunday,
Migrate to Tomcat4, you can reload individual applications there.
Mark.
-Original Message-
From: David Morris [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 2:31 PM
To: [EMAIL PROTECTED]
Subject: 24/7 availability
Group,
Another question, which is not
No, upgrade to 4.0 you may have a better luck there.
Mark.
-Original Message-
From: John Regan [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, October 18, 2001 2:05 PM
To: [EMAIL PROTECTED]
Subject: Struts 1.0 and EAServer 3.6.1
has anyone gotten struts to work in easerver?
Alex,
Did you try to set init param for ActionSerlvet to true for nocache tag?
-Original Message-
From: Alex Colic [SMTP:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 10:06 AM
To: Struts
Subject: Question about struts and list caching?
Hi,
hope someone can help me out
of security validation in the
Action.
Dave
On Mon, 23 Jul 2001 15:22:52 -0400
Zeltser, Mark [EMAIL PROTECTED] wrote:
Dave,
I had the similar problem (see my posting
today). I had 2 mappings in
web.xml and 2 servlets which extended
ActionServlet. Somehow, after I
access second
Hello,
I am trying to add property to DataSource object. There is addProperty(
String, String) method that I used but it had no affect. My impression is
that all connections are initialized after ActionServlet is loaded ( I
extended ActionServlet and added properties after calling super.init())
Hello,
I have struts 1.0 based application that has 2 mappings:
!-- Excel Servlet Mapping --
servlet-mapping
servlet-nameexcelServlet/servlet-name
url-pattern/servlet/excelServlet/*/url-pattern
/servlet-mapping
!-- Action Servlet Mapping --
servlet-mapping
Dave,
I had the similar problem (see my posting today). I had 2 mappings in
web.xml and 2 servlets which extended ActionServlet. Somehow, after I
access second servlet my *.do mapping was changed with url-path of second
servlet.
Don't extend ActionServlet more than once - it will screw up
Hello,
Did anyone encounter the following error while trying to load datasource for
Sybase jconnect 5.2? How did you resolve it? Is there a property that would
indicate for not checking for metadata accessor info?
===
Hello,
I am trying to add extra servlet under struts framework. I have a link that
suppose to generate excel file. I added the following mapping to my web.xml:
!-- Excel Servlet Mapping --
servlet-mapping
servlet-nameexcelServlet/servlet-name
- If set to true, add HTTP headers to every response intended to
defeat browser caching of any response we generate or forward to
HTH,
Pete
Zeltser, Mark wrote:
Hello,
I have struts 1.0 app running on tomcat and I noticed that one of my
pages
(output after uploading a file
Hello,
I noticed that after running struts-upload example the resulted page is
expired under IE 5(cache setting is automatic) but not under Netscape
(4.75). Does anyone know the reason?
Thanks, Mark.
--
This message
Hello,
I have struts 1.0 app running on tomcat and I noticed that one of my pages
(output after uploading a file) is not cached by the browser (IE 5). By
default ActionServlet doesn't include any headers prohibiting from caching.
I tried manually set headers inside of the action prior to
Hello,
I need to have my cache refreshed every hour. I extended ActionServlet and
overwrote init() method, adding function to initialize and refresh cache. I
am using Timer class for refreshing Cache class. Can this cause any problems
with servlet containers? What is the right technique to do
==
Mark.
-Original Message-
From: Bart Moberts [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 6:26 AM
To: [EMAIL PROTECTED]
Subject: Re: How to display odd/even rows using iterator
hello
i do it this way:
%! String[] colors = new String[2]; int i
Hello,
I have the following code to build the table:
==
logic:iterate id="exchangeRate" name="cache" property="displayRates"
tr
td class="td0" align="middle"
bean:write name="exchangeRate"
Hello,
I am trying to use OPTIONS tag with bean that has a collection as one of its
member variables ( the appropriate getter method is provided).
Assuming the following scenario
==
public class Cache {
private ArrayList
Hello,
Did anyone successfully deployed struts-example on EAS 3.6.1? I am getting
the following error:
500 Servlet jspservlet: unable to service request: Unable to compile class
for JSPC:\Program Files\Sybase\Jaguar CTS
We tried to deploy on iPlanet 6.0 with not much success. Our application was
a stripped version of struts. Deployment was a nightmare, support was
terrible. The application choked when servlet was redirecting exceptions to
JSP pages.
After numerous follow ups with iPlanet engineering group we
Hello,
We are trying to migrate existing application from JSP/Servlets to
struts. I have a JSP page which should display dynamically different
questions. I don't know how to create a form bean with all
setters/getters since I don't know in advance all the names. Anyone
knows how to accomplish
52 matches
Mail list logo