Re: Nice try (was Java code generator including Struts 1.2)

2005-08-11 Thread Yan Hu
There is perhaps no problem with Swing itself. But java is perhaps not suitable for fat client - type apps while it is a great language for the server side. As I always say that the market decides what stays and what not. Let's take a look at the job market say dice. How many are there for

Re: Main class for a struts webapp...

2005-08-05 Thread Yan Hu
--- O. Oke [EMAIL PROTECTED] wrote: Can anyone please tell me where the main (public static void main...) class of a Strus web application can be found. To put it another way, when I click a button in an HTML form, which main class kick starts the chain of processing that eventually leads

Re: MVC Question

2005-08-03 Thread Yan Hu
--- Michael Jouravlev [EMAIL PROTECTED] wrote: On 8/2/05, Kent Boogaart [EMAIL PROTECTED] wrote: I guess my question is: is the action form considered part of the model? If not, what? Struts does not provide anything for the model.

Re: Re: JSF is the beginning of the end of Struts !!!

2005-07-26 Thread Yan Hu
Xu: One of the reasons why you see a lot of PHP apps is that there are always a lot more small apps than large scale ones. I can not imagin you program a large scale site using PHP. If you are an OO guy, I could hardly imagin you even would like PHP(mixing all server side code with html code).

Re: html:messages help

2005-07-12 Thread Yan Hu
if (!messages.isEmpty()) saveMessages(request, messages); use addMessages(). saveMessages has been deprecated. ul html:messages id=message lic:out value=${message} //li /html:messages /ul You left out the message attribute. Set it to true. ul

Re: html:messages help

2005-07-12 Thread Yan Hu
Try the following... Don't forget to import struts-bean.tld %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % I think it is better to use struts-tags when possible since they were designed for Struts. ul html:messages id=message message=true li bean:write name=message//li

Re: Spring on Struts

2005-07-12 Thread Yan Hu
I believe one of the important reasons why Struts is still going strong after 5 years is that it is very efficient and has a relatively low learning curve than other component-based frameworks such as tapestry,JSF and so on. With tools such as Creator, JSF apps might be easy to start. But to

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-08 Thread Yan Hu
Last time the price tag I checked on these 2 idiots was 0/hour. Is this your personal playground to make fun of H1Bs or a struts list? Hey, do not hate the players. Hate the game. --- Martin Gainty [EMAIL PROTECTED] wrote: Brandon- Keeping in mind that No inductive generalisations can

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-08 Thread Yan Hu
Mr Yan: For most of us here this is not a game but a livelihood If I go to China or India I understand that am a guest in that country and aware that I must not abuse and or break the laws of the country.. Calling someone that makes fun of others an idiot definately does not break any law

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-08 Thread Yan Hu
--- James Mitchell [EMAIL PROTECTED] wrote: ROFL Oh ya! My mom can beat up your dad! hahaha +1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-08 Thread Yan Hu
--- Rick Reumann [EMAIL PROTECTED] wrote: Yan Hu wrote the following on 7/8/2005 1:29 PM: I respect good people(regardless of races) not an asshole like you. My mom can beat up your mom. -- Rick Do you have a Mom? Come on man.. Be strong. I understand how tought life can

[OT] Tools do not matter? Wrong

2005-07-03 Thread Yan Hu
Do you yealy think people on level of Craig, Husted, Clinton, Linus, Marti C, etc. use painters? Or that you are not productive? Guns don't kill. People kill. Tools don't matter. A good developer is key, and you are not going to get one at $10. How many people are out there like Craig and

Re: IDE Wars (was Struts vs World)

2005-07-03 Thread Yan Hu
What w/ F22 and Democracy being invoked. Hahaah. You can not even understant what the anaogly I made means. I doubt your ability to reason logically. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Struts vs .NET???

2005-07-02 Thread Yan Hu
I believe JSF will kill Struts in 2 years... --- Dakota Jack [EMAIL PROTECTED] wrote: The lines with Struts are in fact less, because you don't have to code the framework. On 7/1/05, John Henry Xu [EMAIL PROTECTED] wrote: Rick, you are right that you can write struts using very basic text

Re: Struts vs .NET???

2005-07-02 Thread Yan Hu
--- Dakota Jack [EMAIL PROTECTED] wrote: This is like comparing apples and oranges. The level of coding knowledge in this thread is way low, way low. In fact, people were comparing J2EE with .NET. instead of Struts vs .NET since they are apple and orange.. The subject is misleading...

Re:J2EE vs .Net (was Struts vs .NET???)

