Display tag with Tiles

2002-11-12 Thread Zeltser, Mark
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.

RE: Connection Pool for EJBs

2002-11-05 Thread Zeltser, 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

Can forward action point to tiles definition?

2002-11-01 Thread Zeltser, Mark
Hi, In struts 1.1 can I do the following? // --- struts-config.xml !-- Points to default page -- action path=/home

RE: Can forward action point to tiles definition?

2002-11-01 Thread Zeltser, Mark
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

RE: Can forward action point to tiles definition?

2002-11-01 Thread Zeltser, Mark
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

RE: Can forward action point to tiles definition?

2002-11-01 Thread Zeltser, Mark
] 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

RE: Can forward action point to tiles definition?

2002-11-01 Thread Zeltser, Mark
? 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

RE: Can I avoid bouncing app when database goes down? (struts1.0 .2)

2002-10-30 Thread Zeltser, Mark
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:

RE: Can I avoid bouncing app when database goes down? (struts1.0 .2) (try poolman)

2002-10-30 Thread Zeltser, Mark
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

RE: Can I avoid bouncing app when database goes down? (struts1.0 .2) (try poolman) (use validationQuery)

2002-10-30 Thread Zeltser, Mark
? - 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

RE: Can I avoid bouncing app when database goes down? (struts1.0 .2) (try poolman) (use validationQuery)

2002-10-30 Thread Zeltser, Mark
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

RE: GenericDataSource.close() hangs? Any ideas?

2002-10-16 Thread Zeltser, Mark
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

RE: [BEER] Is it Friday Yet?

2002-08-30 Thread Zeltser, Mark
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

RE: [BEER ] Is it Friday Yet?

2002-08-30 Thread Zeltser, Mark
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

RE: connecting to a database

2002-08-28 Thread Zeltser, Mark
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

RE: Multiple Data Sources

2002-05-22 Thread Zeltser, Mark
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

RE: Struts 1.1b/log4j

2002-04-10 Thread Zeltser, Mark
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

RE: Form Validation Question

2002-04-05 Thread Zeltser, Mark
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

RE: Form Validation Question

2002-04-05 Thread Zeltser, Mark
., 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

RE: No action instance for path

2002-04-04 Thread Zeltser, Mark
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

RE: Connection pool behaviour

2002-04-04 Thread Zeltser, Mark
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

RE: Connection pool behaviour

2002-04-04 Thread Zeltser, Mark
: 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

RE: Frustrating ClassCastException

2002-04-03 Thread Zeltser, Mark
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:

RE: How to avoid a separate .jsp page for body definition whenus ing Templates?

2002-04-03 Thread Zeltser, Mark
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

RE: How to avoid a separate .jsp page for body definition whenus ing Templates?

2002-04-03 Thread Zeltser, Mark
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

RE: An url problem

2002-03-20 Thread Zeltser, Mark
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

Passing a parameter to tiles definition

2002-02-22 Thread Zeltser, Mark
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

RE: Passing a parameter to tiles definition

2002-02-22 Thread Zeltser, Mark
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

RE: datasources

2002-01-11 Thread Zeltser, Mark
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:

RE: datasources

2002-01-11 Thread Zeltser, Mark
/ 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

Which version of struts to use

2002-01-10 Thread Zeltser, Mark
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.

RE: Struts DTD/Web App DTD

2002-01-02 Thread Zeltser, 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

RE: Struts Getting called Twice: Threading Problem?

2001-12-24 Thread Zeltser, Mark
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,

RE: 24/7 availability

2001-10-23 Thread Zeltser, Mark
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

RE: Struts 1.0 and EAServer 3.6.1

2001-10-18 Thread Zeltser, Mark
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?

RE: Question about struts and list caching?

2001-07-30 Thread Zeltser, Mark
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

RE: problems mapping multiple ActionServlets

2001-07-25 Thread Zeltser, Mark
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

how to add property to DataSource

2001-07-25 Thread Zeltser, Mark
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())

action in html:form tag is not set correclty (bug???)

2001-07-23 Thread Zeltser, Mark
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

RE: problems mapping multiple ActionServlets

2001-07-23 Thread Zeltser, Mark
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

Datasource doesn't load with JConnect 5.2

2001-07-17 Thread Zeltser, Mark
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? ===

Servlet mapping results in incorrect interpretation

2001-07-16 Thread Zeltser, Mark
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

RE: Page is not cached

2001-07-11 Thread Zeltser, Mark
- 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

struts-upload, why jsp page in not cached by IE?

2001-07-11 Thread Zeltser, Mark
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

Page is not cached

2001-07-10 Thread Zeltser, Mark
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

Cache reload

2001-06-28 Thread Zeltser, Mark
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

RE: How to display odd/even rows using iterator

2001-04-19 Thread Zeltser, Mark
== 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

How to display odd/even rows using iterator

2001-04-18 Thread Zeltser, Mark
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"

Using OPTIONS Tag with bean that has a collection

2001-04-03 Thread Zeltser, Mark
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

Struts on EAS 3.6.1, anyone?

2001-03-20 Thread Zeltser, Mark
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

RE: Has anyone deployed struts to iPlanet?

2000-12-15 Thread Zeltser, Mark
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

How to create bean from dynamic JSP page

2000-10-25 Thread Zeltser, Mark
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