RE: DynaValidatorForm exception. (fwd)

2003-02-04 Thread Michael P. Jones
I have experienced this same thing with the DynaValidatorForm, since we 
ran into something similar I knew to bounce twice. 

I thought it did have something to do with a class loader or where the 
jars were or something like that??

Regards
-Michael


P.S.

This is what our sysadmin said about it:
>>>>>>>>>>>>>>>>>>>
On Tue, 2003-02-04 at 16:43, Michael P. Jones wrote:

> This is something I have been running into.
> 
> Matt, what was the deal with having to bounce Tomcat twice?
> 
> Thanks-
> Michael

In 4.0.x, Tomcat looks for the web.xml files before unpacking the
.wars.  Once the .wars are unpacked, Tomcat never goes back a second
time to read the web.xml files from any .wars it just unpacked, so those
webapps will throw all kinds of errors until Tomcat is bounced again. 
AFAIK, this is only applicable to the 4.0.x series.  I don't know if
this is the same issue, but it's why we have to bounce twice for new
.wars.

Matt
-- 
Concerning the difference between man and the jackass: some
observers hold that there isn't any. But this wrongs the jackass.
- Mark Twain

>>>>>>>>>>>>>>>>>>>>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




JSP: Getting a Bean

2002-12-23 Thread Michael P. Jones
Hello-

I have been using Struts for about a year now, however I have only used it 
with Stxx. All of these taglibs are new to me.

I'm certain this is a very basic question but I have yet to figure it 
out...

I have an Object in a FormBean I want to pull the Object from the FormBean
and then get another object from that Object. Once I get the second object
I want to get values from it.


PageObject po = _formBean.getPageObject();

QuestionObject qo = po.getQuestionObject();

String questionText = qo.getText();

How do I do this with JSP? Can you point me in a direction that will
explain this or just post a code clip?

Thanks in advance-
Michael



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




logic:empty AND logic:notEmpty Both executing?

2003-01-30 Thread Michael P. Jones
Hello-

I have an object that is null (that is what the log says) however the 
logic:empty and logic:notEmpty tags are both executing the nested body.

JSP code:


NOT EMPTY




EMPTY



I have a log message in my currentTripPage.getCurrentImage() method. The 
log message says that currentImage is null and that is what it is 
returning when the method is getting called.

I am running jakarta-struts-1.1-b3 and Apache Tomcat/4.0.6.

Any ideas?

Thanks in advance-
Michael



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: logic:empty AND logic:notEmpty Both executing?

2003-01-30 Thread Michael P. Jones
Oh I feel silly now. 8-)

Thanks alot!

-Michael


On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote:

> You are closing your starting tag.
> Remove the / at the end of your starting tag
> ...pPage.currentImage"> instead of
> ...pPage.currentImage"/>


> On Thu, 30 Jan 2003 13:41:17 -0500 (EST)
>   "Michael P. Jones" <[EMAIL PROTECTED]> wrote:
> >Hello-
> >
> >I have an object that is null (that is what the log says) 
> >however the 
> >logic:empty and logic:notEmpty tags are both executing 
> >the nested body.
> >
> >JSP code:
> >
> > > property="tripReport.currentTripPage.currentImage"/>
> >NOT EMPTY
> >
> >
> >
> > >  property="tripReport.currentTripPage.currentImage"/>
> >EMPTY
> >
> >
> >
> >I have a log message in my 
> >currentTripPage.getCurrentImage() method. The 
> >log message says that currentImage is null and that is 
> >what it is 
> >returning when the method is getting called.
> >
> >I am running jakarta-struts-1.1-b3 and Apache 
> >Tomcat/4.0.6.
> >
> >Any ideas?
> >
> >Thanks in advance-
> >Michael
> >
> >
> >
> >-
> >To unsubscribe, e-mail: 
> >[EMAIL PROTECTED]
> >For additional commands, e-mail: 
> >[EMAIL PROTECTED]
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Forward a modified Request out of an Action

2002-10-30 Thread Michael P. Jones
Hello-

This is kind of a weird question but here goes

I have an Action class that takes some values from the session puts these
parameters into a RequestWrapper object (that I wrote so I can get and set
request params) under different names, then forwards this modified
RequestWrapper object off to another servlet in a different webapp.

Right now I have my action class forward the modified request off to the 
other webapp however this just kind of leaves my Action class hanging 
there in the open. 

So is there a cleaner more Struts way to handle this situation?

I need to:
- forward to a different webapp
- forward a modified request object


Thanks-
Michael

-- 
++
| Michael P Jones (503) 772-5180 |
||
| Boxerlearning   [EMAIL PROTECTED] |
++
| Remember. when you have unsafe email with  |
| someone, you're having email with all the  |
| other people that person's had unsafe email|
| with...|
++


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Performance and Scalability Information?

2002-06-12 Thread Michael P. Jones

Hello-

Currently my company is using lots of different servlets written by lots
of different people in lots of different styles. We want to adopt a
framework and start coding within that framework.
 
Struts is at the top of our list of frameworks however we do have some
questions about performance and scalability.
 
I dug through the mail archive for 'performance' and only found comments
related to JSP's and taglibs.
 
How do other parts of Struts fair under heavy usage?
Are there any known bottle necks or performance issues?
Does anyone have any statics or benchmarks on Struts performance?
 
Thanks-
Michael


--
To unsubscribe, e-mail:   
For additional commands, e-mail: