Re: How do I shape this application to match Struts?

2001-07-14 Thread Ted Husted
Most of the Struts samples are meant to demonstrate coding patterns, rather than overall architecture. So, you should not take them ~too~ seriously ;-) IMHO, the framework's design makes it an adapter between your model (whatever it may be) and HTTP. A Struts application should adapt to your

html:options

2001-07-14 Thread Yuriy Zubarev
Hello everyone, I have a property countriesList of userForm bean which itself a list of beans which contain code and description properties. And I need to display a listbox populated with list of countries. The only way I made it work is: bean:define id=a name=userForm property=countriesList/

validation problem

2001-07-14 Thread Yuriy Zubarev
Salutation to everyne! I have a form (extends ActionForm) that has a property countriesList which holds a list of beans. In jsp form page I have a code: bean:define id=cl name=userForm property=countriesList/ which is executed without problems when the page is shown first time, but when I

RE: Welcome Page Action

2001-07-14 Thread Tim Colson
Ted suggested this solution to solve having a welcome page redirect to a struts action. I tried it but encountered an issue because my default action requires tomcat-based authentication. Ex. path=/protected/mainmenu.do The redirect to this action works for http://host:8080/myapp/ -

Re: Question: Struts on Weblogic - Urgent please

2001-07-14 Thread David M. Karr
Yexing == Yexing Yang Yang writes: Yexing Hi, Yexing I am trying using Struts , but i encountered a problem after I installed Yexing ant, when I use Yexing build command (build -Ddist.dir=directory_to_contain_Ant_distribution dist Yexing ) Yexing for building ant, I

Re: validation problem

2001-07-14 Thread David Winterfeldt
Is your bean:define inside your html:form tags? If the userForm doesn't exist, you would get a null pointer exception trying to call it. If this doesn't help, seeing the whole form might. David --- Yuriy Zubarev [EMAIL PROTECTED] wrote: Salutation to everyne! I have a form (extends