struts-example from 3/8/2001 Nightly Build failed

2001-08-04 Thread Michael Mok
I downloaded struts nightly build 3/8/2001 and run the struts-example. Tomcat 3.2.2 failed to start up this application.   I notice that in this build, the commons jars are included. Has anybody encountered this problem. It seems like the action servlet fails to load.   Regards     Michael M

Exposing Application Scope Attributes in Layered Applicatoins

2001-08-04 Thread Ted Husted
Is there a way to hook into a application scope attributes without a direct link to a servlet? Perhaps through JNDI? Specifically, I'd like to hook into the Generic Connection Pool's datasource, that's exposed as "org.apache.struts.action.DATA_SOURCE" in the application context, without specif

Re: Problem with tag?

2001-08-04 Thread Martin Cooper
The ability to use 'name' and 'property' attributes with is new for Struts 1.1, and is not available in Struts 1.0. If you're looking at the documentation on the Struts web site, you should be aware that this always reflects the latest builds of Struts. For the Struts 1.0 documentation, you shoul

Re: infinite loop

2001-08-04 Thread Rama Krishna
yes, martin. it works fine. i have few .jsp pages without forms means they display reports and they work fine with .cm mapping, so, i was thinking it would be the same for forms also. thanks much, rama. - Original Message - From: "Martin Cooper" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: infinite loop

2001-08-04 Thread Rama Krishna
:-(   i am sorry. you are right.   i had few reports with out html:form in them and when i give .cm in forward they work fine.   so i was thinking that it would be the same for forms also.   thanks much.   rama. - Original Message - From: Gregor Rayman To: [EMAIL PROTECTED

Re: infinite loop

2001-08-04 Thread Martin Cooper
Are you using extension mapping, with the extension ".cm"? If so, then your infinite loop is happening because you are forwarding from the action right back to the same action, instead of to the JSP page. Change your forward to reference the JSP instead of the action, like this: and things sho

Re: infinite loop

2001-08-04 Thread Gregor Rayman
What does mean? Shouldn't it be path="/adduser.jsp" ?   -- gR   - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Saturday, August 04, 2001 8:55 PM Subject: infinite loop hi all,   In continuation to my post yesterday,   The f

infinite loop

2001-08-04 Thread Rama Krishna
hi all,   In continuation to my post yesterday,   The following is my code. The flow is fine till Forwarding to Success and then instead of displaying, it starts again from the begining.   If i remove the if condition in validate method then it displays the form with errors which is fine.  

Re: Form getting set null in action perform() method

2001-08-04 Thread Martin Cooper
The usual cause for this is not having a 'name' attribute in the action mapping, or not having a form bean definition in struts-config which matches that name. -- Martin Cooper - Original Message - From: "Aaron Ravenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 3

Re: Form processing question

2001-08-04 Thread Martin Cooper
One way to do this would be to use the Struts conditional tags to generate a different URL on the page for edit versus add. You could base the decision on the presence or absence of your productId parameter. -- Martin Cooper - Original Message - From: "Greg Maletic" <[EMAIL PROTECTED]>

RE: Struts with Tomcat/IIS: *.do not recognized - SOLVED

2001-08-04 Thread Eric Wu
Silly me... This was a bizarre problem because everything was working fine when accessing port 8080 but not through IIS. It turns out that my isapi_redirect.dll was out of date. Downloading the latest version fixed everything Eric -Original Message- From: Eric Wu Sent: August 3,

Whats the best way to design struts web apps?

2001-08-04 Thread Torsten Trzeciak
Hi, as my projects grow I have the problem to get control of all the controller's results and the e.g. jsp pages which are used depending on the result of the controller. What is the best way to handle / design this?