2005-07-02 Thread Yan Hu
www.verizonwireless.com uses Struts... Check it out.. The site is slow. However, I do not think it has anything to with Struts. Struts has a relatively simple and clean structure. If a site that uses Struts appears slow, it's backend or middle tier must be lacking... People who often say

Re: Struts vs .NET???

2005-07-01 Thread Yan Hu
Here I totally agree with John Henry. Yes, you are a very good programmer if you could beat someone who uses FrontPage and you use only a text pad. This is no doubt. As the analogy I made a couple of days ago, you are too expensive. How long did it take you to be this productive? Obviously,

Re: Struts vs .NET???

2005-07-01 Thread Yan Hu
Good point. Sometimes you want a Picaso, and sometimes you want a $10 painting. How many people could afford Picaso? That is excatly why .NET is creeping up so fast. As Rod Johnson asked, how many huge huge apps are out there waiting for distributed transaction management provided by EJB

Re: Struts vs .NET??? - Real Stats

2005-07-01 Thread Yan Hu
--- Leon Rosenberg [EMAIL PROTECTED] wrote: Yan Hu wrote: How many people could afford Picaso? That is excatly why .NET is creeping up so fast. After you told us about 1000 times that there are much more jobs for .NET as for java i tested it myself. Stop putting words in my mouth

Re: Struts vs .NET??? -This is my Stats

2005-07-01 Thread Yan Hu
All done on the US sites. www.monster.com .NET more than 1000 and 20 pages Java more than 1000 and 20 pages www.dice.com .NET 8490 listings Java 11159 listings www.indeed.com (an aggregator for all major job sites in the US) .NET 68,599 listings Java 63,451 listings When you have a debate,

Re: AW: Struts vs .NET??? - Real Stats

2005-07-01 Thread Yan Hu
Btw... Can you name 10 successful .NET sites? Something clearly above 100 Million PIs / month, better 1 billion PIs ? I'd be really interested :-) You see you are missing the whole point here. I have been a long time believer that J2EE is good for big honking things. But .NET is

Re: [OT] Re: Unacceptable Behaviour of Mark Galbreath

2005-06-30 Thread Yan Hu
...just trying to keep the conversation lively. ;-) by insulting people? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is there any Jsp template like Smarty template ?

2005-06-29 Thread Yan Hu
Maybe IDEs are helpful, It is not Maybe that IDEs are useful. It is that they are definiately useful. but if you can't do your programming in a straight text editor, you shouldn't be programming at all. When you programm in a text editor, you may very likely to have snytax errors. The

RE: [OT] Stinking text editors

2005-06-29 Thread Yan Hu
List Subject: [OT] Stinking IDEs I have noticed over the years that those who are the most adamant about the virtues of IDEs are the worst programmers...and think emacs is a kid's meal from McDonalds. ~mark -Original Message- From: Yan Hu [mailto:[EMAIL PROTECTED] Sent

Re: [OT] Stinking text editors

2005-06-29 Thread Yan Hu
have been offened by my messages.:) --- Dave Newton [EMAIL PROTECTED] wrote: Yan Hu wrote: Most morons think the majorty are morons.. And we're right. Dave Hey! You tricked me! Newton

RE: [OT] Stinking IDEs

2005-06-29 Thread Yan Hu
Look at the job market for the server side now. 3 years ago, .Net took only 20% of the server side market. Now it is creeping up to 40%. .Net is better or faster than Java? Nah.. Some .Net zealots otained some benchmarks on Tiger and .Net1.1 using linPack. Tiger outperformed .Net. But why is

Re: [OT] Stinking IDEs

2005-06-29 Thread Yan Hu
I use VS.NET - it is a turd with icing. This is an empty statement without any hard evidence to back it up. Better than just a turd, but still not a brownie. The market says the turd is good... So you will have to eat it or lose 40% of the pie and that number is still going up. Thanks to

[OT]Linux server market share...

2005-06-29 Thread Yan Hu
Since linux has clearly more then 50% of the server market Linux has never had more than 30% of the server market http://www.alwayson-network.com/comments.php?id=P5013_0_6_0_C - To unsubscribe, e-mail: [EMAIL PROTECTED] For

This is how wonderful VS.NET is…

2005-06-29 Thread Yan Hu
We will use a WEB application as an example, especially the frond end. We have 2 bums on the street. We give them 10 dollars per hour to write a simple front end. One uses Struts or whatever J2ee MVC frameworks excluding JSF (using Creator). The other has no choice but VS.NET. The VS.NET bum

Re: AW: [OT]Linux server market share...

2005-06-29 Thread Yan Hu
Even then, most of us will agree that 20.54% for IIS is about 20% to much 2 years make it even worse.. Search on monster for .NET and J2EE Compare the number of jobs and do the same thing at www.indeed.com,which aggregate everything from All big jobsites in the US. Job numbers for

Re: This is how wonderful VS.NET is…

2005-06-29 Thread Yan Hu
WTF you expect from bums(they are not retards) is cheap labor The means do not matter too much. Only the end results matter --- Larry Meadors [EMAIL PROTECTED] wrote: WTF do you expect with retards writing code? Fire them, and hire smart people. Larry On 6/29/05, Yan Hu

RE: This is how wonderful VS.NET is

2005-06-29 Thread Yan Hu
hey stop personal attacks! I did not start the IDE war. I use Struts a lot. That is why I am on this list. Why are some of your guys so jumpy? Competition spurs innovation. I know it is not a good place to talk about IDEs. But I did not start it. Some of your guys only like to hear nice

Re: [OT] Stinking IDEs

2005-06-29 Thread Yan Hu
, but... On Wed, Jun 29, 2005 at 02:35:50PM -0700, Yan Hu wrote: } Look at the job market for the server side now. 3 years ago, .Net took } only 20% of the server side market. Now it is creeping up to 40%. .Net is } better or faster than Java? Nah.. Some .Net zealots otained some } benchmarks

Anyone here use struts-layout tags

2005-06-25 Thread Yan Hu
Hi there: I need to print a table with dynamic colum numbers. I know how to print the table using jstl mixed with some html code. But it is ugly.I used struts-layout tags to print tables with fixed colums and dynamic rows. Any suggestions for an elegant way to do that? Thank you very much.

Re: Making cleaning after forwarding to page

2005-06-25 Thread Yan Hu
If a bean is in the request scope after forwarding to a JSP, the bean will be out of scope after the JSP is filled with the data from that bean. Why do you need to clean it up yourself? --- Ashraf Fouad [EMAIL PROTECTED] wrote: Dears, I want to know where to customize in struts 1.2.7

Struts validation questions

2005-05-28 Thread Yan Hu
Hi there: Thanks for clicking in first. I use ValidatorForm. Class Myform extends Vaidtorform{ Various fields go here } But I would like to add some my own validation to it. Could I safely use Validate() Such as Class Myform Extends Vaidtorform{ Various fields go here

Re: Running Tomcat from Eclipse

2005-05-19 Thread Yan Hu
Are we on a STRUTS mailing list? --- m Komma [EMAIL PROTECTED] wrote: Hi, I am using Eclipse 3.0.1, Sysdeo 3.0.0 (tomcat plugin for eclpse) and Tomcat 5.5.7 I was able to start tomcat from Eclipse until couple of days back. but now, when ever I start tomcat from Eclipse I get the

Re: Subclassing ActionForward

2005-05-17 Thread Yan Hu
Hello: I would suggest that you use servlet filters. --- Lee Harrington [EMAIL PROTECTED] wrote: I want to check to see if the user is logged in before performing any action, and redirect to the login page if they are not. For example...they have a page open and their session times

Is struts more performant than JSF

2005-05-10 Thread Yan Hu
Hi: I have been playing with JSF lately. I really like it since it is very intuitive. But as I understand it, JSF keeps a component tree for each page with JSF widgets in it on the server. So it is heavy weight compared with struts. Could I safely say that struts-based apps are a bit more

A simple question about logging out

2005-04-24 Thread Yan Hu
Hi: I came across a couple of articles about logout on the Web. They all do something like session.removeAttribute(user); session.invalidate(); Can I just use session.invalidate()? Would user be destroyed automatically when the session is invalidated? Thanks. By the way, i would rather gawk at

Identify users

2005-04-18 Thread Yan Hu
Hi: I have a question.I need to check if a user is the one who has permission to a certain action. His role is stored in the database, for example user.isStudent. The whole student object is stored in the session after he logs in successfully . From that point on, every time he sends

Newbie---Construct JSPs on the fly

2005-02-17 Thread Yan Hu
Hello Guys: This is my first real Struts-based project. I am fairly new to Struts. I know some basics and tried a few toy examples. Now it is time for a serious one. My project involes students. Each student has her own page that might take her to pages that are customized just for her.

Thank you all for answering Re: Newbie---Construct JSPs on the fly

2005-02-17 Thread Yan Hu
Hello Guys: First and foremost, I wanted to thank you all for answering my question. I believe I can learn a lot of Struts skills and other related skills here. Thanks again. Yan Hu wrote: Hello Guys: This is my first real Struts-based project. I am fairly new to Struts. I know