ANN: MVC conference in NYC next weekend.

2004-03-23 Thread Vic Cekvenich
Not this weekend, but next. Price is cheap - sign up, but goes up. This is also my last post on it. Today's NY Times Science has an ad on it. (Does anyone know the page #?). Here is the line up of sessions: 1. Ted Husted will present - on details of anew sample Struts application to be

Re: Performace Improvement :: Struts based applications

2004-03-17 Thread Vic Cekvenich
Unit test the performance of the model layer. .V Satya Narayan Dash wrote: Hi, I am in the process of improving a struts based application. I am using the cache taglib (from apache) and have written some filters to improve the performace. I am using Apache2 as the web-sever and Tomcat4 as the

Re: [OT] Database password

2004-03-11 Thread Vic Cekvenich
Best Practice is to follow the J2EE spec. The container provides services to the application, such as data source pool, declerative security, etc. In your container, create a data source pool. (Then access the pool via a DAO) .V Niall Pemberton wrote: I have to say I think putting it in the

Re: Reporting + Struts

2004-03-11 Thread Vic Cekvenich
Here is my jasper code: public void service( HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException { //this servlet will take the parms and emit a report. // best used by fronting with a common of JSP that will pass in

Re: iBatis, displaytag, and 10,000 rows

2004-03-11 Thread Vic Cekvenich
That is bad design. You should querry the db and do TOP limit or a governor to prevent a run away qerry. If you do not find it... just re-run a better querry. .V Andy Engle wrote: Hi all, I am wondering if anybody has ever worked with a huge amount of data with iBatis and displaytag? I was

Re: [OT] Database locking and deadlock

2004-03-08 Thread Vic Cekvenich
Of course you could switch to a popular DAO such as iBatis or Hiberante and avoid the issue all together. There are JDBC forums on Sun. .V Shyam A wrote: Robert, Thanks for your response. No, the update queries use a single connection for which auto-commit is turned off. Commit is done only if

Re: [OT] Database locking and deadlock

2004-03-08 Thread Vic Cekvenich
Is there a way you can reproduce this w/ iSQL command line? I assume Sybase, since you said row-level. My guess is that it's not the sql, but your DAO logic somehow. It would take you only a day or so to switch that one update to http://www.reumann.net/do/struts/ibatisLesson1 .V Shyam A wrote:

Re: [OT] Database locking and deadlock

2004-03-08 Thread Vic Cekvenich
that the DBMS locks up rows of table A or B (before commit) and waits until it updates table C for the commit. Is this the cause of the problem? I've not been able to determine (using SQl Plus, TOAD ) which query is causing the row-level lock. Any ideas? Thanks, Shyam --- Vic Cekvenich [EMAIL

Ann: North East Conference on MVC Frameworks and Struts in 3 weeks:

2004-03-07 Thread Vic Cekvenich
- Vic Cekvenich Author basicPortal (J2EZ easy and simple to customize application for membership, portal, cms, community, store, etc. using bestPractices for large, profitable commercial sites. ) + more You will get a CD mailed to you once you register. April 3rd from 8AM to 7PM in NYC

Re: Ann: North East Conference on MVC Frameworks and Struts in 3 weeks:

2004-03-07 Thread Vic Cekvenich
Corrections: - Flex and WebWork2 speakers added. This will cover major MVC choices. - Ted Husted, senior Struts Committer, walks through a new version of the original Struts example, updated to take advantage of the latest features in Struts 1.2 and accepted best practices. .V Vic Cekvenich

Re: Life, the Universe and Everything (was: RE: [OT] RE: Memory usage)

2004-03-01 Thread Vic Cekvenich
-Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] 4. I had the same frustrations that you have. I made the decision that the best way to restore the balance of good in the universe, was to try to become the kind of tech lead that I would have wanted when I was a

problem moving a form page into tiles

2004-02-11 Thread Vic Cekvenich
I have a page with a form that works on it's own, I can submit and will take me to the next page corrctly. However, I am trying to forward to a tile definition now and my submit will cause a null pointer exception and doesn't seem to find my bean in session. can anyone tell me what i'm doing

Re: [OT] RE: Orkut (read what the original message said)

2004-02-10 Thread Vic Cekvenich
Yes, please no more FLAME on Orkut, my bad. I am not adding anyone anymore, there are 43 people in Struts group on Orkut. and it a FOAF... Friend of a Friend type, so people that are connected will get in other ways, I just wanted a seed... One of the things that is a minus of this list is

Re: Orkut - Done!

2004-02-09 Thread Vic Cekvenich
! sebastian S e b a s t i e n T r e m b l a y 01 - Cryptographic Security (613) 991-8394 [EMAIL PROTECTED] -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Sunday, February 08, 2004 11:16 PM To: [EMAIL PROTECTED] Subject: Orkut If you want to join Struts in Orkut

Re: [OT] Re: Debugging JSP

2004-02-09 Thread Vic Cekvenich
James Mitchell wrote: - if you rely on JSP debugging, chances are good that you have WAY too much logic in your pages. Consider following an MVC approach. +1 .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Orkut

2004-02-08 Thread Vic Cekvenich
If you want to join Struts in Orkut Social Network send me an e-mail saying so. .V (if you do not know what it is don't worry) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Orkut

2004-02-08 Thread Vic Cekvenich
Done. Find the Struts community on there and join. Now you add others :-) .V Ramachandran wrote: Yes I want to join. -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich Sent: Monday, February 09, 2004 9:46 AM To: [EMAIL PROTECTED] Subject: Orkut If you want

Re: Ann: East Coast Advanced MVC Seminar: 7 Speakers

2004-01-27 Thread Vic Cekvenich
19 people signed up so far. Cool. Price goes up tmrw. .V Vic Cekvenich wrote: At nyhotel.com on April 3rd, convenient by train from Boston, NJ, Philly and DC. 1 day early registration rate at baseBeans.com now! Price will go to $495 and up as the date approaches, and there are limited seats

Ann: East Coast Advanced MVC Seminar: 7 Speakers

2004-01-25 Thread Vic Cekvenich
At nyhotel.com on April 3rd, convenient by train from Boston, NJ, Philly and DC. 1 day early registration rate at baseBeans.com now! Price will go to $495 and up as the date approaches, and there are limited seats in the booked room. As advertised in upcoming Feb. issue of JDJ. (scroll down to

OT: Help wanted in SF

2004-01-12 Thread Vic Cekvenich
http://www.craigslist.org/sfc/eng/22118807.html (pardon me, but I help the list sometimes and sometimes I milk it) .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Reducing JSP Testing Time

2003-12-28 Thread Vic Cekvenich
[EMAIL PROTECTED] wrote: Do you have any recommendation for reducing this testing time for Web pages that include JSP tags ? Im using Eclipse for coding JSPs (I mean here HTML pages that include JSP tags, no tag libraries). In order to test the visual aspects of my JSPs, I then build a war

.NET: We are just like Struts... only better.

2003-12-25 Thread Vic Cekvenich
Just like everyone else. http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/aspnet-aspnet-j2ee-struts.asp This was fun to read, it puts a smile on my face. Somone has a chip on their sholder. * Main point made in there: Do not use JDBC, you make us look bad, use

Re: Validations - 'format' vs 'business'

2003-12-23 Thread Vic Cekvenich
. Since my bus rules relie on a fast self caching dao... I have no issues, but I test w/ OpenSTA anyway. .V Thank you again, Guido GarcĂ­a Bernardo Vic Cekvenich wrote: {repost} I just override validate() method on formbean and do all there, including super.validate() that reads validation.xml

Re: Example of a non-threadsafe Action?

2003-12-23 Thread Vic Cekvenich
Fyi, the infonoia.com Struts class in Geneva's (w/ Cedric the tiles creator) students get a book the covers how to get around this the right way! See the Wolfgang post. .V Sgarlata Matt wrote: OK, I understand now. That makes sense. Thanks for your help, Craig Richard! Matt - Original

Re: How find DataSource?

2003-12-22 Thread Vic Cekvenich
: Vic Cekvenich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 20, 2003 12:14 PM Subject: Re: How find DataSource? See sample source code section here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html Ex: Context ctx = new InitialContext

Re: How find DataSource?

2003-12-22 Thread Vic Cekvenich
repost (news error?) Martin Gainty wrote: how about putting it into DynaActionForm::initialize which initialises the beans anyhow.. -Martin A DAO in a form or a bean hmmm. If that is what you want to do in an MVC framework. I don't do data source in formbeans. Take a peak at PetStore

Re: Validations - 'format' vs 'business'

2003-12-22 Thread Vic Cekvenich
{repost} I just override validate() method on formbean and do all there, including super.validate() that reads validation.xml. In here I call DAO's to do business validation also, ex: what is the available credit for the client to place this order. Then in action I do this: errors =

Re: Example of a non-threadsafe Action?

2003-12-22 Thread Vic Cekvenich
Example of what not to do: public SomeActtion extend Action { Object _someObject; public execute (.. ) { ... bla bla _someObject.setSomething(); ... bla bla } David Erickson wrote: Hey I have been reading a lot about threading lately from the JLS and otherwise.. but my

Re: How find DataSource?

2003-12-22 Thread Vic Cekvenich
e-denton Java Programmer wrote: Has anyone set up a connection pool using web.xml? Steps? Examples? Tips? No one has, it can't be done. You can declare it in web.xml, that's all. Read Rick Reumans tutorial on ibatis dao and ibatis petstore 3 example and do that, and you will be in a good

Re: How find DataSource?

2003-12-20 Thread Vic Cekvenich
See sample source code section here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html Ex: Context ctx = new InitialContext(); if(ctx == null ) throw new Exception(Boom - No Context); DataSource ds = (DataSource)ctx.lookup(

Re: Enhancement Request or Possible Alternative?

2003-12-18 Thread Vic Cekvenich
I have a commercial Struts product that includes an event that is generated when a new action is called. I built it so that one can clean up any session stuff when going to another action for large projects. We could work out something VERY reasonable. .V Hookom, Jacob wrote: We are doing a lot

Re: Enhancement Request or Possible Alternative?

2003-12-18 Thread Vic Cekvenich
Hookom, Jacob wrote: Vic, I did notice that there is pattern matching now available on the CVS head, but I was wondering if your solution was done with Struts as is, or if you had to make modifications to the Struts Config DTD and/or RequestProcessor? The solution of using a workflow to enforce

Flash Flex w/ Struts article

2003-12-17 Thread Vic Cekvenich
http://www.macromedia.com/devnet/flex/articles/struts.html Is this for real? YES! Point of Struts is MVC, so some people do JSP, Velocity... other do Hibrenate or iBatis... one thing remains. (note how they did not support Spring, or WebWork or XYZ). Flex is XML like, used to be Royale ( and

Re: Flash Flex w/ Struts article

2003-12-17 Thread Vic Cekvenich
? currious what a RIA looks like... Regards, Daniel -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich Sent: Wednesday, 17 December, 2003 3:07 PM To: [EMAIL PROTECTED] Subject: Flash Flex w/ Struts article http://www.macromedia.com/devnet/flex/articles

Re: Chain Was: Flash Flex w/ Struts article

2003-12-17 Thread Vic Cekvenich
BaTien Duong wrote: Yes. This is what I am looking at Struts 2 of request/response framework (struts-chain): in the article example of registration service, we will probably have something like this: Registration request - RequestProcessor - RegistrationService - RegistrationAction - blah

Re: OT: Strategy for out of date items through forms using hibernate?

2003-12-17 Thread Vic Cekvenich
I avoid timestamps. Just make your where class = to the selct cluase. In case any colum is changed, it fails. (if you really need this) .V David Erickson wrote: Hi I am using Struts with Hibernate in a webapplication.. we are using forms etc. The problem I am currently trying to decide how to

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Vic Cekvenich
I would use Ibatis or Hibrenate as a DAO, not both. iBatis lets you use any SQL(corelated self join, sooner or later you will need to do a trick or tune performance), which is why I have been using it with much success; and I teach Struts with it, and there are other Struts/iBatis resources.

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Vic Cekvenich
: What do you think about OJB? Pedro Salgado On 16/12/2003 16:58, Vic Cekvenich [EMAIL PROTECTED] wrote: I would use Ibatis or Hibrenate as a DAO, not both. iBatis lets you use any SQL(corelated self join, sooner or later you will need to do a trick or tune performance), which is why I have been

Re: [OT] Struts vs. XYZ

2003-12-15 Thread Vic Cekvenich
That feature does sound neat. I know of other exaples where good code did not make it in. HOWEVER... a strength of Struts IS the DEVELOPER COMMUNITY support and interactivty. No other framework comes close to the developer culture relative to this Struts, for example this mail list. It's also

Re: Struts EL status

2003-12-15 Thread Vic Cekvenich
Yes, I would say BEAN and LOGIC tags should not be used! One should use JSTL, DisplayTag, Struts Menu, HTML-el, Tiles-el. AFAIK EL will become main (and others deprecated) when Struts drops support for Tomcat 3, which is planed for Struts 2.0. I do think everyone is using EL and if they are not,

Re: What goes where?

2003-12-13 Thread Vic Cekvenich
I would say JDBC drivers should not be in the WAR file (WEB-INF/lib) but should go to container. I am wondering, why would you not use a DAO, for my own reasons, since there are questions on user list regarding JDBC, when I think DAO should be used (unless people using DAO just have no

Re: designing simple scheduler

2003-12-08 Thread Vic Cekvenich
With a layered MVC application you can re-use beans outside of Struts. Have cron call beans application. I do. .V Raman wrote: Hello, I am using struts/beans in my application. I want a scheduler kind of thing that after regular interval of time should check the db and send mails. I want some

Re: Struts and Commons Chain

2003-12-08 Thread Vic Cekvenich
This is very interesting I think. .V Hookom, Jacob wrote: I was looking at chain's implementation, instead of executing the commands with the visitor pattern, wouldn't a more powerful/flexible method be to implement it using a filter pattern? See:

Re: designing simple scheduler

2003-12-08 Thread Vic Cekvenich
of separating layers, how is your architecture like now ?) (we would need something similar...) Thanks, M. -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 6:29 AM To: [EMAIL PROTECTED] Subject: Re: designing simple scheduler With a layered

Re: designing simple scheduler

2003-12-08 Thread Vic Cekvenich
No, no that is not what we are saying. Just call the beans from your UI. In this case your UI is console. Same bean that you allready tested. Struts is the fastest way to develop that I know (15 years of IT for me) So your console app check the JavaMail and saves it or send it from db. Same

Re: Struts User Roles

2003-12-08 Thread Vic Cekvenich
Struts users Servlets Role for it's tags, etc. This snipet is from WEB.XMl (and not Struts.xml): security-constraint web-resource-collection web-resource-nameSecure/web-resource-name url-pattern/do/loginPg/*/url-pattern

Re: HELP: about to get datasource of struts and pass to logic bea ns...

2003-12-08 Thread Vic Cekvenich
Ah a small comment... The Struts DataSource should not be used, I agree; the J2EE container DataSource should be used; but it will not be removed for a while AFIAK. (Deprecated just means it might be removed in some futre version. Just like hopefully bean, logic and html:link get deprecated in

Re: HELP: about to get datasource of struts and pass to logic beans...

2003-12-06 Thread Vic Cekvenich
Take a look at a very good db example app that uses Struts on iBatis.com caled PetStore 3. .V Ricky wrote: hi, there, with my project i had several queries about get datasource in struts. i know how to get datasource in struts, just as in myAction, use getDataSource method and

Re: [OT] RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Vic Cekvenich
Wendy Smoak wrote: and restarting this weblogic again and again each time i debug .. :-( ... stil waiting for a solution ... Trim your posts! Not only was it off topic, it was 400 lines long. How about doing your development work on Tomcat, then deploying to Weblogic? This has the added

Re: Disadvantages of Struts?

2003-12-04 Thread Vic Cekvenich
I disagree with you as well Robert. Having a confgiration nudges you toward design and separation, and everyone on the team know where to find things. In fact, when not doing Web apps, I use HiveMind, just so that I can have the structure. Anyway, there a lot of MVC compeitoris. .V Robert H.

Re: Database with struts

2003-12-04 Thread Vic Cekvenich
I disagree. DataSource should not be used, you should use a DAO, for example iBatis.com. .V Gurpreet Dhanoa wrote: hi You have to Configure DataSource and then u can get the refernce of the same it in the ACtion and can use it Regards gary - Original Message - From: Divya B Sridhar

Re: Subclassing ActionServlet

2003-12-04 Thread Vic Cekvenich
Errr. request processor might be upgraded in version 2.0 of Struts.. so I subclass Action. .V Fullam, Jonathan wrote: All, I need to check the Session for an authenticated user before most requests. To do this I subclassed ActionServlet and only call super(request, response) upon

OT:Re: connection pooling issue

2003-12-04 Thread Vic Cekvenich
This is not a Struts question IMO. here is a FAQ for Wiki: #1. No one should use connection pool, if you want for some (I can't think of a good one myself) do low level JDBC, you should use data source. You can look up the data source via JNDI. Things like (low level) RowSet take a data

Re: Advantages of Struts?

2003-12-04 Thread Vic Cekvenich
surprises me that there hasn't been a greater need for something like this in the community. I'd be curious to hear how others have solved this problem. Brian McClung Senior Programmer Belo Interactive 214-977-4083 -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent

Re: Tab Layout in Struts !!

2003-12-04 Thread Vic Cekvenich
I use it with tiles! Just the top tile is the menu. (Ex: tab1, option 1: goto /do/action1) configured with CSS for look and feel. So a simple menu 1st, and then you wil see tabs as no big deal. .V Wendy Smoak wrote: Vic wrote: Struts Menu does tabs (and trees) much better, example of a

Re: connection pooling issue

2003-12-04 Thread Vic Cekvenich
to mention my database, it is mysql. Regards Ajay Kalidindi -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 3:04 PM To: [EMAIL PROTECTED] Subject: OT:Re: connection pooling issue This is not a Struts question IMO. here is a FAQ for Wiki

Re: Advantages of Struts?

2003-12-04 Thread Vic Cekvenich
(possibly multiple) independent unit(s) of many actions and pages, what entries in Struts's configuration file do I need to remove? The other option allows me to just remove the jar file (or a corresponding directory) worry-free. - Robert. - Original Message - From: Vic Cekvenich [EMAIL PROTECTED

Re: White Space

2003-12-04 Thread Vic Cekvenich
Consider Tidy from W3.org or jTidy on sf.net for html clean up. .V Derek Clarkson wrote: My thoughts exactly, I just don't know where and how to do this. ;-) On Friday 05 December 2003 11:27, Wendy Smoak wrote: Derek Clarkson wrote: Is there anyway to automatically remove white space blank

data connections issues - solution

2003-12-04 Thread Vic Cekvenich
http://www.reumann.net/do/struts/ibatisLesson1 (among others) .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANNOUNCE] Struts Menu 2.0 Released!

2003-12-02 Thread Vic Cekvenich
It's in the navigator package. (but no need for CVS, you can just use the jar and look at the war example). .V snpe wrote: Hello, Is it Struts Menu 2.0 in CVS for Struts Menu ? I checkout HEAD and RELEASE_NOTES have only 1.3 version regards Haris Peco On Monday 01 December 2003 11:07 am, Matt

Re: [OT] initialization of application-wide drop-down settings

2003-12-02 Thread Vic Cekvenich
What I do is do data (Model) caching the data layer, the DAO, such as iBatis. For example I can set the cache for options to 24 hours or more, thus no special code for caching otside of DAO. Then I retrive optionsCollection from DAO order by some_sort_colum_for_order. This puts them in order.

Re: Struts menu

2003-12-01 Thread Vic Cekvenich
Just today a new version of Struts Menu was released, that is what I use. .V Francesco Di Candia wrote: Hi all, i'm a Struts newbie and i'm trying to move my web-application from JSP/Servlets to Struts/Tiles. Someone of you can suggest my the best way to implement menu tile using Struts Tiles

Re: Composing parts of a form with tiles

2003-11-29 Thread Vic Cekvenich
From home page of Struts you can get to Tiles API here: http://jakarta.apache.org/struts/userGuide/struts-tiles.html#insert See the role option? That will optional display or not display a tile. There are many variations on role with other tags. .V Mohan Radhakrishnan wrote: Hi, We need to

Re: Chain - not comatible

2003-11-28 Thread Vic Cekvenich
(thanks Batien for emailing the war). When runing Struts Chain example I get a Sepecified RequestProcessor is not compatible with TilesRequestProcessor. Is there a work arround? (Tiles and tilesaction are VERY important to my designs) .V (I am still just looking at examples.. still not sure

Re: security pattern

2003-11-28 Thread Vic Cekvenich
Here is what I do in WEB-XML: security-constraint web-resource-collection web-resource-nameSecure/web-resource-name url-pattern/do/pageA/*/url-pattern /web-resource-collection auth-constraint role-nameRoleBA/role-name

Re: Struts-chain

2003-11-27 Thread Vic Cekvenich
of Sturts is broken). If anyone (Batjen?) wants to e-mail me privetly the example war file great, tia. .V Craig R. McClanahan wrote: Quoting Vic Cekvenich [EMAIL PROTECTED]: BaTien Duong wrote: i am able to have struts-chain example (the old struts-example with struts-chain built from cvs

Re: Tab Layout in Struts !!

2003-11-25 Thread Vic Cekvenich
Struts Menu does tabs (and trees) much better, example of a tab: http://www.raibledesigns.com/struts-menu Eric Chow wrote: Hello, I tried to use the tiles-example's tabsLayout but have a problem. There are two TAB in my web page, HOME and ADMIN. I want to implement as following: * when click

Re: Server manged vs. struts managed db pools

2003-11-25 Thread Vic Cekvenich
Edgar P Dollin wrote: There is another issue regarding connection pooling in struts vs connection pooling in the container. In struts the war file contains all the information the app needs to run. With container pooling (at least with tomcat and resin) you have to coordinate the container

Re: [OT] Good reporting engine/tools

2003-11-25 Thread Vic Cekvenich
I used to use Crystal and now use ireports.sf.net with JasperReports Butt, Dudley wrote: Hi all, Has anyone used any good reporting stuff recently? Please let me know. We're currently evaluating to get rid of our Crystal reports, just need to know some other options...THANX NOTICE: This

Re: [OT] Stress Test

2003-11-24 Thread Vic Cekvenich
OpenSTA works for me. Jerry Jalenak wrote: Hi All, I've got a problem with my current web app where it stops responding after about 6 hours. I need to set up a test environment and simulate multiple logon's so I can trap my way through the code and figure out where it is failing. I think there

Re: STURT set up and IDE for STURT

2003-11-20 Thread Vic Cekvenich
Did you read any of the Struts books or tutorials on the home page of Struts? .V Meenakshi Dhawale wrote: Hi, I am new to STURTS architecture I have told to implement it for live project. So I have downloaded STURTS 1.1 from

Re: Lazy questions on this list

2003-11-20 Thread Vic Cekvenich
Larry Meadors wrote: What is JSTL? kinds of questions should be answered SNIP As long as these questions are answered, they will continue to be asked. +1 Maybe a FAQ Wiki? Who will be the first to create a page and post a FAQ? The culture of the list is part for Struts Community. The

Re: Lazy questions on this list

2003-11-20 Thread Vic Cekvenich
Here is the Wiki url ... should somone want to do a first post on FAQ, I will post 1 or 2... but I won't be first. http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDocComments Maybe dev makes the Wiki page more prominent. Ted Husted wrote: Paul McCulloch wrote: Is it my imagination or are

Re: Improvements on an old Struts app

2003-11-19 Thread Vic Cekvenich
You know in Struts you could submit on entering a field to get your options, but you did not do that I assume for good reasons. Let me try this as a stab: Please read this: http://jibbering.com/2002/4/httprequest.html section on Calling a server-side Script without refreshing the page Then once

Re: Struts - 24 x 7 Compatible

2003-11-19 Thread Vic Cekvenich
Puneet Agarwal wrote: Hi all, Would it be possible and desired to make struts based applications be available on 24x 7 basis. What I mean is for a struts based application deployed in production environment, the possible downtimes are two 1. Dependency down - like Database backup. 2.

Re: OT: Good UI editor to use with Struts?

2003-11-19 Thread Vic Cekvenich
I use Eclipse, with Colorer plug in for JSP; and Sydeo plug in for JSP debuging. .V Davidson, Glenn wrote: Which UI editor would you recommend someone use when developing web applications based upon the struts framework? I am using eclipse as my IDE. Thanks --

Re: Validator's great!

2003-11-19 Thread Vic Cekvenich
I just wanted to say Validator is great! And like Matt said, not in action/ actions should be stupid, in formbean, ie: errors=bean.validate(); (which then also makes .js validation work) .V Kruse, Matt wrote: Using either customized Java code or regular expressions, a developer can ensure that

Re: datavision and struts

2003-11-18 Thread Vic Cekvenich
I use this: http://ireport.sourceforge.net .V [EMAIL PROTECTED] wrote: Does anyone use datavision as reporting tool together with struts? any examples? thank you. = = = = = = = = = == = = = = = == = = = = = = = == = = = = = == = = = = This transmittal and any attachments may contain

Re: [OT] Handling database connection exceptions

2003-11-17 Thread Vic Cekvenich
Jim, action's execute throws exception; this exposes the container to deceleertively do this, if you declare an error page in web.xml. .V Jimmy Emmanual wrote: Why don't you throw the exception from the Data Access class and catch it in DispatchAction and if there is an exception then forward

Re: Iterate a Collection inside a bean of session???

2003-11-14 Thread Vic Cekvenich
For option tag, you might want to use the optionCollection tag instead for a collection. .V Mauricio T. Ferraz wrote: I have a produtoBean on session and this has a property ArrayList formatosArquivos How I put the value of option to the same name of bean:write name=formato/ ?

Struts comparison

2003-11-13 Thread Vic Cekvenich
Struts comparison to WebWork: http://www.jroller.com/page/mrdon/2003#re_struts_vs_webwork_technical .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts - sometime the form is being submitted twice

2003-11-13 Thread Vic Cekvenich
Read up on Tokens in the Action class. It explains how to eliminate this ( that would have also happened even in a regular non struts servlet/jsp). hth, .V Judy Spengeman wrote: Using the following code fragment: function f_ValidateForm(later) { var newline = unescape(%0A); var leading_space =

Re: Servlet filter and Struts

2003-11-10 Thread Vic Cekvenich
This is the standard way to do what you want... in web-xml only, using J2EE for container (such as tomcat JDBC realms) for security, a best practice. Once you know this part of JAAS, then you can extend, to put more things about the user in session, and track that in you actions. !-- guest --

Re: [OT JDO Implementations]

2003-11-07 Thread Vic Cekvenich
Do not cross post. Consider iBatis.com(best one IMO), and write a DAO interface. This way later you could switch. .V Butt, Dudley wrote: Hi all, I'm just wanting to find out from anyone who may have started using any JDO implementations? We really want to go JDO, but so far, we found only 2

OT: Re: newbee: eclilpse struts-jsp tag suport plug-in

2003-11-07 Thread Vic Cekvenich
This is an Eclipse new group question. There are several pages that list all the Eclipse plugins (links on cheat sheet page on StrutsPlus.com). I use XML buddy w/ smart typing for any XML, including JSP and Colorer plug ins. (also I use JFaceDB plugin for DB exploring) Also consider DreamWeaver

Re: PLEASE HELP: Exception handling

2003-11-07 Thread Vic Cekvenich
Say this in WEB.XML error-page exception-typejava.lang.Exception/exception-type location/error.jsp/location /error-page Then this in error.jsp or what ever you consider friendly: %@ page isErrorPage =true % You are at a J2EE error page: p %= exception.getMessage() % and then:

Re: Problems with charset iso8859_1 and encoding

2003-11-07 Thread Vic Cekvenich
Consider posting in TagLibs list. This is covered very nicely in JSTL (aka Standard Tags), read up on set encoding in http://java.sun.com/webapps/download/Display?BundleId=8776 and let me know if you then have a question. They even have examples. (or start here

Re: Question on compositing Tiles dynamically from Action

2003-11-07 Thread Vic Cekvenich
Flip it and revrse it, go to tiles, that call actions: definition name=myPage1 extends=baseLayout put name=body value=/do/myPage1/ put name=tile value=/do/myTile/ / definition name=myPage2 extends=baseLayout put name=body value=/do/myPage2/ put name=tile

Re: Question on compositing Tiles dynamically from Action

2003-11-07 Thread Vic Cekvenich
Brice Ruth wrote: This still doesn't keep me from having to duplicate entries for each section of our site (we have 5 - garden, school, office, crafts, housewares) - and other non-Action driven pages need the same .baseLayout extended Tiles for each of the sections (.baseLayout.school,

Re: Question on compositing Tiles dynamically from Action

2003-11-07 Thread Vic Cekvenich
Let me try it this way: _DO NOT_ call a /do from your definition to provide varibility by calling an action from tiles, so that you have much less definitions. Also, DO NOT loook at this : http://cvs.sourceforge.net/viewcvs.py/basicportal/bPproj/bP/WEB-INF/config/layoutsShop.xml (a shoping cart

Re: [FRIDAY] Why people want to know who read their msg?

2003-11-07 Thread Vic Cekvenich
James Mitchell wrote: If you don't like Outlook features, stop using Outlook. +1. Outlook also spreads viruses. I use Mozilla based mail client (Netscape, etc.) and have less of a need to run any virus checkers, becuase it's just a better mail client. .V

Re: Struts-chain

2003-11-07 Thread Vic Cekvenich
BaTien Duong wrote: i am able to have struts-chain example (the old struts-example with struts-chain built from cvs) up and running using j2sdk1.4.2_02 and tomcat 5.0.14. Where did you find an example of using a Struts chain? .V

Re: [OT - Design] Needing Fast Access to 300,000 Records

2003-11-06 Thread Vic Cekvenich
Jerry Jalenak wrote: Hi All - I've been trying to figure out a good way of handling something, and just can't quite seem to get a grip on the best approach. Here's what I've got: Two database tables - Table 1 has a BILLING_CODE and an ACCOUNT_CODE. Table 2 has the ACCOUNT_CODE and other

Re: [OT - Design] Needing Fast Access to 300,000 Records

2003-11-06 Thread Vic Cekvenich
to pre-load the table(s) in a plug-in and access everything in memory. Make sense? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent

Re: [OT - Design] Needing Fast Access to 300,000 Records

2003-11-06 Thread Vic Cekvenich
[EMAIL PROTECTED] wrote: retrieving all the records because just in case the client may need them does not look very efficient approach to me. One never designs for all the exceptions of what might be, that would be a bad design. One designs for the likely case only, at least good designers do.

Re: Best Practice : session vs. request attributes

2003-11-06 Thread Vic Cekvenich
Is it OK using session attributes (performance, memory, etc. ), even if you make sure session attributes are removed when no more needed ? I ALLWAYS use session for form bean and then clean up. I allways use request for read only beans (c:out, display tag, etc.) And there is a non-standard thing I

Re: [ANNOUNCE] Visual Tags for Struts 2004 Released

2003-11-05 Thread Vic Cekvenich
Would this support JSTL tags? In essence, if you can deal with tlds, it should. Bean and logic should not be used, JSTL should be used instead. Forest Arnold wrote: FWA Software, Inc released Visual Tags for Struts 2004 on 03 November 2003. Visual Tags for Struts 2004 is the latest release of FWA

Re: [ANNOUNCE] Visual Tags for Struts 2004 Released

2003-11-05 Thread Vic Cekvenich
of the box support TLD's smart typing, so I am just saying why not work with other tags, that one would use in new development in '04, next year. .V Ted Husted wrote: If your container supports 2.3, preferring JSTL is a good idea. But many teams still don't have that option. -Ted. Vic

Re: Struts, Tomcat And Performance

2003-11-04 Thread Vic Cekvenich
You are of by a few orders of magnitude (2,000 to 4,000 concurrent is what I get using j:Rockit VM) A nice thing about layered MVC architecture is that you can stress test a layer, the Model layer for example. I use OpenSTA + DBMonster to simulate. I use JaMon to monitor live app., so I know

Re: Struts, Tomcat And Performance

2003-11-04 Thread Vic Cekvenich
OpenSTA Read the great step by step tutorial that comes with it. Brice Ruth wrote: Hey, Vic - I'm looking to do some stress testing of our site before we deploy, can you recommend any good reference books/sites to get started in this area? Brice Vic Cekvenich wrote: You are of by a few

  1   2   3   4   >