Re: Help - struggling this for days !

2004-09-10 Thread lixin chu
yes, I have a few pages, forms and actions. the
strange thing is that some works fine. I in one
particula action, I copy the key used in another
action which works, but it does not work in this
action.

Here is the action defintion:

 
 
 


In SearchTemplateForm.java, I have validate() which is
indeed called and action errors is set when name is
null, but it just not displayed on the jsp.

The flow is, I click a menu item, which pass a
parameter 'Prepare' to a LookupDispatchAction. But
before that the Validate() is called and suppose to
return back with erros and then display the Tiles
right ?

Here is the validate():

ActionErrors errors = null;
String parameter = request.getParameter ("method");
if (parameter == null ||  !
parameter.equalsIgnoreCase("prepare")) {
if ((name == null) || (name.length() < 1)) {
errors = new ActionErrors();
errors.add(ActionErrors.GLOBAL_ERROR, new
ActionError("errors.required", "Template name"));
}
}
return errors;



very strange !!!



--- Bryce Fischer <[EMAIL PROTECTED]> wrote:

> I assume that when you say
> messages.add(ActionMessages.GLOBAL_MESSAGE, new
> ActionMessage("something 
> here");
> 
> the "something here" corresponds to a key in your
> messages.properties 
> file (or whichever file has your resource messages)?
> 
> > lixin chu wrote:
> >
> >> Here is how I prepare action messages in Action:
> >>
> >> ActionMessages messages = new ActionMessages();
> >> messages.add(ActionMessages.GLOBAL_MESSAGE, new
> >> ActionMaessage ("something here"));
> >> saveMessages(request, messages);
> >>
> >> anything wrong ? 
> >
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool

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



Re: Help - struggling this for days !

2004-09-10 Thread lixin chu
thanks. 
it dislpays a nice table but no actual items. am i
suppose to modify anything in this file ?


--- Bill Siggelkow <[EMAIL PROTECTED]> wrote:

> You might try using the following JSP fragment
> (compliments of James 
> Mitchell) on your page -- it will show you objects
> in the request, etc.
> 
> 
> 
> Debug Information:
> 
>   
>style="background:aqua">Specific JSTL
> values
>   
> 
>   param.pageSize
>   
> 
> 
>   pageSize
>   
> 
> 
>   param.begin
>   
> 
> 
>   begin
>   
> 
> 
>   testLink
>   
> 
> 
> 
>   
>   Request
> Parameters
>   
>   
> 
>   
>   
>   
>   
>   
>   
> 
>   
> 
>   
>   Header
> Values
>   
>   
> 
>   
>   
>   
>   
> 
>   
> 
>   
>style="background:aqua">Initialization 
> Parameters
>   
>   
> 
>   
>   
> 
>   
> 
>   
>style="background:aqua">Cookies
>   
>   
> 
>   
>   
> 
>   
> 
> 
>   
>style="background:aqua">page
>   
>   
>   
> 
>   
>   
> 
> 
>   
> 
> 
>   
>style="background:aqua">request
>   
>   
> 
>   
>   
> 
>   
> 
> 
>   
>style="background:aqua">session
>   
>   
> 
>   
>   
> 
>   
> 
> 
>   
>style="background:aqua">application
>   
>   
> 
>   
>value="${itm.value}"/>
> 
>   
> 
> ---
> 
> lixin chu wrote:
> 
> > Here is how I prepare action messages in Action:
> > 
> > ActionMessages messages = new ActionMessages();
> > messages.add(ActionMessages.GLOBAL_MESSAGE, new
> > ActionMaessage ("something here"));
> > saveMessages(request, messages);
> > 
> > anything wrong ?
> > 
> > 
> > 
> > --- lixin chu <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>Hi,
> >>Appreciate your help, I have been trying to find
> out
> >>why for days.
> >>
> >>Here is my JSP:
> >>
> >>Search Templates
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>   
> >>   
> >>   
> >>color=#FF>Name*:
> >>>>size=20/>
> >>   
> >>
> >>   
> >>   Category*
> >>:
> >>   
> >>
> 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Is it possible to ignore the browser's locale?

2004-09-10 Thread Craig McClanahan
Here's at least three different ways to do what you are after:

* Turn off the normal Locale processing behavior in
  struts-config.xml:



* Use a Filter, or some utility method called by your Action,
  to store a Locale object in the session under the key specified
  by Globals.LOCALE_KEY before the JSP page is called.
  The Locale found here is what controls the language used
  when the page is actually rendered, and the default logic is
  invoked only if there is no such object present.

* Define your own RequestProcessor subclass and override
  the processLocale() method to do whatever you want.  The
  default implementation is the one that selects the locale
  based on the Accept-Language header.

Craig


On Fri, 10 Sep 2004 22:41:49 -0400, Bill Siggelkow
<[EMAIL PROTECTED]> wrote:
> I18N Gurus,
> 
> I am trying to find out if it is possible to configure Struts to ignore
> the brower's language but I can't seem to get it to work. I have set my
> browser's lang to Russian -- in struts-config I have:
> 
> On the page I am just using:
> 
> 
> ...
> 
> 
> 
> The message tag always returns the value from Russian bundle -- I am
> trying to instead have it use the server's locale (en_US). Generally, I
> know, this is not what you would want -- I am just trying to figure out
> if it is possible to have Struts *not* use the value from the accept-header.
> 
> I have also tried using  but this doesn't seem to
> work either.
> 
> -Bill Siggelkow
> 
> -
> 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]



Re: Create and submit POST form from Action

2004-09-10 Thread mail
Hey,
Thanks for your thoughts! But that's not the part I can't figure out ;-)
If I do implement things on this low level, I don't see how to route the 
users browser to the PayPal site.

Having a JSP/Servlet environment to play with, I am bound to what it 
offers me ...
I know how to do a POST submission, I just don't know how to do this 
from either a Struts Action,
or HttpServlet, having the users browser end up on the PayPal site to 
make his payment.

So if you, or anybody could help my stuck mind build the bridge to that, 
I'll be eternally thankful :o)

Thanks,
Chris
David G. Friedman wrote:
Let's see, you could google this search query: +java +code +post +paypal
You'll find this page which explains it all very nicely on how to post to
PayPal:
http://www.paypaldev.org/topic.asp?TOPIC_ID=228
My personal code is very similar to it.  I'm not the best coder so don't be
too critical of my code.  Below is a snippet of my method that does a POST
(HTTPS) to Verisign's PayFlowLink.  It shouldn't take much for you to do the
same to adapt it to HTTP(S?) Post to PayPal.
// BEGIN RELEVANT CODE SNIPPETS
// The basics are to put these things in your method:
// Add a security provider to allow SSL POSTs:
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
// Set a handler for SSL (not sure how this is different from the above
System.setProperty("java.protocol.handler.pkgs",
   "com.sun.net.ssl.internal.www.protocol");
try {
// Setup the URL:
URL url = new URL("https://payflowlink.verisign.com/RunTrans.cfm";);
// Setup the connection object:
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
// Setup the query string --- WARNING this below is for
// Verisign PayFlowLink, NOT PAYPAL!
String separators = new String("&");
StringBuffer parms = new StringBuffer("SOMETHING=SOMEVALUE" + separator);
parms.append("PARAMTWO=VALUETWO" + separator);
parms.append("PARAMTHREE=VALUETHREE" + separator);
// An echo print for your testing mode (remove in production)
System.out.println("Verisign POST is: " + parms.toString());
// Use a byte array for the String in the connection and set various
// properties for the connection
byte[] bytes = parms.toString().getBytes();
conn.setRequestMethod("POST");
conn.setRequestProperty("Content-Type",
"application/x-www-form-urlencoded");
conn.setRequestProperty("Content-length",
String.valueOf(bytes.length));
conn.setDoInput(true);
conn.setDoOutput(true);
OutputStream out = null;
// Perform the HTTPS POST
try {
out = conn.getOutputStream();
out.write(bytes);
out.flush();
out.close();
} catch (Exception e) {
System.out.println(
"Error opening OutputStream from Verisign Payment Post is:"
+ e.getMessage());
return (false);
}
// Read the returned information
BufferedReader reader =
new BufferedReader(
new InputStreamReader(conn.getInputStream()));
// Figure out how to read it.  I use Perl5Utils to scan through
// my Verisign result for specific error codes
response = reader.readLine();
} catch (MalformedURLException mue) {
System.out.println("Verisign Purchase: Bad URL, aborting.");
 return (false);
} catch (IOException ioe) {
System.out.println(
"Verisign Purchase: Failed Internet Connection Attempt.");
return (false);
}
// END RELEVANT CODE SNIPPETS
Regards,
David
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 7:16 PM
To: Struts Users Mailing List
Subject: Re: Create and submit POST form from Action
From: "mail" <[EMAIL PROTECTED]>
 

I populate my cart, and paypal expects a POST form submission to present
the user with the payment forms (register/login/submit payment),
and after the user submits or cancels the payment, paypal would submit a
reply form to my site ... at least this is the flow I understand from the
paypal developer docs.
   

AFAIK they do their thing and either post to your 'success' page or your
'failure' page.  So if you make your 'success' page a URL that maps to an
Action... wouldn't that do it?
You may also want to go talk with these guys:
http://www.paypaldev.org/topic.asp?TOPIC_ID=3239
--
Wendy Smoak
-
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]
 



Is it possible to ignore the browser's locale?

2004-09-10 Thread Bill Siggelkow
I18N Gurus,
I am trying to find out if it is possible to configure Struts to ignore 
the brower's language but I can't seem to get it to work. I have set my 
browser's lang to Russian -- in struts-config I have:

On the page I am just using:


...


The message tag always returns the value from Russian bundle -- I am 
trying to instead have it use the server's locale (en_US). Generally, I 
know, this is not what you would want -- I am just trying to figure out 
if it is possible to have Struts *not* use the value from the accept-header.

I have also tried using  but this doesn't seem to 
work either.

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


JavaScript Validation of Indexed Properties

2004-09-10 Thread Terry Roe
I guess my last post was too lengthy for anyone to read and respond to. 
 Trying again...

Does Struts JavaScript validation work with indexed properties?  If so, 
a pointer to an example would be appreciated.  If not, confirmation that 
it's not supported would be appreciated.

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


RE: good validator tutorial???

2004-09-10 Thread James Holmes
Hi Leandro,

Take a look at my article in Oracle Magazine on Validator.  It is a good
starting point.

http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html

-James
http://www.jamesholmes.com/struts/

-Original Message-
From: Leandro Melo [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 10, 2004 3:47 PM
To: struts jakarta
Subject: good validator tutorial???

Hi,
what are your choices when talking about a nice
validator tutorial. Not only a start up one, but one
that covers some important features that "getting
started" tutorials usually doen't cover.

tx,
Leandro





___
Yahoo! Messenger 6.0 - jogos, emoticons sonoros e muita diversão. Instale
agora!
http://br.download.yahoo.com/messenger/

-
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]



RE: Create and submit POST form from Action

2004-09-10 Thread David G. Friedman
Let's see, you could google this search query: +java +code +post +paypal

You'll find this page which explains it all very nicely on how to post to
PayPal:
http://www.paypaldev.org/topic.asp?TOPIC_ID=228

My personal code is very similar to it.  I'm not the best coder so don't be
too critical of my code.  Below is a snippet of my method that does a POST
(HTTPS) to Verisign's PayFlowLink.  It shouldn't take much for you to do the
same to adapt it to HTTP(S?) Post to PayPal.

// BEGIN RELEVANT CODE SNIPPETS

// The basics are to put these things in your method:

// Add a security provider to allow SSL POSTs:
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());

// Set a handler for SSL (not sure how this is different from the above
System.setProperty("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");

try {
// Setup the URL:
URL url = new URL("https://payflowlink.verisign.com/RunTrans.cfm";);

// Setup the connection object:
HttpURLConnection conn = (HttpURLConnection) url.openConnection();

// Setup the query string --- WARNING this below is for
// Verisign PayFlowLink, NOT PAYPAL!
String separators = new String("&");
StringBuffer parms = new StringBuffer("SOMETHING=SOMEVALUE" + separator);
parms.append("PARAMTWO=VALUETWO" + separator);
parms.append("PARAMTHREE=VALUETHREE" + separator);
// An echo print for your testing mode (remove in production)
System.out.println("Verisign POST is: " + parms.toString());

// Use a byte array for the String in the connection and set various
// properties for the connection
byte[] bytes = parms.toString().getBytes();
conn.setRequestMethod("POST");
conn.setRequestProperty("Content-Type",
"application/x-www-form-urlencoded");
conn.setRequestProperty("Content-length",
String.valueOf(bytes.length));
conn.setDoInput(true);
conn.setDoOutput(true);
OutputStream out = null;

// Perform the HTTPS POST
try {
out = conn.getOutputStream();
out.write(bytes);
out.flush();
out.close();
} catch (Exception e) {
System.out.println(
"Error opening OutputStream from Verisign Payment Post is:"
+ e.getMessage());
return (false);
}

// Read the returned information
BufferedReader reader =
new BufferedReader(
new InputStreamReader(conn.getInputStream()));

// Figure out how to read it.  I use Perl5Utils to scan through
// my Verisign result for specific error codes
response = reader.readLine();

} catch (MalformedURLException mue) {
System.out.println("Verisign Purchase: Bad URL, aborting.");
  return (false);
} catch (IOException ioe) {
System.out.println(
"Verisign Purchase: Failed Internet Connection Attempt.");
return (false);
}

// END RELEVANT CODE SNIPPETS

Regards,
David

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 7:16 PM
To: Struts Users Mailing List
Subject: Re: Create and submit POST form from Action


From: "mail" <[EMAIL PROTECTED]>
> I populate my cart, and paypal expects a POST form submission to present
> the user with the payment forms (register/login/submit payment),
> and after the user submits or cancels the payment, paypal would submit a
> reply form to my site ... at least this is the flow I understand from the
> paypal developer docs.

AFAIK they do their thing and either post to your 'success' page or your
'failure' page.  So if you make your 'success' page a URL that maps to an
Action... wouldn't that do it?

You may also want to go talk with these guys:
http://www.paypaldev.org/topic.asp?TOPIC_ID=3239

--
Wendy Smoak


-
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]



Re: Create and submit POST form from Action

2004-09-10 Thread mail
That's difinitely worth a big thanks! I'll try and see what they came up 
with.

Thanks!
Chris
Wendy Smoak wrote:
From: "mail" <[EMAIL PROTECTED]>
 

I populate my cart, and paypal expects a POST form submission to present
the user with the payment forms (register/login/submit payment),
and after the user submits or cancels the payment, paypal would submit a
reply form to my site ... at least this is the flow I understand from the
paypal developer docs.
   

AFAIK they do their thing and either post to your 'success' page or your
'failure' page.  So if you make your 'success' page a URL that maps to an
Action... wouldn't that do it?
You may also want to go talk with these guys:
http://www.paypaldev.org/topic.asp?TOPIC_ID=3239
 



Re: Create and submit POST form from Action

2004-09-10 Thread mail
Thanks, I will!
Chris
Jim Barrows wrote:
 

-Original Message-
From: mail [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 4:11 PM
To: Struts Users Mailing List
Subject: Re: Create and submit POST form from Action
;-) This is where I am right now. Confused as hell ...
   

 

 



Re: How To Validate Any Three out of the Five Text Fields Are Required?

2004-09-10 Thread João Vieira da Luz
Maybe you could do your ActionForm and override validate method... 

This method could test if the validation is to be passed or not. If it
is to do validation you can rely on validation.xml.




On Fri, 10 Sep 2004 13:43:03 -0500, Matt Bathje <[EMAIL PROTECTED]> wrote:
> You could probably use requiredif or validwhen to do this, but I think
> it would be extremely messy. I'm not aware of another built in validator
> that could handle this situation. You will probalby have to make your
> own unless somebody else has a better idea.
> 
> Matt
> 
> 
> 
> Caroline Jen wrote:
> > I have used the validation.xml to validate some
> > individual properties and been quite happy with the
> > feature.
> >
> > Now, I have a form with five text fields.  If any
> > three out of those five fields are filled out, it
> > passes the submit validation check.
> >
> > Is there any way to set 'required' for this kind of validation?
> >
> >
> >
> > ___
> > Do you Yahoo!?
> > Shop for Back-to-School deals on Yahoo! Shopping.
> > http://shopping.yahoo.com/backtoschool
> >
> > -
> > 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]



Re: Create and submit POST form from Action

2004-09-10 Thread Wendy Smoak
From: "mail" <[EMAIL PROTECTED]>
> I populate my cart, and paypal expects a POST form submission to present
> the user with the payment forms (register/login/submit payment),
> and after the user submits or cancels the payment, paypal would submit a
> reply form to my site ... at least this is the flow I understand from the
> paypal developer docs.

AFAIK they do their thing and either post to your 'success' page or your
'failure' page.  So if you make your 'success' page a URL that maps to an
Action... wouldn't that do it?

You may also want to go talk with these guys:
http://www.paypaldev.org/topic.asp?TOPIC_ID=3239

-- 
Wendy Smoak


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



RE: Create and submit POST form from Action

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: mail [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 4:11 PM
> To: Struts Users Mailing List
> Subject: Re: Create and submit POST form from Action
> 
> 
> ;-) This is where I am right now. Confused as hell ...

osCommerce is a php application that has successfully implemented a paypal module... 
it might be worthwhile to check that out and see what they're doing for that.

> 
> Chris
> 
> 
> Jim Barrows wrote:
> 
> >I don't think this is how this is supposed to be implmented. 
>  Last time I looked at paypals documentation for doing this 
> though It confused the hell out of me.  
> >
> >  
> >
> 
> -
> 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]



Re: Create and submit POST form from Action

2004-09-10 Thread mail
;-) This is where I am right now. Confused as hell ...
Chris
Jim Barrows wrote:
I don't think this is how this is supposed to be implmented.  Last time I looked at paypals documentation for doing this though It confused the hell out of me.  

 

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


RE: Create and submit POST form from Action

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: mail [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 3:55 PM
> To: Struts Users Mailing List
> Subject: Re: Create and submit POST form from Action
> 
> 
> Eh, no. The 3rd party site would submit to my site ...
> 
> What I am trying to implement is an interface to paypal and 
> this is the 
> flow that has to be implemented.
> 
> I populate my cart, and paypal expects a POST form submission 
> to present 
> the user with the payment forms (register/login/submit payment),
> and after the user submits or cancels the payment, paypal 
> would submit a 
> reply form to my site ... at least this is the flow I 
> understand from the
> paypal developer docs.
> 
> Now I try not to have a hidden form together with a submit 
> button on my 
> site to avoid people tampering with the cart before submission ...

I don't think this is how this is supposed to be implmented.  Last time I looked at 
paypals documentation for doing this though It confused the hell out of me.  

> 
> Thanks,
> Chris
> 
> 
> Jim Barrows wrote:
> 
> >  
> >
> >>-Original Message-
> >>From: mail [mailto:[EMAIL PROTECTED]
> >>Sent: Friday, September 10, 2004 3:28 PM
> >>To: Struts Users Mailing List
> >>Subject: Re: Create and submit POST form from Action
> >>
> >>
> >>Mmh, ok, I got the package, and had a closer look to it.
> >>But as I understand, there is no way to integrate it into 
> the struts 
> >>framework flow?
> >>
> >>What I'm trying to say is that I was looking for a way to 
> >>remain in the 
> >>struts framework api so that the form submission would take 
> >>place using 
> >>an ActionForward ...
> >>
> >>The 3rd party application would present the user something 
> he has to 
> >>do/read/agree and then submit an answer form back to my application.
> >>
> >>
> >
> >Um... okay but the 3rd prty form would submit to 
> their website and not yours
> >And, forward only works within the framework anyway.
> >
> >  
> >
> >>Thanks,
> >>Chris
> >>
> >>
> >>Tuncay Baskan wrote:
> >>
> >>
> >>
> jakarta has a project that will do this.
> 
>    
> 
> 
> 
> >>>... and the name of the project is httpclient.
> >>>
> >>>/tb.
> >>>
> >>>---
> --
> >>>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]



Re: Create and submit POST form from Action

2004-09-10 Thread mail
Eh, no. The 3rd party site would submit to my site ...
What I am trying to implement is an interface to paypal and this is the 
flow that has to be implemented.

I populate my cart, and paypal expects a POST form submission to present 
the user with the payment forms (register/login/submit payment),
and after the user submits or cancels the payment, paypal would submit a 
reply form to my site ... at least this is the flow I understand from the
paypal developer docs.

Now I try not to have a hidden form together with a submit button on my 
site to avoid people tampering with the cart before submission ...

Thanks,
Chris
Jim Barrows wrote:
 

-Original Message-
From: mail [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 3:28 PM
To: Struts Users Mailing List
Subject: Re: Create and submit POST form from Action
Mmh, ok, I got the package, and had a closer look to it.
But as I understand, there is no way to integrate it into the struts 
framework flow?

What I'm trying to say is that I was looking for a way to 
remain in the 
struts framework api so that the form submission would take 
place using 
an ActionForward ...

The 3rd party application would present the user something he has to 
do/read/agree and then submit an answer form back to my application.
   

Um... okay but the 3rd prty form would submit to their website and not 
yours
And, forward only works within the framework anyway.
 

Thanks,
Chris
Tuncay Baskan wrote:
   

jakarta has a project that will do this.
  

   

... and the name of the project is httpclient.
/tb.
-
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]
 



RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Carlos Chang [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 3:45 PM
> To: Struts Users Mailing List
> Subject: RE: [SOLVED]Cannot retrieve definition for form bean null
> 
> 
> Hello,  
> 
> Let me first apologize for this shameless plug but in reading the

Thank you for spam, and pretty much guaranteeing that not only will I be using a 
competitor in the future, but you'll end up in my firewalls list of black holes.


> problem below, I would like to note that our tool would have 
> immediately
> detected the invalid action mapping and automatically warned 
> you of the
> error and perhaps saving you some angst. How?  We map all 
> artifacts of a
> web application (jsp, struts, tags, etc.) and create an intelligent
> validation and dependency mapping throughout the web 
> application.  It's
> true and it's beautiful.  No more silly errors from misspellings,
> changed names, files, etc. (this includes struts resources) 
> It's dynamic
> and updated in real time.  The product is NitroX for Struts.  
> I'm happy
> to do a webex demo for you if you like. ;-)  (m7.webex.com) 
> 
> Thanks,
> -Carlos
> M7 Corporation
> www.m7.com 
> 
> 
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 10, 2004 3:27 PM
> To: Struts Users Mailing List
> Subject: RE: [SOLVED]Cannot retrieve definition for form bean null
> 
> 
> leads to the messageForm.jsp page that I had the
> problem with.
> 
>  is in the
> messageForm.jsp page.
> 
> So, the action mappings are correct now.  
> 
> What caused the problem I had earlier today was the
> missing name attribute in the action mapping.  
> 
> And the  --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > > -Original Message-
> > > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 10, 2004 3:09 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: [SOLVED]Cannot retrieve definition
> > for form bean null
> > > 
> > > 
> > > The  > > 
> > > 
> > 
> > Okay, the action here needs to match the action you
> > defined in your struts-config.xml, which according
> > to what you've sent, means that this should be:
> > 
> > 
> > 
> > > 
> > >  > 
> > And this should be  > that's a typo.
> > 
> > > 
> > > 
> > > 
> > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > 
> > > > 
> > > > 
> > > > > -Original Message-
> > > > > From: Caroline Jen
> > [mailto:[EMAIL PROTECTED]
> > > > > Sent: Friday, September 10, 2004 2:51 PM
> > > > > To: Struts Users Mailing List
> > > > > Subject: RE: [SOLVED]Cannot retrieve
> > definition
> > > > for form bean null
> > > > > 
> > > > > 
> > > > > Yeah, I think that there is another issue. 
> > > > > 
> > > > > I have added the name of the bean in the
> > action
> > > > > mapping, the  still gives
> > problems.
> > > > > 
> > > > > This one works:
> > > > >  > cols="62"
> > > > > WRAP>
> > > > > 
> > > > > This one does not work:
> > > > 
> > > > And you have this surrounded by
> > > > 
> > > > 
> > > > >  > rows="15"
> > > > > cols="62" WRAP>
> > > > 
> > > >  
> > > > 
> > > > What does the  > > > 
> > > > 
> > > > 
> > > > 
> > > > > 
> > > > > Okay, the action mapping is like:
> > > > > 
> > > > >  > > > > path="/MailMessage"
> > > > > parameter=".message.Form"
> > > > > name="messageForm"
> > > > >   
> > > > >
> > type="org.apache.struts.actions.ForwardAction"/>
> > > > > 
> > > > > and the  > > > > 
> > > > >   > > > > name="messageForm"
> > > > >   
> > > > >
> > > >
> > >
> >
> type="org.apache.struts.validator.DynaValidatorForm">
> > > > >> > > > name="msgtype"
> > > > > type="java.lang.String"/>
> > > > >> > > > name="sender"
> > > > > type="java.lang.String"/>
> > > > >> > > > name="receiver"
> > > > > type="java.lang.String"/>
> > > > >> > > > name="messageTopic"
> > > > > type="java.lang.String"/>
> > > > >> > > > name="priority"
> > > > > type="java.lang.String"/>
> > > > >> > > > name="distribution"
> > > > > type="java.lang.String"/>
> > > > >> > > > name="messageBody"
> > > > > type="java.lang.String"/>
> > > > > 
> > > > > 
> > > > > 
> > > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > > > 
> > > > > > 
> > > > > > 
> > > > > > > -Original Message-
> > > > > > > From: Matt Bathje
> > [mailto:[EMAIL PROTECTED]
> > > > > > > Sent: Friday, September 10, 2004 2:38 PM
> > > > > > > To: Struts Users Mailing List
> > > > > > > Subject: Re: [SOLVED]Cannot retrieve
> > > > definition
> > > > > > for form bean null
> > > > > > > 
> > > > > > > 
> > > > > > > Jim Barrows wrote:
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > > 
> > > > > 

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Carlos Chang
Hello,  

Let me first apologize for this shameless plug but in reading the
problem below, I would like to note that our tool would have immediately
detected the invalid action mapping and automatically warned you of the
error and perhaps saving you some angst. How?  We map all artifacts of a
web application (jsp, struts, tags, etc.) and create an intelligent
validation and dependency mapping throughout the web application.  It's
true and it's beautiful.  No more silly errors from misspellings,
changed names, files, etc. (this includes struts resources) It's dynamic
and updated in real time.  The product is NitroX for Struts.  I'm happy
to do a webex demo for you if you like. ;-)  (m7.webex.com) 

Thanks,
-Carlos
M7 Corporation
www.m7.com 


-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 10, 2004 3:27 PM
To: Struts Users Mailing List
Subject: RE: [SOLVED]Cannot retrieve definition for form bean null


leads to the messageForm.jsp page that I had the
problem with.

 is in the
messageForm.jsp page.

So, the action mappings are correct now.  

What caused the problem I had earlier today was the
missing name attribute in the action mapping.  

And the  wrote:

> 
> 
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 3:09 PM
> > To: Struts Users Mailing List
> > Subject: RE: [SOLVED]Cannot retrieve definition
> for form bean null
> > 
> > 
> > The  > 
> > 
> 
> Okay, the action here needs to match the action you
> defined in your struts-config.xml, which according
> to what you've sent, means that this should be:
> 
> 
> 
> > 
> >  
> And this should be  that's a typo.
> 
> > 
> > 
> > 
> > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > 
> > > > -Original Message-
> > > > From: Caroline Jen
> [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, September 10, 2004 2:51 PM
> > > > To: Struts Users Mailing List
> > > > Subject: RE: [SOLVED]Cannot retrieve
> definition
> > > for form bean null
> > > > 
> > > > 
> > > > Yeah, I think that there is another issue. 
> > > > 
> > > > I have added the name of the bean in the
> action
> > > > mapping, the  still gives
> problems.
> > > > 
> > > > This one works:
> > > >  cols="62"
> > > > WRAP>
> > > > 
> > > > This one does not work:
> > > 
> > > And you have this surrounded by
> > > 
> > > 
> > > >  rows="15"
> > > > cols="62" WRAP>
> > > 
> > >  
> > > 
> > > What does the  > > 
> > > 
> > > 
> > > 
> > > > 
> > > > Okay, the action mapping is like:
> > > > 
> > > >  > > > path="/MailMessage"
> > > > parameter=".message.Form"
> > > > name="messageForm"
> > > >   
> > > >
> type="org.apache.struts.actions.ForwardAction"/>
> > > > 
> > > > and the  > > > 
> > > >   > > > name="messageForm"
> > > >   
> > > >
> > >
> >
>
type="org.apache.struts.validator.DynaValidatorForm">
> > > >> > > name="msgtype"
> > > > type="java.lang.String"/>
> > > >> > > name="sender"
> > > > type="java.lang.String"/>
> > > >> > > name="receiver"
> > > > type="java.lang.String"/>
> > > >> > > name="messageTopic"
> > > > type="java.lang.String"/>
> > > >> > > name="priority"
> > > > type="java.lang.String"/>
> > > >> > > name="distribution"
> > > > type="java.lang.String"/>
> > > >> > > name="messageBody"
> > > > type="java.lang.String"/>
> > > > 
> > > > 
> > > > 
> > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > > 
> > > > > 
> > > > > > -Original Message-
> > > > > > From: Matt Bathje
> [mailto:[EMAIL PROTECTED]
> > > > > > Sent: Friday, September 10, 2004 2:38 PM
> > > > > > To: Struts Users Mailing List
> > > > > > Subject: Re: [SOLVED]Cannot retrieve
> > > definition
> > > > > for form bean null
> > > > > > 
> > > > > > 
> > > > > > Jim Barrows wrote:
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > Not the form bean class... The action
> > > definition
> > > > > in struts-config.
> > > > > > >  > > > > > >   name="yourFormName" 
> > > > > >
> <<< > > > > this!!!
> > > > > > > 
> > > > >
> > >
> type="com.sssc.csr.web.actions.ShowBorrowerAction">
> > > > > > >> > > > > path="borrowerInfo">
> > > > > > >   
> > > > > > > You have to tell the action definition
> what
> > > form
> > > > > your 
> > > > > > using, regardless of whether it is
> DynaForm,
> > > > > ValidatorForm or 
> > > > > > ActionForm. 
> > > > > > > When one of the  executed it
> > > > > looks for the 
> > > > > >  > > looks in
> > > > > 
> > > > > > struts-config for the form name THEN it
> > > creates
> > > > > the tag.  You 
>

RE: Create and submit POST form from Action

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: mail [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 3:28 PM
> To: Struts Users Mailing List
> Subject: Re: Create and submit POST form from Action
> 
> 
> Mmh, ok, I got the package, and had a closer look to it.
> But as I understand, there is no way to integrate it into the struts 
> framework flow?
> 
> What I'm trying to say is that I was looking for a way to 
> remain in the 
> struts framework api so that the form submission would take 
> place using 
> an ActionForward ...
> 
> The 3rd party application would present the user something he has to 
> do/read/agree and then submit an answer form back to my application.

Um... okay but the 3rd prty form would submit to their website and not 
yours
And, forward only works within the framework anyway.

> 
> Thanks,
> Chris
> 
> 
> Tuncay Baskan wrote:
> 
> >>jakarta has a project that will do this.
> >>
> >>
> >>
> >
> >... and the name of the project is httpclient.
> >
> >/tb.
> >
> >-
> >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]



RE: Tile Pieces Are Not Aligned

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 3:16 PM
> To: Struts Users Mailing List
> Subject: RE: Tile Pieces Are Not Aligned
> 
> 
> But, I did use table in my basic layout for those four
> pieces of tiles.
> 
> 
>

>   

>
>
>   


>  
>   
>   


>  
>   
>
>



>   



>
> 
> 
> The text at the top of the tile (which has all the
> links) on my left hand side displays at a position
> much higher than that of the text at the top of the
> 'content'tile.

Yepper.. that's the way it will render.  Nothing a little table html magic won't cure 
:) see above.


> --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > > -Original Message-
> > > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 10, 2004 3:04 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Tile Pieces Are Not Aligned
> > > 
> > > 
> > > I am using the tiles feature.  So far so good, all
> > > pieces are displayed.
> > > 
> > > I have four pieces of tiles: topbar (always the
> > same
> > > in every page), sidebar (always the same bunch of
> > > links in every page), lowbar (alsyas the same in
> > every
> > > page), and the 'content' tile (which varies from
> > page
> > > to page).
> > > 
> > > The problem is with the 'content' tile, which is
> > in
> > > the center and to the right hand side of the
> > sidebar.
> > > 
> > > The position of the first line of text in the
> > sidebar
> > > is always MUCH HIGHER than that of the 'content'
> > tile.
> > >  That is to say, the top of those two pieces of
> > tiles
> > > are not aligned.
> > > 
> > > Is there any alignment technique?  Right now, my
> > web
> > > pages look ugly.
> > 
> > CSS or tables.  
> > Actually the CSS purists will pretty much revoke my
> > CSS snob priveleges for mentioning tables for
> > formatting...but hey what the heck it's an option.
> > 
> > 
> >
> -
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> -
> 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]



Re: Create and submit POST form from Action

2004-09-10 Thread mail
Mmh, ok, I got the package, and had a closer look to it.
But as I understand, there is no way to integrate it into the struts 
framework flow?

What I'm trying to say is that I was looking for a way to remain in the 
struts framework api so that the form submission would take place using 
an ActionForward ...

The 3rd party application would present the user something he has to 
do/read/agree and then submit an answer form back to my application.

Thanks,
Chris
Tuncay Baskan wrote:
jakarta has a project that will do this.
   

... and the name of the project is httpclient.
/tb.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



Re: Tile Pieces Are Not Aligned

2004-09-10 Thread Jason Lea
If you are using tables, then you probably want to make your 's into 

It sounds like there might be a lot of links, and the content page has 
fewer lines, so the browser is centering the content vertically.  valign 
forces the browser to display the content at the top of the cell.

eg

  
 
  
  
 

 
 

 
  
  
 
  


Caroline Jen wrote:
But, I did use table in my basic layout for those four
pieces of tiles.

  
 
  
  
 

 
 

 
  
  
 
  

The text at the top of the tile (which has all the
links) on my left hand side displays at a position
much higher than that of the text at the top of the
'content'tile.
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
 

   

-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 3:04 PM
To: [EMAIL PROTECTED]
Subject: Tile Pieces Are Not Aligned
I am using the tiles feature.  So far so good, all
pieces are displayed.
I have four pieces of tiles: topbar (always the
 

same
   

in every page), sidebar (always the same bunch of
links in every page), lowbar (alsyas the same in
 

every
   

page), and the 'content' tile (which varies from
 

page
   

to page).
The problem is with the 'content' tile, which is
 

in
   

the center and to the right hand side of the
 

sidebar.
   

The position of the first line of text in the
 

sidebar
   

is always MUCH HIGHER than that of the 'content'
 

tile.
   

That is to say, the top of those two pieces of
 

tiles
   

are not aligned.
Is there any alignment technique?  Right now, my
 

web
   

pages look ugly.
 

CSS or tables.  
Actually the CSS purists will pretty much revoke my
CSS snob priveleges for mentioning tables for
formatting...but hey what the heck it's an option.


   

-
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


--
Jason Lea



RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen

leads to the messageForm.jsp page that I had the
problem with.

 is in the
messageForm.jsp page.

So, the action mappings are correct now.  

What caused the problem I had earlier today was the
missing name attribute in the action mapping.  

And the  wrote:

> 
> 
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 3:09 PM
> > To: Struts Users Mailing List
> > Subject: RE: [SOLVED]Cannot retrieve definition
> for form bean null
> > 
> > 
> > The  > 
> > 
> 
> Okay, the action here needs to match the action you
> defined in your struts-config.xml, which according
> to what you've sent, means that this should be:
> 
> 
> 
> > 
> >  
> And this should be  that's a typo.
> 
> > 
> > 
> > 
> > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > 
> > > > -Original Message-
> > > > From: Caroline Jen
> [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, September 10, 2004 2:51 PM
> > > > To: Struts Users Mailing List
> > > > Subject: RE: [SOLVED]Cannot retrieve
> definition
> > > for form bean null
> > > > 
> > > > 
> > > > Yeah, I think that there is another issue. 
> > > > 
> > > > I have added the name of the bean in the
> action
> > > > mapping, the  still gives
> problems.
> > > > 
> > > > This one works:
> > > >  cols="62"
> > > > WRAP>
> > > > 
> > > > This one does not work:
> > > 
> > > And you have this surrounded by
> > > 
> > > 
> > > >  rows="15"
> > > > cols="62" WRAP>
> > > 
> > >  
> > > 
> > > What does the  > > 
> > > 
> > > 
> > > 
> > > > 
> > > > Okay, the action mapping is like:
> > > > 
> > > >  > > > path="/MailMessage"
> > > > parameter=".message.Form"
> > > > name="messageForm"
> > > >   
> > > >
> type="org.apache.struts.actions.ForwardAction"/>
> > > > 
> > > > and the  > > > 
> > > >   > > > name="messageForm"
> > > >   
> > > >
> > >
> >
>
type="org.apache.struts.validator.DynaValidatorForm">
> > > >> > > name="msgtype"
> > > > type="java.lang.String"/>
> > > >> > > name="sender"
> > > > type="java.lang.String"/>
> > > >> > > name="receiver"
> > > > type="java.lang.String"/>
> > > >> > > name="messageTopic"
> > > > type="java.lang.String"/>
> > > >> > > name="priority"
> > > > type="java.lang.String"/>
> > > >> > > name="distribution"
> > > > type="java.lang.String"/>
> > > >> > > name="messageBody"
> > > > type="java.lang.String"/>
> > > > 
> > > > 
> > > > 
> > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > > 
> > > > > 
> > > > > > -Original Message-
> > > > > > From: Matt Bathje
> [mailto:[EMAIL PROTECTED]
> > > > > > Sent: Friday, September 10, 2004 2:38 PM
> > > > > > To: Struts Users Mailing List
> > > > > > Subject: Re: [SOLVED]Cannot retrieve
> > > definition
> > > > > for form bean null
> > > > > > 
> > > > > > 
> > > > > > Jim Barrows wrote:
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > Not the form bean class... The action
> > > definition
> > > > > in struts-config.
> > > > > > >  > > > > > >   name="yourFormName" 
> > > > > >
> <<< > > > > this!!!
> > > > > > > 
> > > > >
> > >
> type="com.sssc.csr.web.actions.ShowBorrowerAction">
> > > > > > >> > > > > path="borrowerInfo">
> > > > > > >   
> > > > > > > You have to tell the action definition
> what
> > > form
> > > > > your 
> > > > > > using, regardless of whether it is
> DynaForm,
> > > > > ValidatorForm or 
> > > > > > ActionForm. 
> > > > > > > When one of the  executed it
> > > > > looks for the 
> > > > > >  > > looks in
> > > > > 
> > > > > > struts-config for the form name THEN it
> > > creates
> > > > > the tag.  You 
> > > > > > don't have a name parameter, so it's
> saying
> > > that
> > > > > it's null.
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > >>
> > > > > > 
> > > > > > Jim - doesn't she have this correct
> already?
> > > Based
> > > > > on what I 
> > > > > > see here I 
> > > > > > think so:
> > > > > 
> > > > > Last time I saw her code, no she didn't have
> the
> > > > > name...in a message I posted to her I added
> that
> > > > > line right about where that one is... 
> > > > > 
> > > > > If she does have that, then yes, there is
> > > another
> > > > > issue.
> > > > > 
> > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > >>>
> 
=== message truncated ===




__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

-
To unsubscribe, e-mail: [EMAIL PROT

RE: Tile Pieces Are Not Aligned

2004-09-10 Thread Caroline Jen
But, I did use table in my basic layout for those four
pieces of tiles.


   
  
   
   
  
 
  
  
 
  
   
   
  
   


The text at the top of the tile (which has all the
links) on my left hand side displays at a position
much higher than that of the text at the top of the
'content'tile.
--- Jim Barrows <[EMAIL PROTECTED]> wrote:

> 
> 
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 3:04 PM
> > To: [EMAIL PROTECTED]
> > Subject: Tile Pieces Are Not Aligned
> > 
> > 
> > I am using the tiles feature.  So far so good, all
> > pieces are displayed.
> > 
> > I have four pieces of tiles: topbar (always the
> same
> > in every page), sidebar (always the same bunch of
> > links in every page), lowbar (alsyas the same in
> every
> > page), and the 'content' tile (which varies from
> page
> > to page).
> > 
> > The problem is with the 'content' tile, which is
> in
> > the center and to the right hand side of the
> sidebar.
> > 
> > The position of the first line of text in the
> sidebar
> > is always MUCH HIGHER than that of the 'content'
> tile.
> >  That is to say, the top of those two pieces of
> tiles
> > are not aligned.
> > 
> > Is there any alignment technique?  Right now, my
> web
> > pages look ugly.
> 
> CSS or tables.  
> Actually the CSS purists will pretty much revoke my
> CSS snob priveleges for mentioning tables for
> formatting...but hey what the heck it's an option.
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 3:09 PM
> To: Struts Users Mailing List
> Subject: RE: [SOLVED]Cannot retrieve definition for form bean null
> 
> 
> The  
> 

Okay, the action here needs to match the action you defined in your struts-config.xml, 
which according to what you've sent, means that this should be:



> 
>  
> 
> 
> --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > > -Original Message-
> > > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 10, 2004 2:51 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: [SOLVED]Cannot retrieve definition
> > for form bean null
> > > 
> > > 
> > > Yeah, I think that there is another issue. 
> > > 
> > > I have added the name of the bean in the action
> > > mapping, the  still gives problems.
> > > 
> > > This one works:
> > >  > > WRAP>
> > > 
> > > This one does not work:
> > 
> > And you have this surrounded by
> > 
> > 
> > >  > > cols="62" WRAP>
> > 
> >  
> > 
> > What does the  > 
> > 
> > 
> > 
> > > 
> > > Okay, the action mapping is like:
> > > 
> > >  > > path="/MailMessage"
> > > parameter=".message.Form"
> > > name="messageForm"
> > >   
> > > type="org.apache.struts.actions.ForwardAction"/>
> > > 
> > > and the  > > 
> > >   > > name="messageForm"
> > >   
> > >
> >
> type="org.apache.struts.validator.DynaValidatorForm">
> > >> > name="msgtype"
> > > type="java.lang.String"/>
> > >> > name="sender"
> > > type="java.lang.String"/>
> > >> > name="receiver"
> > > type="java.lang.String"/>
> > >> > name="messageTopic"
> > > type="java.lang.String"/>
> > >> > name="priority"
> > > type="java.lang.String"/>
> > >> > name="distribution"
> > > type="java.lang.String"/>
> > >> > name="messageBody"
> > > type="java.lang.String"/>
> > > 
> > > 
> > > 
> > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > 
> > > > 
> > > > 
> > > > > -Original Message-
> > > > > From: Matt Bathje [mailto:[EMAIL PROTECTED]
> > > > > Sent: Friday, September 10, 2004 2:38 PM
> > > > > To: Struts Users Mailing List
> > > > > Subject: Re: [SOLVED]Cannot retrieve
> > definition
> > > > for form bean null
> > > > > 
> > > > > 
> > > > > Jim Barrows wrote:
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > > 
> > > > > > 
> > > > > > Not the form bean class... The action
> > definition
> > > > in struts-config.
> > > > > >  > > > > > name="yourFormName" 
> > > > > <<< > > > this!!!
> > > > > > 
> > > >
> > type="com.sssc.csr.web.actions.ShowBorrowerAction">
> > > > > >  > > > > path="borrowerInfo">
> > > > > > 
> > > > > > You have to tell the action definition what
> > form
> > > > your 
> > > > > using, regardless of whether it is DynaForm,
> > > > ValidatorForm or 
> > > > > ActionForm. 
> > > > > > When one of the  > > > looks for the 
> > > > >  > looks in
> > > > 
> > > > > struts-config for the form name THEN it
> > creates
> > > > the tag.  You 
> > > > > don't have a name parameter, so it's saying
> > that
> > > > it's null.
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >>
> > > > > 
> > > > > Jim - doesn't she have this correct already?
> > Based
> > > > on what I 
> > > > > see here I 
> > > > > think so:
> > > > 
> > > > Last time I saw her code, no she didn't have the
> > > > name...in a message I posted to her I added that
> > > > line right about where that one is... 
> > > > 
> > > > If she does have that, then yes, there is
> > another
> > > > issue.
> > > > 
> > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > >>>
> > > > > >>>> > > > >>>   path="/message/SendMessage"
> > > > > >>>  
> > > > type="org.dhsinfo.message.SendMessage"
> > > > > >>>   name="messageForm"
> > > > > >>>   scope="request"
> > > > > >>>   validate="false"
> > > > > >>>   input=".message.Form">
> > > > > >>>   > > > > >>>   name="success"
> > > > > >>>  
> > > > >
> > >>>path="/confirmation/messageForwarded.jsp"/>
> > > > > >>>   
> > > > > >>>
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >
> > > >
> > >
> >
> -
> > > > > 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

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
The 



--- Jim Barrows <[EMAIL PROTECTED]> wrote:

> 
> 
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 2:51 PM
> > To: Struts Users Mailing List
> > Subject: RE: [SOLVED]Cannot retrieve definition
> for form bean null
> > 
> > 
> > Yeah, I think that there is another issue. 
> > 
> > I have added the name of the bean in the action
> > mapping, the  still gives problems.
> > 
> > This one works:
> >  > WRAP>
> > 
> > This one does not work:
> 
> And you have this surrounded by
> 
> 
> >  > cols="62" WRAP>
> 
>  
> 
> What does the  
> 
> 
> 
> > 
> > Okay, the action mapping is like:
> > 
> >  > path="/MailMessage"
> > parameter=".message.Form"
> > name="messageForm"
> >   
> > type="org.apache.struts.actions.ForwardAction"/>
> > 
> > and the  > 
> >   > name="messageForm"
> >   
> >
>
type="org.apache.struts.validator.DynaValidatorForm">
> >> name="msgtype"
> > type="java.lang.String"/>
> >> name="sender"
> > type="java.lang.String"/>
> >> name="receiver"
> > type="java.lang.String"/>
> >> name="messageTopic"
> > type="java.lang.String"/>
> >> name="priority"
> > type="java.lang.String"/>
> >> name="distribution"
> > type="java.lang.String"/>
> >> name="messageBody"
> > type="java.lang.String"/>
> > 
> > 
> > 
> > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > 
> > > > -Original Message-
> > > > From: Matt Bathje [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, September 10, 2004 2:38 PM
> > > > To: Struts Users Mailing List
> > > > Subject: Re: [SOLVED]Cannot retrieve
> definition
> > > for form bean null
> > > > 
> > > > 
> > > > Jim Barrows wrote:
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > > 
> > > > > 
> > > > > Not the form bean class... The action
> definition
> > > in struts-config.
> > > > >  > > > >   name="yourFormName" 
> > > > <<< > > this!!!
> > > > > 
> > >
> type="com.sssc.csr.web.actions.ShowBorrowerAction">
> > > > >> > > path="borrowerInfo">
> > > > >   
> > > > > You have to tell the action definition what
> form
> > > your 
> > > > using, regardless of whether it is DynaForm,
> > > ValidatorForm or 
> > > > ActionForm. 
> > > > > When one of the  > > looks for the 
> > > >  looks in
> > > 
> > > > struts-config for the form name THEN it
> creates
> > > the tag.  You 
> > > > don't have a name parameter, so it's saying
> that
> > > it's null.
> > > > > 
> > > > > 
> > > > > 
> > > > >>
> > > > 
> > > > Jim - doesn't she have this correct already?
> Based
> > > on what I 
> > > > see here I 
> > > > think so:
> > > 
> > > Last time I saw her code, no she didn't have the
> > > name...in a message I posted to her I added that
> > > line right about where that one is... 
> > > 
> > > If she does have that, then yes, there is
> another
> > > issue.
> > > 
> > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > >>>
> > > > >>>> > > >>>   path="/message/SendMessage"
> > > > >>>  
> > > type="org.dhsinfo.message.SendMessage"
> > > > >>>   name="messageForm"
> > > > >>>   scope="request"
> > > > >>>   validate="false"
> > > > >>>   input=".message.Form">
> > > > >>>   > > > >>>   name="success"
> > > > >>>  
> > > >
> >>>path="/confirmation/messageForwarded.jsp"/>
> > > > >>>   
> > > > >>>
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > >
> >
>
-
> > > > 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]
> > > 
> > > 
> > 
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - Send 10MB messages!
> > http://promotions.yahoo.com/new_mail 
> > 
> >
>
-
> 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: Tile Pieces Are Not Aligned

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 3:04 PM
> To: [EMAIL PROTECTED]
> Subject: Tile Pieces Are Not Aligned
> 
> 
> I am using the tiles feature.  So far so good, all
> pieces are displayed.
> 
> I have four pieces of tiles: topbar (always the same
> in every page), sidebar (always the same bunch of
> links in every page), lowbar (alsyas the same in every
> page), and the 'content' tile (which varies from page
> to page).
> 
> The problem is with the 'content' tile, which is in
> the center and to the right hand side of the sidebar.
> 
> The position of the first line of text in the sidebar
> is always MUCH HIGHER than that of the 'content' tile.
>  That is to say, the top of those two pieces of tiles
> are not aligned.
> 
> Is there any alignment technique?  Right now, my web
> pages look ugly.

CSS or tables.  
Actually the CSS purists will pretty much revoke my CSS snob priveleges for mentioning 
tables for formatting...but hey what the heck it's an option.


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



Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
Matt, I think you are right.  I think that the WRAP
causes the problem.  Of course, my previous problem is
missing the 'name' attribute in the action mapping.
--- Matt Bathje <[EMAIL PROTECTED]> wrote:

> Are you sure that your textarea is generating
> properly when you use the 
> html:textarea tag? The WRAP should make it bomb
> right away...from what I 
> can tell, there is no valid wrapping attribute for
> html:textarea, and 
> even if there were, it would have to say
> wrap="something" to be valid, 
> not just WRAP.
> 
> Make sure that the page is being fully rendered, and
> not generating errors.
> 
> 
> 
> Try doing the textarea as:
>  cols="62" />
> 
> 
> Mat
> 
> 
> 
> Caroline Jen wrote:
> 
> > Yeah, I think that there is another issue. 
> > 
> > I have added the name of the bean in the action
> > mapping, the  still gives problems.
> > 
> > This one works:
> >  > WRAP>
> > 
> > This one does not work:
> >  > cols="62" WRAP>
> > 
> > Okay, the action mapping is like:
> > 
> >  > path="/MailMessage"
> > parameter=".message.Form"
> > name="messageForm"
> >   
> > type="org.apache.struts.actions.ForwardAction"/>
> > 
> > and the  > 
> >   > name="messageForm"
> >   
> >
>
type="org.apache.struts.validator.DynaValidatorForm">
> >> name="msgtype"
> > type="java.lang.String"/>
> >> name="sender"
> > type="java.lang.String"/>
> >> name="receiver"
> > type="java.lang.String"/>
> >> name="messageTopic"
> > type="java.lang.String"/>
> >> name="priority"
> > type="java.lang.String"/>
> >> name="distribution"
> > type="java.lang.String"/>
> >> name="messageBody"
> > type="java.lang.String"/>
> > 
> > 
> > 
> > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>
> >>>-Original Message-
> >>>From: Matt Bathje [mailto:[EMAIL PROTECTED]
> >>>Sent: Friday, September 10, 2004 2:38 PM
> >>>To: Struts Users Mailing List
> >>>Subject: Re: [SOLVED]Cannot retrieve definition
> >>
> >>for form bean null
> >>
> >>>
> >>>Jim Barrows wrote:
> >>>
> >>>
> >>>
> >>>
> >>>
> 
> Not the form bean class... The action definition
> >>
> >>in struts-config.
> >>
>    name="yourFormName" 
> >>>
> >>><<< >>
> >>this!!!
> >>
>
>>type="com.sssc.csr.web.actions.ShowBorrowerAction">
> >>
>    >>>
> >>>path="borrowerInfo">
> >>>
>   
> You have to tell the action definition what form
> >>
> >>your 
> >>
> >>>using, regardless of whether it is DynaForm,
> >>
> >>ValidatorForm or 
> >>
> >>>ActionForm. 
> >>>
> When one of the  >>
> >>looks for the 
> >>
> >>> in
> >>
> >>>struts-config for the form name THEN it creates
> >>
> >>the tag.  You 
> >>
> >>>don't have a name parameter, so it's saying that
> >>
> >>it's null.
> >>
> 
> 
> >>>Jim - doesn't she have this correct already?
> Based
> >>
> >>on what I 
> >>
> >>>see here I 
> >>>think so:
> >>
> >>Last time I saw her code, no she didn't have the
> >>name...in a message I posted to her I added that
> >>line right about where that one is... 
> >>
> >>If she does have that, then yes, there is another
> >>issue.
> >>
> >>
> >>
> >>>
> >>>
> >>>
> >>   >>  path="/message/SendMessage"
> >> 
> >>
> >>type="org.dhsinfo.message.SendMessage"
> >>
> >>  name="messageForm"
> >>  scope="request"
> >>  validate="false"
> >>  input=".message.Form">
> >>  >>  name="success"
> >> 
>
>>path="/confirmation/messageForwarded.jsp"/>
> >>  
> >>
> >>>
> >>>
> >>>
> >>>
> >
>
-
> > 
> >>>To unsubscribe, e-mail:
> >>
> >>[EMAIL PROTECTED]
> >>
> >>>For additional commands, e-mail:
> >>
> >>[EMAIL PROTECTED]
> >>
> >>>
> >>
> >
>
-
> > 
> >>To unsubscribe, e-mail:
> 
=== message truncated ===




___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool

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



Tile Pieces Are Not Aligned

2004-09-10 Thread Caroline Jen
I am using the tiles feature.  So far so good, all
pieces are displayed.

I have four pieces of tiles: topbar (always the same
in every page), sidebar (always the same bunch of
links in every page), lowbar (alsyas the same in every
page), and the 'content' tile (which varies from page
to page).

The problem is with the 'content' tile, which is in
the center and to the right hand side of the sidebar.

The position of the first line of text in the sidebar
is always MUCH HIGHER than that of the 'content' tile.
 That is to say, the top of those two pieces of tiles
are not aligned.

Is there any alignment technique?  Right now, my web
pages look ugly.







__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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



Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Matt Bathje
Are you sure that your textarea is generating properly when you use the 
html:textarea tag? The WRAP should make it bomb right away...from what I 
can tell, there is no valid wrapping attribute for html:textarea, and 
even if there were, it would have to say wrap="something" to be valid, 
not just WRAP.

Make sure that the page is being fully rendered, and not generating errors.

Try doing the textarea as:

Mat

Caroline Jen wrote:
Yeah, I think that there is another issue. 

I have added the name of the bean in the action
mapping, the  still gives problems.
This one works:

This one does not work:

Okay, the action mapping is like:

path="/MailMessage"
parameter=".message.Form"
name="messageForm"
  
type="org.apache.struts.actions.ForwardAction"/>

and the 
 
name="messageForm"
  
type="org.apache.struts.validator.DynaValidatorForm">
  
name="msgtype"
type="java.lang.String"/>
  
name="sender"
type="java.lang.String"/>
  
name="receiver"
type="java.lang.String"/>
  
name="messageTopic"
type="java.lang.String"/>
  
name="priority"
type="java.lang.String"/>
  
name="distribution"
type="java.lang.String"/>
  
name="messageBody"
type="java.lang.String"/>


--- Jim Barrows <[EMAIL PROTECTED]> wrote:


-Original Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 2:38 PM
To: Struts Users Mailing List
Subject: Re: [SOLVED]Cannot retrieve definition
for form bean null
Jim Barrows wrote:


Not the form bean class... The action definition
in struts-config.
<<
			path="borrowerInfo">

You have to tell the action definition what form
your 

using, regardless of whether it is DynaForm,
ValidatorForm or 

ActionForm. 

When one of the looks for the 


struts-config for the form name THEN it creates
the tag.  You 

don't have a name parameter, so it's saying that
it's null.

Jim - doesn't she have this correct already? Based
on what I 

see here I 
think so:
Last time I saw her code, no she didn't have the
name...in a message I posted to her I added that
line right about where that one is... 

If she does have that, then yes, there is another
issue.


 

type="org.dhsinfo.message.SendMessage"
 name="messageForm"
 scope="request"
 validate="false"
 input=".message.Form">

 name="success"

path="/confirmation/messageForwarded.jsp"/>
 



-
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]



		
__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

-
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]


Re: struts-el

2004-09-10 Thread Jason Lea
Woodchuck wrote:
--- Craig McClanahan <[EMAIL PROTECTED]> wrote:
 

On Fri, 10 Sep 2004 18:23:46 +1200, Jason Lea <[EMAIL PROTECTED]>
wrote:
   

Though, if you are using tomcat 5 (which has JSP2/JSTL1.1) then you
don't need struts el, just use the normal struts tags as Tomcat
 

takes
   

care of the EL expressions.
 

To be a little bit more verbose, this behavior is only enabled (in
Tomcat 5 or any other container that implements JSP 2.0) if your
web.xml file declares itself to be compatible with Servlet 2.4, by
including the following text at the top:
   http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">
   

is it good practice in general to not use live references to the
various definition files in web.xml?
do servlet containers cache these definition files?  (ie. only fetch
them once at startup?)
is it possible to store all of these definition files locally and
reference them all locally in web.xml?
 

From what I understand those are not live references, they just look 
like URLs but they are not fetched.  I think they are treated as an 
identifier/version.  You will find the web-app_2_4.xsd file in Tomcat 
5's servlet-api.jar for example

thanks,
woodchuck
 

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


		
__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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


--
Jason Lea



Re: Is there an installation automater yet

2004-09-10 Thread Bryce Fischer
Not free, but I have this, its pretty handy:
http://www.openlogic.com/index.php
Dan wrote:
I haven't been on this list in a while.  I was
wondering if anyone's created an installation
wizard/thingy for it yet.
All I have so far is a PC with a new Linux OS. 
Ideally, I'd like a wizard that sets up everything I
need to create a typical application... Struts, MySQL
or another DB, JRE, J2EE, J2SE, Expresso, JDBC
drivers, Tomcat, etc.

Any chance of this existing?  I'm thinking of how
useful and cool the cygwin installer is.  If not, can
anyone suggest another open source architecture that
might provide something like this?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 2:51 PM
> To: Struts Users Mailing List
> Subject: RE: [SOLVED]Cannot retrieve definition for form bean null
> 
> 
> Yeah, I think that there is another issue. 
> 
> I have added the name of the bean in the action
> mapping, the  still gives problems.
> 
> This one works:
>  WRAP>
> 
> This one does not work:

And you have this surrounded by


>  cols="62" WRAP>

 

What does the  
> Okay, the action mapping is like:
> 
>  path="/MailMessage"
> parameter=".message.Form"
> name="messageForm"
>   
> type="org.apache.struts.actions.ForwardAction"/>
> 
> and the  
>   name="messageForm"
>   
> type="org.apache.struts.validator.DynaValidatorForm">
>name="msgtype"
> type="java.lang.String"/>
>name="sender"
> type="java.lang.String"/>
>name="receiver"
> type="java.lang.String"/>
>name="messageTopic"
> type="java.lang.String"/>
>name="priority"
> type="java.lang.String"/>
>name="distribution"
> type="java.lang.String"/>
>name="messageBody"
> type="java.lang.String"/>
> 
> 
> 
> --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > > -Original Message-
> > > From: Matt Bathje [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 10, 2004 2:38 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: [SOLVED]Cannot retrieve definition
> > for form bean null
> > > 
> > > 
> > > Jim Barrows wrote:
> > > 
> > > 
> > > 
> > > 
> > > 
> > > > 
> > > > 
> > > > Not the form bean class... The action definition
> > in struts-config.
> > > >  > > > name="yourFormName" 
> > > <<< > this!!!
> > > > 
> > type="com.sssc.csr.web.actions.ShowBorrowerAction">
> > > >  > > path="borrowerInfo">
> > > > 
> > > > You have to tell the action definition what form
> > your 
> > > using, regardless of whether it is DynaForm,
> > ValidatorForm or 
> > > ActionForm. 
> > > > When one of the  > looks for the 
> > >  > 
> > > struts-config for the form name THEN it creates
> > the tag.  You 
> > > don't have a name parameter, so it's saying that
> > it's null.
> > > > 
> > > > 
> > > > 
> > > >>
> > > 
> > > Jim - doesn't she have this correct already? Based
> > on what I 
> > > see here I 
> > > think so:
> > 
> > Last time I saw her code, no she didn't have the
> > name...in a message I posted to her I added that
> > line right about where that one is... 
> > 
> > If she does have that, then yes, there is another
> > issue.
> > 
> > 
> > > 
> > > 
> > > 
> > > 
> > > >>>
> > > >>>> > >>>   path="/message/SendMessage"
> > > >>>  
> > type="org.dhsinfo.message.SendMessage"
> > > >>>   name="messageForm"
> > > >>>   scope="request"
> > > >>>   validate="false"
> > > >>>   input=".message.Form">
> > > >>>   > > >>>   name="success"
> > > >>>  
> > > >>>path="/confirmation/messageForwarded.jsp"/>
> > > >>>   
> > > >>>
> > > 
> > > 
> > > 
> > > 
> > >
> >
> -
> > > 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]
> > 
> > 
> 
> 
> 
>   
> __
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail 
> 
> -
> 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]



Re: Create and submit POST form from Action

2004-09-10 Thread Tuncay Baskan
> jakarta has a project that will do this.
> 

... and the name of the project is httpclient.

/tb.

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



RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
Yeah, I think that there is another issue. 

I have added the name of the bean in the action
mapping, the  still gives problems.

This one works:


This one does not work:


Okay, the action mapping is like:



and the 
  
  
  
  
  
  
  



--- Jim Barrows <[EMAIL PROTECTED]> wrote:

> 
> 
> > -Original Message-
> > From: Matt Bathje [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 2:38 PM
> > To: Struts Users Mailing List
> > Subject: Re: [SOLVED]Cannot retrieve definition
> for form bean null
> > 
> > 
> > Jim Barrows wrote:
> > 
> > 
> > 
> > 
> > 
> > > 
> > > 
> > > Not the form bean class... The action definition
> in struts-config.
> > >  > >   name="yourFormName" 
> > <<< this!!!
> > > 
> type="com.sssc.csr.web.actions.ShowBorrowerAction">
> > >> path="borrowerInfo">
> > >   
> > > You have to tell the action definition what form
> your 
> > using, regardless of whether it is DynaForm,
> ValidatorForm or 
> > ActionForm. 
> > > When one of the  looks for the 
> >  
> > struts-config for the form name THEN it creates
> the tag.  You 
> > don't have a name parameter, so it's saying that
> it's null.
> > > 
> > > 
> > > 
> > >>
> > 
> > Jim - doesn't she have this correct already? Based
> on what I 
> > see here I 
> > think so:
> 
> Last time I saw her code, no she didn't have the
> name...in a message I posted to her I added that
> line right about where that one is... 
> 
> If she does have that, then yes, there is another
> issue.
> 
> 
> > 
> > 
> > 
> > 
> > >>>
> > >>>> >>>   path="/message/SendMessage"
> > >>>  
> type="org.dhsinfo.message.SendMessage"
> > >>>   name="messageForm"
> > >>>   scope="request"
> > >>>   validate="false"
> > >>>   input=".message.Form">
> > >>>   > >>>   name="success"
> > >>>  
> > >>>path="/confirmation/messageForwarded.jsp"/>
> > >>>   
> > >>>
> > 
> > 
> > 
> > 
> >
>
-
> > 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]
> 
> 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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



RE: Create and submit POST form from Action

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: mail [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 2:46 PM
> To: [EMAIL PROTECTED]
> Subject: Create and submit POST form from Action
> 
> 
> Hi,
> 
> I am in desperate need of some hints or wisdom about how to simulate a
> form submission (POST) out of an action.
> 
> My situation is that users submit data using my web application, after
> this data is processed, I need to submit a form using the 
> POST method to
> another, third party site.
> How can I accomplish this task out of an action?

jakarta has a project that will do this.

If you're really hardcore, you could just open a socket on port 80 and do it yourself.

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



RE: ActionForward to a different Web App

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: El Toro [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 2:34 PM
> To: Struts Users Mailing List
> Subject: RE: ActionForward to a different Web App
> 
> 
> Jim/All,
> 
> I looked at the single sign on option and added the
> valve entry for my virtual host:
> 
>  className="org.apache.catalina.authenticator.SingleSignOn"
> debug="0"/>
> 
> That is the only step I know how to do.  I looked at
> the documentation on the single sign on option on the
> jakarta site but haven't been able to find a meatier
> explanation on how to utilize it.
> 
> Can anyone point me to any good documentation/examples
> on how to configure/utilize the single sign on feature
> of tomcat?

No, I havne't used this feature, so if there's nothing decent in the tomcat docs, then 
I have no idea where else to go, except google.

OTOH, tomcat docs are usually useful, if you dig hard enough.  *SIGH*  



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



Create and submit POST form from Action

2004-09-10 Thread mail
Hi,
I am in desperate need of some hints or wisdom about how to simulate a
form submission (POST) out of an action.
My situation is that users submit data using my web application, after
this data is processed, I need to submit a form using the POST method to
another, third party site.
How can I accomplish this task out of an action?
Any hint is really highly appreciated!
Thanks,
Chris

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


RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Matt Bathje [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 2:38 PM
> To: Struts Users Mailing List
> Subject: Re: [SOLVED]Cannot retrieve definition for form bean null
> 
> 
> Jim Barrows wrote:
> 
> 
> 
> 
> 
> > 
> > 
> > Not the form bean class... The action definition in struts-config.
> >  > name="yourFormName" 
> <<< > type="com.sssc.csr.web.actions.ShowBorrowerAction">
> >  path="borrowerInfo">
> > 
> > You have to tell the action definition what form your 
> using, regardless of whether it is DynaForm, ValidatorForm or 
> ActionForm. 
> > When one of the   struts-config for the form name THEN it creates the tag.  You 
> don't have a name parameter, so it's saying that it's null.
> > 
> > 
> > 
> >>
> 
> Jim - doesn't she have this correct already? Based on what I 
> see here I 
> think so:

Last time I saw her code, no she didn't have the name...in a message I posted to her I 
added that line right about where that one is... 

If she does have that, then yes, there is another issue.


> 
> 
> 
> 
> >>>
> >>>>>>   path="/message/SendMessage"
> >>>   type="org.dhsinfo.message.SendMessage"
> >>>   name="messageForm"
> >>>   scope="request"
> >>>   validate="false"
> >>>   input=".message.Form">
> >>>   >>>   name="success"
> >>>  
> >>>path="/confirmation/messageForwarded.jsp"/>
> >>>   
> >>>
> 
> 
> 
> 
> -
> 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]



Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Matt Bathje
Jim Barrows wrote:



Not the form bean class... The action definition in struts-config.

	type="com.sssc.csr.web.actions.ShowBorrowerAction">
			
		
You have to tell the action definition what form your using, regardless of whether it is DynaForm, ValidatorForm or ActionForm. 
When one of the 



Jim - doesn't she have this correct already? Based on what I see here I 
think so:


  
  type="org.dhsinfo.message.SendMessage"
  name="messageForm"
  scope="request"
  validate="false"
  input=".message.Form">
 
  name="success"
 
path="/confirmation/messageForwarded.jsp"/>
  



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


Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Matt Bathje
That part is at least correct, but I'm more concerned with the field 
properties. Is it possible that you can paste in the chunk of the form 
definition that deals with the textarea you are trying to use, as well 
as the code for the textarea itself from the jsp page?

Matt
Caroline Jen wrote:
It is a 

 
type="org.apache.struts.validator.DynaValidatorForm">

Is the form bean class properly set up?
--- Matt Bathje <[EMAIL PROTECTED]> wrote:

Caroline - the downside of this approach is now some
of the struts 
features that require the  tags
won't work. You 
haven't solved the problem so much as put a crappy
bandaid on it I think.

I haven't been following this thread, but based on
the error message you 
are getting, I would guess that the form definition
for messageForm is 
not setup correctly.

Also, I'm assuming you are using a dyna form, and
that if you aren't you 
have a properly setup form bean class.

Matt

Caroline Jen wrote:

I use the HTML tag  to make it work.  
If I use , I get 'cannot retrieve
definition for form bean null'
--- Jim Barrows <[EMAIL PROTECTED]> wrote:


-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 12:37 PM
To: Struts Users Mailing List
Subject: RE: [SOLVED]Cannot retrieve definition
for form bean null

Hi, I have found the mistake.
The mistake is that  is not a
struts

tag equivalent to HTML  tag.
Are you sure?  How else do you generate a textarea
field using struts?


--- Caroline Jen <[EMAIL PROTECTED]> wrote:

I experimented a little bit:
1. I changed all struts tags to html tags in my
messageForm.jsp and I also excluded the opening
 and closing  tag.
 The action mapping shown below works fine.  I
am

able to see the form that I want to display in
the

browser.
 
  path="/MailMessage"
  parameter=".message.Form"

type="org.apache.struts.actions.ForwardAction"/>

2. I then added the opening  in the
beginning of the messageForm.jsp and the closing
 tag at the end of the
messageForm.jsp.

  I got the error message 'cannot retrieve
definition for form bean null'
3. the  tag looks like (copied from
my

code):
  
4. the action mapping in the struts-config.xml
looks

like (copied from my code):
  
  type="org.dhsinfo.message.SendMessage"
  name="messageForm"
  scope="request"
  validate="false"
  input=".message.Form">
 
  name="success"
 
path="/confirmation/messageForwarded.jsp"/>
  

5. I have not yet prepared the SendMessage.java
in

the
AppRoot/org/dhsinfo/message folder yet.
What could be the cause of the problem?
 
--- Jim Barrows <[EMAIL PROTECTED]> wrote:


-Original Message-
From: Caroline Jen
[mailto:[EMAIL PROTECTED]

Sent: Friday, September 10, 2004 10:54 AM
To: Struts Users Mailing List
Subject: RE: [HELP]Cannot retrieve
definition

for

form bean null

Yes, I copied and pasted the code.  I did
not

type

those code while composing my request for
help

message

on the struts-user forum.
Okay then you have a problem in the way your
action

is declared.   You need to also declare the
form

being used with that action.  See the
documentation

for details.

--- Jim Barrows <[EMAIL PROTECTED]> wrote:

-Original Message-
From: Caroline Jen
[mailto:[EMAIL PROTECTED]

Sent: Friday, September 10, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: [HELP]Cannot retrieve
definition

for

form

bean null

Hi, it is me again.
I still have problem with displaying my
JSP.

=== message truncated ===

		
__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

-
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]


RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 2:30 PM
> To: Struts Users Mailing List
> Subject: Re: [SOLVED]Cannot retrieve definition for form bean null
> 
> 
> It is a 
> 
>  
> type="org.apache.struts.validator.DynaValidatorForm">
> 
> 
> Is the form bean class properly set up?

Not the form bean class... The action definition in struts-config.



You have to tell the action definition what form your using, regardless of whether it 
is DynaForm, ValidatorForm or ActionForm. 
When one of the  
> 
> --- Matt Bathje <[EMAIL PROTECTED]> wrote:
> 
> > Caroline - the downside of this approach is now some
> > of the struts 
> > features that require the  tags
> > won't work. You 
> > haven't solved the problem so much as put a crappy
> > bandaid on it I think.
> > 
> > I haven't been following this thread, but based on
> > the error message you 
> > are getting, I would guess that the form definition
> > for messageForm is 
> > not setup correctly.
> > 
> > Also, I'm assuming you are using a dyna form, and
> > that if you aren't you 
> > have a properly setup form bean class.
> > 
> > 
> > Matt
> > 
> > 
> > 
> > Caroline Jen wrote:
> > 
> > > I use the HTML tag  to make it work.  
> > > If I use , I get 'cannot retrieve
> > > definition for form bean null'
> > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > 
> > > 
> > >>
> > >>>-Original Message-
> > >>>From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > >>>Sent: Friday, September 10, 2004 12:37 PM
> > >>>To: Struts Users Mailing List
> > >>>Subject: RE: [SOLVED]Cannot retrieve definition
> > >>
> > >>for form bean null
> > >>
> > >>>
> > >>>Hi, I have found the mistake.
> > >>>
> > >>>The mistake is that  is not a
> > >>
> > >>struts
> > >>
> > >>>tag equivalent to HTML  tag.
> > >>
> > >>Are you sure?  How else do you generate a textarea
> > >>field using struts?
> > >>
> > >>
> > >>
> > >>>--- Caroline Jen <[EMAIL PROTECTED]> wrote:
> > >>>
> > >>>
> > I experimented a little bit:
> > 
> > 1. I changed all struts tags to html tags in my
> > messageForm.jsp and I also excluded the opening
> >  and closing  tag.
> > 
> >    The action mapping shown below works fine.  I
> > >>
> > >>am
> > >>
> > able to see the form that I want to display in
> > >>
> > >>the
> > >>
> > browser.
> > 
> > > path="/MailMessage"
> > parameter=".message.Form"
> >   
> > type="org.apache.struts.actions.ForwardAction"/>
> > 
> > 2. I then added the opening  in the
> > beginning of the messageForm.jsp and the closing
> >  tag at the end of the
> > >>
> > >>messageForm.jsp.
> > >>
> > I got the error message 'cannot retrieve
> > definition for form bean null'
> > 
> > 3. the  tag looks like (copied from
> > >>
> > >>my
> > >>
> > code):
> > 
> > 
> > 
> > 4. the action mapping in the struts-config.xml
> > >>
> > >>looks
> > >>
> > like (copied from my code):
> > 
> >  > path="/message/SendMessage"
> > type="org.dhsinfo.message.SendMessage"
> > name="messageForm"
> > scope="request"
> > validate="false"
> > input=".message.Form">
> > > name="success"
> >    
> > path="/confirmation/messageForwarded.jsp"/>
> > 
> > 
> > 5. I have not yet prepared the SendMessage.java
> > >>
> > >>in
> > >>
> > the
> > AppRoot/org/dhsinfo/message folder yet.
> > 
> > What could be the cause of the problem?
> > 
> >    
> > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > >
> > >>-Original Message-
> > >>From: Caroline Jen
> > >>
> > >>[mailto:[EMAIL PROTECTED]
> > >>
> > >>Sent: Friday, September 10, 2004 10:54 AM
> > >>To: Struts Users Mailing List
> > >>Subject: RE: [HELP]Cannot retrieve
> > >>
> > >>definition
> > >>
> > for
> > 
> > >form bean null
> > >
> > >>
> > >>Yes, I copied and pasted the code.  I did
> > >>
> > >>not
> > >>
> > type
> > 
> > >>those code while composing my request for
> > >>
> > >>help
> > >>
> > >message
> > >
> > >>on the struts-user forum.
> > >
> > >Okay then you have a problem in the way your
> > 
> > action
> > 
> > >is declared.   You need to also declare the
> > >>
> > >>form
> > >>
> > >being used with that action.  See the
> > 
> > documentation
> > 
> > >for details.
> > >
> > >
> > >>--- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > >>
> > >>
> > >>>
> > -Original Message-
> > From: Caroline Jen
> > >
> > >[mailto:[EMAIL PROTECTED]
> > >
> > Sent: Friday, September 10, 2004 9:56 AM
> > To: [EMAIL PROTECTED]
> > Su

RE: ActionForward to a different Web App

2004-09-10 Thread El Toro
Jim/All,

I looked at the single sign on option and added the
valve entry for my virtual host:



That is the only step I know how to do.  I looked at
the documentation on the single sign on option on the
jakarta site but haven't been able to find a meatier
explanation on how to utilize it.

Can anyone point me to any good documentation/examples
on how to configure/utilize the single sign on feature
of tomcat?

Thanks in Advance,

TR
--- Jim Barrows <[EMAIL PROTECTED]> wrote:

> 
> 
> > -Original Message-
> > From: El Toro [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 1:58 PM
> > To: [EMAIL PROTECTED]
> > Subject: ActionForward to a different Web App
> > 
> > 
> > Hi,
> > 
> > I have a struts web application running within
> Tomcat
> > 5.x that is responsible for authentication.
> > Authentication in this case just checks a username
> and
> > password against a database and then creates a
> 'User'
> > object and dumps it in the session.
> 
> Okay.. except that unless your application server
> knows that this is one session, it will generate a
> session the first time a user hits every web app.
> 
> Tomcat has singl-sign-on, which will do what you
> want.  Websphere does as well.
> 
> > 
> > After a successful authentication I would like to
> > forward the request to another web application
> running
> > within the same instance of tomcat.  This web
> > application will know that the user is
> authenticated
> > if the 'User' object is present in the session.
> > 
> > The problem I am having is that a new session is
> > created when I redirect/forward the request to the
> > other web application from the authentication
> > application, therefore my 'User' object is not
> present
> > and everyone is unhappy.
> > 
> > Does anyone know how to accomplish such a thing
> with
> > struts/tomcat 5.x.  Here is what I am doing within
> my
> > Authentication app upon successful authentication:
> > 
> > nextPage = new
> >
>
ActionForward("http://THEHOST:8080/THEWEBAPP/welcome.do";,
> > true);
> > 
> > Thanks in advance,
> > 
> > Topero Romano
> > 
> > 
> > 
> > ___
> > Do you Yahoo!?
> > Shop for Back-to-School deals on Yahoo! Shopping.
> > http://shopping.yahoo.com/backtoschool
> > 
> >
>
-
> > 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]
> 
> 




__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

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



Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
It is a 

 
type="org.apache.struts.validator.DynaValidatorForm">


Is the form bean class properly set up?


--- Matt Bathje <[EMAIL PROTECTED]> wrote:

> Caroline - the downside of this approach is now some
> of the struts 
> features that require the  tags
> won't work. You 
> haven't solved the problem so much as put a crappy
> bandaid on it I think.
> 
> I haven't been following this thread, but based on
> the error message you 
> are getting, I would guess that the form definition
> for messageForm is 
> not setup correctly.
> 
> Also, I'm assuming you are using a dyna form, and
> that if you aren't you 
> have a properly setup form bean class.
> 
> 
> Matt
> 
> 
> 
> Caroline Jen wrote:
> 
> > I use the HTML tag  to make it work.  
> > If I use , I get 'cannot retrieve
> > definition for form bean null'
> > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>
> >>>-Original Message-
> >>>From: Caroline Jen [mailto:[EMAIL PROTECTED]
> >>>Sent: Friday, September 10, 2004 12:37 PM
> >>>To: Struts Users Mailing List
> >>>Subject: RE: [SOLVED]Cannot retrieve definition
> >>
> >>for form bean null
> >>
> >>>
> >>>Hi, I have found the mistake.
> >>>
> >>>The mistake is that  is not a
> >>
> >>struts
> >>
> >>>tag equivalent to HTML  tag.
> >>
> >>Are you sure?  How else do you generate a textarea
> >>field using struts?
> >>
> >>
> >>
> >>>--- Caroline Jen <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> I experimented a little bit:
> 
> 1. I changed all struts tags to html tags in my
> messageForm.jsp and I also excluded the opening
>  and closing  tag.
> 
>    The action mapping shown below works fine.  I
> >>
> >>am
> >>
> able to see the form that I want to display in
> >>
> >>the
> >>
> browser.
> 
> path="/MailMessage"
> parameter=".message.Form"
>   
> type="org.apache.struts.actions.ForwardAction"/>
> 
> 2. I then added the opening  in the
> beginning of the messageForm.jsp and the closing
>  tag at the end of the
> >>
> >>messageForm.jsp.
> >>
> I got the error message 'cannot retrieve
> definition for form bean null'
> 
> 3. the  tag looks like (copied from
> >>
> >>my
> >>
> code):
> 
> 
> 
> 4. the action mapping in the struts-config.xml
> >>
> >>looks
> >>
> like (copied from my code):
> 
>  path="/message/SendMessage"
> type="org.dhsinfo.message.SendMessage"
> name="messageForm"
> scope="request"
> validate="false"
> input=".message.Form">
> name="success"
>    
> path="/confirmation/messageForwarded.jsp"/>
> 
> 
> 5. I have not yet prepared the SendMessage.java
> >>
> >>in
> >>
> the
> AppRoot/org/dhsinfo/message folder yet.
> 
> What could be the cause of the problem?
> 
>    
> --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> 
> 
> >
> >>-Original Message-
> >>From: Caroline Jen
> >>
> >>[mailto:[EMAIL PROTECTED]
> >>
> >>Sent: Friday, September 10, 2004 10:54 AM
> >>To: Struts Users Mailing List
> >>Subject: RE: [HELP]Cannot retrieve
> >>
> >>definition
> >>
> for
> 
> >form bean null
> >
> >>
> >>Yes, I copied and pasted the code.  I did
> >>
> >>not
> >>
> type
> 
> >>those code while composing my request for
> >>
> >>help
> >>
> >message
> >
> >>on the struts-user forum.
> >
> >Okay then you have a problem in the way your
> 
> action
> 
> >is declared.   You need to also declare the
> >>
> >>form
> >>
> >being used with that action.  See the
> 
> documentation
> 
> >for details.
> >
> >
> >>--- Jim Barrows <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>>
> -Original Message-
> From: Caroline Jen
> >
> >[mailto:[EMAIL PROTECTED]
> >
> Sent: Friday, September 10, 2004 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: [HELP]Cannot retrieve
> >>
> >>definition
> >>
> for
> 
> >form
> >
> >>>bean null
> >>>
> 
> Hi, it is me again.
> 
> I still have problem with displaying my
> >>
> >>JSP.
> >>
> 
=== message truncated ===




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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



RE: ActionForward to a different Web App

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: El Toro [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 1:58 PM
> To: [EMAIL PROTECTED]
> Subject: ActionForward to a different Web App
> 
> 
> Hi,
> 
> I have a struts web application running within Tomcat
> 5.x that is responsible for authentication.
> Authentication in this case just checks a username and
> password against a database and then creates a 'User'
> object and dumps it in the session.

Okay.. except that unless your application server knows that this is one session, it 
will generate a session the first time a user hits every web app.

Tomcat has singl-sign-on, which will do what you want.  Websphere does as well.

> 
> After a successful authentication I would like to
> forward the request to another web application running
> within the same instance of tomcat.  This web
> application will know that the user is authenticated
> if the 'User' object is present in the session.
> 
> The problem I am having is that a new session is
> created when I redirect/forward the request to the
> other web application from the authentication
> application, therefore my 'User' object is not present
> and everyone is unhappy.
> 
> Does anyone know how to accomplish such a thing with
> struts/tomcat 5.x.  Here is what I am doing within my
> Authentication app upon successful authentication:
> 
> nextPage = new
> ActionForward("http://THEHOST:8080/THEWEBAPP/welcome.do";,
> true);
> 
> Thanks in advance,
> 
> Topero Romano
> 
> 
>   
> ___
> Do you Yahoo!?
> Shop for Back-to-School deals on Yahoo! Shopping.
> http://shopping.yahoo.com/backtoschool
> 
> -
> 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]



RE: Is there an installation automater yet

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Dan [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 2:17 PM
> To: [EMAIL PROTECTED]
> Subject: Is there an installation automater yet
> 
> 
> I haven't been on this list in a while.  I was
> wondering if anyone's created an installation
> wizard/thingy for it yet.
> 
> All I have so far is a PC with a new Linux OS. 
> Ideally, I'd like a wizard that sets up everything I
> need to create a typical application... Struts, MySQL
> or another DB, JRE, J2EE, J2SE, Expresso, JDBC
> drivers, Tomcat, etc.
> 
> Any chance of this existing?  I'm thinking of how
> useful and cool the cygwin installer is.  If not, can
> anyone suggest another open source architecture that
> might provide something like this?

Not really... Eclipse has some plugins that come close.  MyEclipse does an okay job.  
None of them will actually install the DB for you though, or the drivers, or the 
application server.

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



Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Matt Bathje
Caroline - the downside of this approach is now some of the struts 
features that require the  tags won't work. You 
haven't solved the problem so much as put a crappy bandaid on it I think.

I haven't been following this thread, but based on the error message you 
are getting, I would guess that the form definition for messageForm is 
not setup correctly.

Also, I'm assuming you are using a dyna form, and that if you aren't you 
have a properly setup form bean class.

Matt

Caroline Jen wrote:
I use the HTML tag  to make it work.  
If I use , I get 'cannot retrieve
definition for form bean null'
--- Jim Barrows <[EMAIL PROTECTED]> wrote:



-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 12:37 PM
To: Struts Users Mailing List
Subject: RE: [SOLVED]Cannot retrieve definition
for form bean null
Hi, I have found the mistake.
The mistake is that  is not a
struts
tag equivalent to HTML  tag.
Are you sure?  How else do you generate a textarea
field using struts?

--- Caroline Jen <[EMAIL PROTECTED]> wrote:

I experimented a little bit:
1. I changed all struts tags to html tags in my
messageForm.jsp and I also excluded the opening
 and closing  tag.
  The action mapping shown below works fine.  I
am
able to see the form that I want to display in
the
browser.
  
   path="/MailMessage"
   parameter=".message.Form"
 
type="org.apache.struts.actions.ForwardAction"/>

2. I then added the opening  in the
beginning of the messageForm.jsp and the closing
 tag at the end of the
messageForm.jsp.
   I got the error message 'cannot retrieve
definition for form bean null'
3. the  tag looks like (copied from
my
code):
   
4. the action mapping in the struts-config.xml
looks
like (copied from my code):
   
   type="org.dhsinfo.message.SendMessage"
   name="messageForm"
   scope="request"
   validate="false"
   input=".message.Form">
  
   name="success"
  
path="/confirmation/messageForwarded.jsp"/>
   

5. I have not yet prepared the SendMessage.java
in
the
AppRoot/org/dhsinfo/message folder yet.
What could be the cause of the problem?
  
--- Jim Barrows <[EMAIL PROTECTED]> wrote:



-Original Message-
From: Caroline Jen
[mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 10:54 AM
To: Struts Users Mailing List
Subject: RE: [HELP]Cannot retrieve
definition
for
form bean null
Yes, I copied and pasted the code.  I did
not
type
those code while composing my request for
help
message
on the struts-user forum.
Okay then you have a problem in the way your
action
is declared.   You need to also declare the
form
being used with that action.  See the
documentation
for details.

--- Jim Barrows <[EMAIL PROTECTED]> wrote:


-Original Message-
From: Caroline Jen
[mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: [HELP]Cannot retrieve
definition
for
form
bean null
Hi, it is me again.
I still have problem with displaying my
JSP.
This
time, the error message is:
'[ServletException
in:/frame/content/messageForm.jsp]
Cannot retrieve definition for form bean
null'
1. I click on this link:
Send
Message
2. the action mapping in
struts-config.xml
is:
   
   path="/MailMessage"
   parameter=".message.Form"
 


type="org.apache.struts.actions.ForwardAction"/>
You need to look here for the problem. 
Assuming
you
copied and pasted this.

What am I missing this time?

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



___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo!
Shopping.
http://shopping.yahoo.com/backtoschool


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

=== message truncated ===


__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
-
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]


RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 2:12 PM
> To: Struts Users Mailing List
> Subject: RE: [SOLVED]Cannot retrieve definition for form bean null
> 
> 
> I use the HTML tag  to make it work.  
> If I use , I get 'cannot retrieve
> definition for form bean null'

That's becaue you haven't defined a form bean to use in your action definition, unless 
other other  --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > > -Original Message-
> > > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 10, 2004 12:37 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: [SOLVED]Cannot retrieve definition
> > for form bean null
> > > 
> > > 
> > > Hi, I have found the mistake.
> > > 
> > > The mistake is that  is not a
> > struts
> > > tag equivalent to HTML  tag.
> > 
> > Are you sure?  How else do you generate a textarea
> > field using struts?
> > 
> > 
> > > 
> > > --- Caroline Jen <[EMAIL PROTECTED]> wrote:
> > > 
> > > > I experimented a little bit:
> > > > 
> > > > 1. I changed all struts tags to html tags in my
> > > > messageForm.jsp and I also excluded the opening
> > > >  and closing  tag.
> > > > 
> > > >The action mapping shown below works fine.  I
> > am
> > > > able to see the form that I want to display in
> > the
> > > > browser.
> > > > 
> > > > > > > path="/MailMessage"
> > > > parameter=".message.Form"
> > > >   
> > > > type="org.apache.struts.actions.ForwardAction"/>
> > > > 
> > > > 2. I then added the opening  in the
> > > > beginning of the messageForm.jsp and the closing
> > > >  tag at the end of the
> > messageForm.jsp.
> > > > 
> > > > I got the error message 'cannot retrieve
> > > > definition for form bean null'
> > > > 
> > > > 3. the  tag looks like (copied from
> > my
> > > > code):
> > > > 
> > > > 
> > > > 
> > > > 4. the action mapping in the struts-config.xml
> > looks
> > > > like (copied from my code):
> > > > 
> > > >  > > > path="/message/SendMessage"
> > > > type="org.dhsinfo.message.SendMessage"
> > > > name="messageForm"
> > > > scope="request"
> > > > validate="false"
> > > > input=".message.Form">
> > > > > > > name="success"
> > > >
> > > > path="/confirmation/messageForwarded.jsp"/>
> > > > 
> > > > 
> > > > 5. I have not yet prepared the SendMessage.java
> > in
> > > > the
> > > > AppRoot/org/dhsinfo/message folder yet.
> > > > 
> > > > What could be the cause of the problem?
> > > > 
> > > >
> > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > > 
> > > > > 
> > > > > > -Original Message-
> > > > > > From: Caroline Jen
> > [mailto:[EMAIL PROTECTED]
> > > > > > Sent: Friday, September 10, 2004 10:54 AM
> > > > > > To: Struts Users Mailing List
> > > > > > Subject: RE: [HELP]Cannot retrieve
> > definition
> > > > for
> > > > > form bean null
> > > > > > 
> > > > > > 
> > > > > > Yes, I copied and pasted the code.  I did
> > not
> > > > type
> > > > > > those code while composing my request for
> > help
> > > > > message
> > > > > > on the struts-user forum.
> > > > > 
> > > > > Okay then you have a problem in the way your
> > > > action
> > > > > is declared.   You need to also declare the
> > form
> > > > > being used with that action.  See the
> > > > documentation
> > > > > for details.
> > > > > 
> > > > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > > -Original Message-
> > > > > > > > From: Caroline Jen
> > > > > [mailto:[EMAIL PROTECTED]
> > > > > > > > Sent: Friday, September 10, 2004 9:56 AM
> > > > > > > > To: [EMAIL PROTECTED]
> > > > > > > > Subject: [HELP]Cannot retrieve
> > definition
> > > > for
> > > > > form
> > > > > > > bean null
> > > > > > > > 
> > > > > > > > 
> > > > > > > > Hi, it is me again.
> > > > > > > > 
> > > > > > > > I still have problem with displaying my
> > JSP.
> > > > 
> > > > > This
> > > > > > > > time, the error message is:
> > > > > > > > 
> > > > > > > > '[ServletException
> > > > > > > in:/frame/content/messageForm.jsp]
> > > > > > > > Cannot retrieve definition for form bean
> > > > null'
> > > > > 
> > > > > > > > 
> > > > > > > > 1. I click on this link:
> > > > > > > > 
> > > > > > > > Send
> > > > > > > > Message
> > > > > > > > 
> > > > > > > > 2. the action mapping in
> > struts-config.xml
> > > > is:
> > > > > > > > 
> > > > > > > >  > > > > > > > path="/MailMessage"
> > > > > > > > parameter=".message.Form"
> > > > > > > >   
> > > > > > > >
> > > > >
> > type="org.apache.struts.actions.ForwardAction"/>
> > > > > > > 
> > > > > > > You need to look here for the problem. 
> > > > Assuming
> > > > > you
> > > > > > > copied and pasted this.
> > > > > > > 
> > > > > > > 
> > > > > > > > 
> > > > > > > > What am I missing this time?
> > > > > > > 
> > > > > > >
> > > >

Re: Moving from environment to environment

2004-09-10 Thread Wendy Smoak
From: "Dave Bender" <[EMAIL PROTECTED]>
> How do you easily move a Struts application from one environment to
another,
> e.g. from development to test to production, without having to change the
> struts-config.xml file to use a different database?
> The datasources seem like they can be configured only in that file, but if
> you want to have different database configs in the different environments,
> it seems like you have to edit that file.  Am I missing something? Is
there
> a way around that?

You can use Ant to do text replacements.  So you maintain your
struts-config.xml file with some @tokens@ in it, and then use the 'replace'
task to change them to what you want in the output file.  I do this with my
log4j.properties file, so that dev/test/live have different log file names
matching the context name.

-- 
Wendy Smoak


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



Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Wendy Smoak
From: "Caroline Jen" <[EMAIL PROTECTED]>
> I use the HTML tag  to make it work.
> If I use , I get 'cannot retrieve
> definition for form bean null'

The last example you posted was missing the 'name' attribute in your
 tag.

Without that, when Struts comes to an  tag, it looks to the
action mapping (the  tag in struts-config.xml) for the 'name'
attribute to tell it what Form bean to use.  No name attribute present?
That's where your 'form bean null' error is coming from.

-- 
Wendy Smoak


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



Is there an installation automater yet

2004-09-10 Thread Dan
I haven't been on this list in a while.  I was
wondering if anyone's created an installation
wizard/thingy for it yet.

All I have so far is a PC with a new Linux OS. 
Ideally, I'd like a wizard that sets up everything I
need to create a typical application... Struts, MySQL
or another DB, JRE, J2EE, J2SE, Expresso, JDBC
drivers, Tomcat, etc.

Any chance of this existing?  I'm thinking of how
useful and cool the cygwin installer is.  If not, can
anyone suggest another open source architecture that
might provide something like this?

Thanks,
Dan



___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool

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



Re: Moving from environment to environment

2004-09-10 Thread Craig McClanahan
On Fri, 10 Sep 2004 15:59:01 -0500, Dave Bender <[EMAIL PROTECTED]> wrote:
> How do you easily move a Struts application from one environment to another,
> e.g. from development to test to production, without having to change the
> struts-config.xml file to use a different database?
> 
> The datasources seem like they can be configured only in that file, but if
> you want to have different database configs in the different environments,
> it seems like you have to edit that file.  Am I missing something? Is there
> a way around that?
> 

This is one of several reasons that you should really be using JDBC
data sources provided by your application server, instead of the
legacy ones defined in struts-config.xml.  When you do this, your
application just uses a logical *reference* to the data source, and
the configuration details are administered in each server instance --
thus allowing you to take the same WAR file and deploy it in
development, test, and production environments.

For more info on how this works in Tomcat (the way data sources are
configured is Tomcat specific, but the programming steps to use them
is not), see:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html


> Dave

Craig

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



RE: Moving from environment to environment

2004-09-10 Thread Robert Taylor
Dave, I have 3 environments:
Development, Staging, and Production.

I use Ant and have different deployment
targets.

Each target replaces tokens with the values
which correspond to its deployment environment.

Ant makes this pretty easy to do.

http://ant.apache.org/manual/CoreTypes/filterset.html

hth,

robert

> -Original Message-
> From: Dave Bender [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 4:59 PM
> To: 'Struts Users Mailing List'
> Subject: Moving from environment to environment
> 
> 
> How do you easily move a Struts application from one environment to another,
> e.g. from development to test to production, without having to change the
> struts-config.xml file to use a different database?
> 
> The datasources seem like they can be configured only in that file, but if
> you want to have different database configs in the different environments,
> it seems like you have to edit that file.  Am I missing something? Is there
> a way around that?
> 
> Dave
> 
> 
> 

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



Re: Moving from environment to environment

2004-09-10 Thread David Durham
Dave Bender wrote:
How do you easily move a Struts application from one environment to 
another,
e.g. from development to test to production, without having to change the
struts-config.xml file to use a different database?
If you're using ant, then you could maintain 2 seperate struts-configs 
and  the production config (e.g., struts-confg-production.xml), 
into you deployment directory as struts-config.xml.  This would require 
that you maintain 2 copies of struts-config.xml: 
struts-config-development.xml and struts-config-production.xml, for example.

Another option is to use filters along with ant's copy task:
   http://ant.apache.org/manual/CoreTasks/copy.html
I personally maintain 2 properties files: application.properties and 
application-production.properties and use the method of replacing files 
in a deployment directory.  My struts-config, however does not change.  
That's just how my project is setup.

The datasources seem like they can be configured only in that file, but if
you want to have different database configs in the different environments,
it seems like you have to edit that file. Am I missing something? Is there
a way around that?
I think JNDI is useful this kind of problem as well, but I don't have 
much experience with it.

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


RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
I use the HTML tag  to make it work.  
If I use , I get 'cannot retrieve
definition for form bean null'
--- Jim Barrows <[EMAIL PROTECTED]> wrote:

> 
> 
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 12:37 PM
> > To: Struts Users Mailing List
> > Subject: RE: [SOLVED]Cannot retrieve definition
> for form bean null
> > 
> > 
> > Hi, I have found the mistake.
> > 
> > The mistake is that  is not a
> struts
> > tag equivalent to HTML  tag.
> 
> Are you sure?  How else do you generate a textarea
> field using struts?
> 
> 
> > 
> > --- Caroline Jen <[EMAIL PROTECTED]> wrote:
> > 
> > > I experimented a little bit:
> > > 
> > > 1. I changed all struts tags to html tags in my
> > > messageForm.jsp and I also excluded the opening
> > >  and closing  tag.
> > > 
> > >The action mapping shown below works fine.  I
> am
> > > able to see the form that I want to display in
> the
> > > browser.
> > > 
> > > > > path="/MailMessage"
> > > parameter=".message.Form"
> > >   
> > > type="org.apache.struts.actions.ForwardAction"/>
> > > 
> > > 2. I then added the opening  in the
> > > beginning of the messageForm.jsp and the closing
> > >  tag at the end of the
> messageForm.jsp.
> > > 
> > > I got the error message 'cannot retrieve
> > > definition for form bean null'
> > > 
> > > 3. the  tag looks like (copied from
> my
> > > code):
> > > 
> > > 
> > > 
> > > 4. the action mapping in the struts-config.xml
> looks
> > > like (copied from my code):
> > > 
> > >  > > path="/message/SendMessage"
> > > type="org.dhsinfo.message.SendMessage"
> > > name="messageForm"
> > > scope="request"
> > > validate="false"
> > > input=".message.Form">
> > > > > name="success"
> > >
> > > path="/confirmation/messageForwarded.jsp"/>
> > > 
> > > 
> > > 5. I have not yet prepared the SendMessage.java
> in
> > > the
> > > AppRoot/org/dhsinfo/message folder yet.
> > > 
> > > What could be the cause of the problem?
> > > 
> > >
> > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > 
> > > > 
> > > > 
> > > > > -Original Message-
> > > > > From: Caroline Jen
> [mailto:[EMAIL PROTECTED]
> > > > > Sent: Friday, September 10, 2004 10:54 AM
> > > > > To: Struts Users Mailing List
> > > > > Subject: RE: [HELP]Cannot retrieve
> definition
> > > for
> > > > form bean null
> > > > > 
> > > > > 
> > > > > Yes, I copied and pasted the code.  I did
> not
> > > type
> > > > > those code while composing my request for
> help
> > > > message
> > > > > on the struts-user forum.
> > > > 
> > > > Okay then you have a problem in the way your
> > > action
> > > > is declared.   You need to also declare the
> form
> > > > being used with that action.  See the
> > > documentation
> > > > for details.
> > > > 
> > > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > > > 
> > > > > > 
> > > > > > 
> > > > > > > -Original Message-
> > > > > > > From: Caroline Jen
> > > > [mailto:[EMAIL PROTECTED]
> > > > > > > Sent: Friday, September 10, 2004 9:56 AM
> > > > > > > To: [EMAIL PROTECTED]
> > > > > > > Subject: [HELP]Cannot retrieve
> definition
> > > for
> > > > form
> > > > > > bean null
> > > > > > > 
> > > > > > > 
> > > > > > > Hi, it is me again.
> > > > > > > 
> > > > > > > I still have problem with displaying my
> JSP.
> > > 
> > > > This
> > > > > > > time, the error message is:
> > > > > > > 
> > > > > > > '[ServletException
> > > > > > in:/frame/content/messageForm.jsp]
> > > > > > > Cannot retrieve definition for form bean
> > > null'
> > > > 
> > > > > > > 
> > > > > > > 1. I click on this link:
> > > > > > > 
> > > > > > > Send
> > > > > > > Message
> > > > > > > 
> > > > > > > 2. the action mapping in
> struts-config.xml
> > > is:
> > > > > > > 
> > > > > > >  > > > > > > path="/MailMessage"
> > > > > > > parameter=".message.Form"
> > > > > > >   
> > > > > > >
> > > >
> type="org.apache.struts.actions.ForwardAction"/>
> > > > > > 
> > > > > > You need to look here for the problem. 
> > > Assuming
> > > > you
> > > > > > copied and pasted this.
> > > > > > 
> > > > > > 
> > > > > > > 
> > > > > > > What am I missing this time?
> > > > > > 
> > > > > >
> > > > >
> > > >
> > >
> >
>
-
> > > > > > To unsubscribe, e-mail:
> > > > > > [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail:
> > > > > > [EMAIL PROTECTED]
> > > > > > 
> > > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >   
> > > > > ___
> > > > > Do you Yahoo!?
> > > > > Shop for Back-to-School deals on Yahoo!
> > > Shopping.
> > > > > http://shopping.yahoo.com/backtoschool
> > > > > 
> > > > >
> > > >
> > >
> >
>
-
> > > > > To unsubscribe, e-mail:
> > > > [EMAIL PROTECTED]
> >

Re: Moving from environment to environment

2004-09-10 Thread El Toro
Dave,

I suggest you create three ant targets which install
your war on the respective environments and build your
war with the respective struts-config file.  True, you
will have to have to maintain three different
struts-config files but the only difference should the
datasource properties.  This is probably the quickest
solution albiet not the prettiest or cleanest.

TR

--- Dave Bender <[EMAIL PROTECTED]> wrote:

> How do you easily move a Struts application from one
> environment to another,
> e.g. from development to test to production, without
> having to change the
> struts-config.xml file to use a different database?
> 
> The datasources seem like they can be configured
> only in that file, but if
> you want to have different database configs in the
> different environments,
> it seems like you have to edit that file.  Am I
> missing something? Is there
> a way around that?
> 
> Dave
> 
> 
> 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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



Re: DynaActionForm Validation

2004-09-10 Thread Matt Bathje
Shawn Sandy wrote:
All,
I am having a hell of a time getting a simple required validation to work.  Here are excerpts from my code/config files.  Can anyone take a look and see if they see anything obvious.  Thanks in advance!
 
Struts-config.xml (DynaForm extends DynaValidatorActionForm)
 

  
  
  
  
   
  ...

 
 

type="com.cgc.security.actions.UserAction"
name="userForm"
parameter="method"
scope="request"
validate="true"
input="/user.jsp">
   
   
   

 

  

 
my jsp page includes these tags
 

 

 
 
validations.xml
 

  

  

  

  



The big problem that I see is that your form is named 
companyLevelSecuritySettingsForm but you seem to be referring to it as 
userForm all over the place. Try fixing that. There may be other 
problems, but I didn't look to hard after seeing this first one.

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


Moving from environment to environment

2004-09-10 Thread Dave Bender
How do you easily move a Struts application from one environment to another,
e.g. from development to test to production, without having to change the
struts-config.xml file to use a different database?

The datasources seem like they can be configured only in that file, but if
you want to have different database configs in the different environments,
it seems like you have to edit that file.  Am I missing something? Is there
a way around that?

Dave




DynaActionForm Validation

2004-09-10 Thread Shawn Sandy
All,
I am having a hell of a time getting a simple required validation to work. 
 Here are excerpts from my code/config files.  Can anyone take a look and see if they 
see anything obvious.  Thanks in advance!
 
Struts-config.xml (DynaForm extends DynaValidatorActionForm)
 

  
  
  
  
   
  ...

 
 

   
   
   

 

  

 
my jsp page includes these tags
 

 

 
 
validations.xml
 

  

  

  

  



ActionForward to a different Web App

2004-09-10 Thread El Toro
Hi,

I have a struts web application running within Tomcat
5.x that is responsible for authentication.
Authentication in this case just checks a username and
password against a database and then creates a 'User'
object and dumps it in the session.

After a successful authentication I would like to
forward the request to another web application running
within the same instance of tomcat.  This web
application will know that the user is authenticated
if the 'User' object is present in the session.

The problem I am having is that a new session is
created when I redirect/forward the request to the
other web application from the authentication
application, therefore my 'User' object is not present
and everyone is unhappy.

Does anyone know how to accomplish such a thing with
struts/tomcat 5.x.  Here is what I am doing within my
Authentication app upon successful authentication:

nextPage = new
ActionForward("http://THEHOST:8080/THEWEBAPP/welcome.do";,
true);

Thanks in advance,

Topero Romano



___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool

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



My GMail invites are gone

2004-09-10 Thread Wiebe de Jong
All my invites are now gone. Maybe I'll get some more next round.

 

Wiebe de Jong

[EMAIL PROTECTED]

 



good validator tutorial???

2004-09-10 Thread Leandro Melo
Hi,
what are your choices when talking about a nice
validator tutorial. Not only a start up one, but one
that covers some important features that "getting
started" tutorials usually doen't cover.

tx,
Leandro





___
Yahoo! Messenger 6.0 - jogos, emoticons sonoros e muita diversão. Instale agora!
http://br.download.yahoo.com/messenger/

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



Re: [Gmail] - All gone,

2004-09-10 Thread Lionel
Ruben Cepeda wrote:
> I just ran out.

great !!


-- 
vont pas nous casser les couilles 10 fois par jour avec gmail quand meme !!




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



Re: [CANNOT SEE THE PROBLEM!!]Cannot retrieve definition for form bean null

2004-09-10 Thread Wendy Smoak
From: "Caroline Jen" <[EMAIL PROTECTED]>
> I experimented a little bit:
>
> 1. I changed all struts tags to html tags in my
> messageForm.jsp and I also excluded the opening
>  and closing  tag.
>
>The action mapping shown below works fine.  I am
> able to see the form that I want to display in the
> browser.
>
> path="/MailMessage"
> parameter=".message.Form"
>
> type="org.apache.struts.actions.ForwardAction"/>
>
> 2. I then added the opening  in the
> beginning of the messageForm.jsp and the closing
>  tag at the end of the messageForm.jsp.
>
> I got the error message 'cannot retrieve
> definition for form bean null'

That's because your  tag doesn't have a 'name' parameter.   When
Struts gets to your JSP and tries to evaluate the  tag, it looks
to the action mapping, and comes up with 'null' as the name of the form
bean.

-- 
Wendy Smoak


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



RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 12:37 PM
> To: Struts Users Mailing List
> Subject: RE: [SOLVED]Cannot retrieve definition for form bean null
> 
> 
> Hi, I have found the mistake.
> 
> The mistake is that  is not a struts
> tag equivalent to HTML  tag.

Are you sure?  How else do you generate a textarea field using struts?


> 
> --- Caroline Jen <[EMAIL PROTECTED]> wrote:
> 
> > I experimented a little bit:
> > 
> > 1. I changed all struts tags to html tags in my
> > messageForm.jsp and I also excluded the opening
> >  and closing  tag.
> > 
> >The action mapping shown below works fine.  I am
> > able to see the form that I want to display in the
> > browser.
> > 
> > > path="/MailMessage"
> > parameter=".message.Form"
> >   
> > type="org.apache.struts.actions.ForwardAction"/>
> > 
> > 2. I then added the opening  in the
> > beginning of the messageForm.jsp and the closing
> >  tag at the end of the messageForm.jsp.
> > 
> > I got the error message 'cannot retrieve
> > definition for form bean null'
> > 
> > 3. the  tag looks like (copied from my
> > code):
> > 
> > 
> > 
> > 4. the action mapping in the struts-config.xml looks
> > like (copied from my code):
> > 
> >  > path="/message/SendMessage"
> > type="org.dhsinfo.message.SendMessage"
> > name="messageForm"
> > scope="request"
> > validate="false"
> > input=".message.Form">
> > > name="success"
> >
> > path="/confirmation/messageForwarded.jsp"/>
> > 
> > 
> > 5. I have not yet prepared the SendMessage.java in
> > the
> > AppRoot/org/dhsinfo/message folder yet.
> > 
> > What could be the cause of the problem?
> > 
> >
> > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > 
> > > > -Original Message-
> > > > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, September 10, 2004 10:54 AM
> > > > To: Struts Users Mailing List
> > > > Subject: RE: [HELP]Cannot retrieve definition
> > for
> > > form bean null
> > > > 
> > > > 
> > > > Yes, I copied and pasted the code.  I did not
> > type
> > > > those code while composing my request for help
> > > message
> > > > on the struts-user forum.
> > > 
> > > Okay then you have a problem in the way your
> > action
> > > is declared.   You need to also declare the form
> > > being used with that action.  See the
> > documentation
> > > for details.
> > > 
> > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > > 
> > > > > 
> > > > > > -Original Message-
> > > > > > From: Caroline Jen
> > > [mailto:[EMAIL PROTECTED]
> > > > > > Sent: Friday, September 10, 2004 9:56 AM
> > > > > > To: [EMAIL PROTECTED]
> > > > > > Subject: [HELP]Cannot retrieve definition
> > for
> > > form
> > > > > bean null
> > > > > > 
> > > > > > 
> > > > > > Hi, it is me again.
> > > > > > 
> > > > > > I still have problem with displaying my JSP.
> > 
> > > This
> > > > > > time, the error message is:
> > > > > > 
> > > > > > '[ServletException
> > > > > in:/frame/content/messageForm.jsp]
> > > > > > Cannot retrieve definition for form bean
> > null'
> > > 
> > > > > > 
> > > > > > 1. I click on this link:
> > > > > > 
> > > > > > Send
> > > > > > Message
> > > > > > 
> > > > > > 2. the action mapping in struts-config.xml
> > is:
> > > > > > 
> > > > > >  > > > > > path="/MailMessage"
> > > > > > parameter=".message.Form"
> > > > > >   
> > > > > >
> > > type="org.apache.struts.actions.ForwardAction"/>
> > > > > 
> > > > > You need to look here for the problem. 
> > Assuming
> > > you
> > > > > copied and pasted this.
> > > > > 
> > > > > 
> > > > > > 
> > > > > > What am I missing this time?
> > > > > 
> > > > >
> > > >
> > >
> >
> -
> > > > > To unsubscribe, e-mail:
> > > > > [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > > > [EMAIL PROTECTED]
> > > > > 
> > > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > ___
> > > > Do you Yahoo!?
> > > > Shop for Back-to-School deals on Yahoo!
> > Shopping.
> > > > http://shopping.yahoo.com/backtoschool
> > > > 
> > > >
> > >
> >
> -
> > > > 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]
> > > 
> > > 
> > 
> > 
> > 
> > 
> > ___
> > Do you Yahoo!?
> > Shop for Back-to-School deals on Yahoo! Shopping.
> > http://shopping.yahoo.com/backtoschool
> > 
> >
> ---

RE: missing class

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 11:55 AM
> To: [EMAIL PROTECTED]
> Subject: missing class
> 
> 
> 
> 
> 
> 
> I've been using the Validator successfully on other forms.  
> Now that I'm
> trying to use the mask validation I get an 
> InvocationTargetException due to
> a  NoClassDefFoundError on org/apache/oro/text/perl/Perl5Util
> 
> Could I have a jar file missing?  I'm using Struts 1.1 in WSAD 5.0.

Yes you could.. yes you do... the oro jar.

> 
> 
> -
> 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]



RE: [CANNOT SEE THE PROBLEM!!]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 11:39 AM
> To: Struts Users Mailing List
> Subject: RE: [CANNOT SEE THE PROBLEM!!]Cannot retrieve definition for
> form bean null
> 
> 
> I experimented a little bit:
> 
> 1. I changed all struts tags to html tags in my
> messageForm.jsp and I also excluded the opening
>  and closing  tag.
> 
>The action mapping shown below works fine.  I am
> able to see the form that I want to display in the
> browser.
> 
> path="/MailMessage"
> parameter=".message.Form"
>   
> type="org.apache.struts.actions.ForwardAction"/>
> 
> 2. I then added the opening  in the
> beginning of the messageForm.jsp and the closing
>  tag at the end of the messageForm.jsp.
> 
> I got the error message 'cannot retrieve
> definition for form bean null'
> 
> 3. the  tag looks like (copied from my
> code):
> 
> 
> 
> 4. the action mapping in the struts-config.xml looks
> like (copied from my code):
> 
>  path="/message/SendMessage"
> type="org.dhsinfo.message.SendMessage"
> name="messageForm"
> scope="request"
> validate="false"
> input=".message.Form">
> name="success"
>
> path="/confirmation/messageForwarded.jsp"/>
> 
> 
> 5. I have not yet prepared the SendMessage.java in the
> AppRoot/org/dhsinfo/message folder yet.
> 
> What could be the cause of the problem?
> 
>
> --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > > -Original Message-
> > > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 10, 2004 10:54 AM
> > > To: Struts Users Mailing List
> > > Subject: RE: [HELP]Cannot retrieve definition for
> > form bean null
> > > 
> > > 
> > > Yes, I copied and pasted the code.  I did not type
> > > those code while composing my request for help
> > message
> > > on the struts-user forum.
> > 
> > Okay then you have a problem in the way your action
> > is declared.   You need to also declare the form
> > being used with that action.  See the documentation
> > for details.
> > 
> > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > 
> > > > 
> > > > 
> > > > > -Original Message-
> > > > > From: Caroline Jen
> > [mailto:[EMAIL PROTECTED]
> > > > > Sent: Friday, September 10, 2004 9:56 AM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: [HELP]Cannot retrieve definition for
> > form
> > > > bean null
> > > > > 
> > > > > 
> > > > > Hi, it is me again.
> > > > > 
> > > > > I still have problem with displaying my JSP. 
> > This
> > > > > time, the error message is:
> > > > > 
> > > > > '[ServletException
> > > > in:/frame/content/messageForm.jsp]
> > > > > Cannot retrieve definition for form bean null'
> > 
> > > > > 
> > > > > 1. I click on this link:
> > > > > 
> > > > > Send
> > > > > Message
> > > > > 
> > > > > 2. the action mapping in struts-config.xml is:
> > > > > 
> > > > >  > > > > path="/MailMessage"
> > > > > parameter=".message.Form"
> > > > >   
> > > > >
> > type="org.apache.struts.actions.ForwardAction"/>
> > > > 
> > > > You need to look here for the problem.  Assuming
> > you
> > > > copied and pasted this.
> > > > 
> > > > 
> > > > > 
> > > > > What am I missing this time?
> > > > 
> > > >
> > >
> >
> -
> > > > To unsubscribe, e-mail:
> > > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > > [EMAIL PROTECTED]
> > > > 
> > > > 
> > > 
> > > 
> > > 
> > >   
> > > ___
> > > Do you Yahoo!?
> > > Shop for Back-to-School deals on Yahoo! Shopping.
> > > http://shopping.yahoo.com/backtoschool
> > > 
> > >
> >
> -
> > > 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]
> > 
> > 
> 
> 
> 
>   
> ___
> Do you Yahoo!?
> Shop for Back-to-School deals on Yahoo! Shopping.
> http://shopping.yahoo.com/backtoschool
> 
> -
> 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]



RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
Hi, I have found the mistake.

The mistake is that  is not a struts
tag equivalent to HTML  tag.

--- Caroline Jen <[EMAIL PROTECTED]> wrote:

> I experimented a little bit:
> 
> 1. I changed all struts tags to html tags in my
> messageForm.jsp and I also excluded the opening
>  and closing  tag.
> 
>The action mapping shown below works fine.  I am
> able to see the form that I want to display in the
> browser.
> 
> path="/MailMessage"
> parameter=".message.Form"
>   
> type="org.apache.struts.actions.ForwardAction"/>
> 
> 2. I then added the opening  in the
> beginning of the messageForm.jsp and the closing
>  tag at the end of the messageForm.jsp.
> 
> I got the error message 'cannot retrieve
> definition for form bean null'
> 
> 3. the  tag looks like (copied from my
> code):
> 
> 
> 
> 4. the action mapping in the struts-config.xml looks
> like (copied from my code):
> 
>  path="/message/SendMessage"
> type="org.dhsinfo.message.SendMessage"
> name="messageForm"
> scope="request"
> validate="false"
> input=".message.Form">
> name="success"
>
> path="/confirmation/messageForwarded.jsp"/>
> 
> 
> 5. I have not yet prepared the SendMessage.java in
> the
> AppRoot/org/dhsinfo/message folder yet.
> 
> What could be the cause of the problem?
> 
>
> --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > > -Original Message-
> > > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 10, 2004 10:54 AM
> > > To: Struts Users Mailing List
> > > Subject: RE: [HELP]Cannot retrieve definition
> for
> > form bean null
> > > 
> > > 
> > > Yes, I copied and pasted the code.  I did not
> type
> > > those code while composing my request for help
> > message
> > > on the struts-user forum.
> > 
> > Okay then you have a problem in the way your
> action
> > is declared.   You need to also declare the form
> > being used with that action.  See the
> documentation
> > for details.
> > 
> > > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > 
> > > > 
> > > > 
> > > > > -Original Message-
> > > > > From: Caroline Jen
> > [mailto:[EMAIL PROTECTED]
> > > > > Sent: Friday, September 10, 2004 9:56 AM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: [HELP]Cannot retrieve definition
> for
> > form
> > > > bean null
> > > > > 
> > > > > 
> > > > > Hi, it is me again.
> > > > > 
> > > > > I still have problem with displaying my JSP.
> 
> > This
> > > > > time, the error message is:
> > > > > 
> > > > > '[ServletException
> > > > in:/frame/content/messageForm.jsp]
> > > > > Cannot retrieve definition for form bean
> null'
> > 
> > > > > 
> > > > > 1. I click on this link:
> > > > > 
> > > > > Send
> > > > > Message
> > > > > 
> > > > > 2. the action mapping in struts-config.xml
> is:
> > > > > 
> > > > >  > > > > path="/MailMessage"
> > > > > parameter=".message.Form"
> > > > >   
> > > > >
> > type="org.apache.struts.actions.ForwardAction"/>
> > > > 
> > > > You need to look here for the problem. 
> Assuming
> > you
> > > > copied and pasted this.
> > > > 
> > > > 
> > > > > 
> > > > > What am I missing this time?
> > > > 
> > > >
> > >
> >
>
-
> > > > To unsubscribe, e-mail:
> > > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > > [EMAIL PROTECTED]
> > > > 
> > > > 
> > > 
> > > 
> > > 
> > >   
> > > ___
> > > Do you Yahoo!?
> > > Shop for Back-to-School deals on Yahoo!
> Shopping.
> > > http://shopping.yahoo.com/backtoschool
> > > 
> > >
> >
>
-
> > > 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]
> > 
> > 
> 
> 
> 
>   
> ___
> Do you Yahoo!?
> Shop for Back-to-School deals on Yahoo! Shopping.
> http://shopping.yahoo.com/backtoschool
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 





__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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



Re: missing class

2004-09-10 Thread bmf5







Matt Bathje <[EMAIL PROTECTED]> wrote on 09/10/2004 03:02:40 PM:

> It looks like you are missing the Jakarta ORO jar

yep again.  Thanks Matt.




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



indexedListProperty and JavaScript Validation

2004-09-10 Thread Terry Roe
Greetings,
I have searched and searched for information about using JavaScript with 
the indexedListProperty of the Validator.  I've seen many people asking 
about this problem, but no clear solutions or definitive answers as to 
whether this is supported in Struts.  I am using Struts 1.2.2, so I have 
the latest and greatest (at the moment).  Here's a clip from my 
validation.xml:





datePattern
MM/dd/


This works for server-side validation.  However, no JavaScript is 
generated for this field, or others like it.  I have fields such as 
"plan.dateOfService" earlier in my validation.xml file that do generate 
JavaScript and the client-side validation works for them.  It appears 
that either the JavaScript can't be generated for items with 
indexedListProperty, or it's not yet supported in Struts, or...

I would like to get a definitive answer as to whether this is supported 
in Struts and, if so, how to do it.  Or I would like to know that it is 
not possible, or likely, that Struts will ever be able to do this.

I know it's possible to generate JavaScript for indexed properties 
because I am doing it manually in other places.  (If I ever get the 
time, perhaps I'll write some custom code to generate the validation 
code automatically.)  However, it seems like Struts would be much more 
useful if it could handle things like this, as well as another issue I 
will be bringing up shortly.  If it's just a matter of "we haven't got 
there, yet" that's cool.  I'd just like to know one way or the other.

Any help and/or information is greatly appreciated.
TR
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Resources not defined for Validator

2004-09-10 Thread Shawn Sandy
Does anyone know why this tag causes js to come out as text



While this tag causes the js to come out as js



-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
Sent: Friday, September 10, 2004 11:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Resources not defined for Validator

Yes, you are subclassing DynaValidatorActionForm which picks the
validations based on the action path and not the form name. Therefore,
if you want to validate based on the form then you should use (or
subclass) DynaValidatorForm instead. If you want to validate based on
path then change:

to:


Also, when you specify the action on html:form you should not include
the ".do".

-Bill Siggelkow

Shawn Sandy wrote:

> Thanks, I'm past that, now when I submit a form to be validated, no validation 
> happens (required validation).
>
> In my jsp I have these tags
>
>  staticJavascript="false"/>
>
> 
>
> and my validations.xml looks like this
>
> 
>   
>   
>   
>   
>   
>   
>   
> 
>
> and my DynaForm is defined like this (which DynaForm extends DynaValidatorActionForm
>
> 
>type="java.lang.String"/>
>type="java.lang.Long"/>
>   ...
> 
>
> Does anything look obvious?
>
> Thanks in advance.
>
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
> Sent: Friday, September 10, 2004 11:05 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Resources not defined for Validator
>
> Sounds like you haven't declared the Validator PlugIn in your struts-config.
>
> Shawn Sandy wrote:
>
>
>>I'm sure I'm overlooking something simple here, but can anyone point me in the right 
>>direction for resolution of this error:
>>
>>Resources not defined for Validator
>>
>>Thanks
>>
>>Shawn
>>
>
>
>
> -
> 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]



Re: missing class

2004-09-10 Thread Matt Bathje
It looks like you are missing the Jakarta ORO jar - which is odd because 
it comes with the struts distribution.

Matt

[EMAIL PROTECTED] wrote:

I've been using the Validator successfully on other forms.  Now that I'm
trying to use the mask validation I get an InvocationTargetException due to
a  NoClassDefFoundError on org/apache/oro/text/perl/Perl5Util
Could I have a jar file missing?  I'm using Struts 1.1 in WSAD 5.0.
-
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]


missing class

2004-09-10 Thread bmf5




I've been using the Validator successfully on other forms.  Now that I'm
trying to use the mask validation I get an InvocationTargetException due to
a  NoClassDefFoundError on org/apache/oro/text/perl/Perl5Util

Could I have a jar file missing?  I'm using Struts 1.1 in WSAD 5.0.


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



RE: Resources not defined for Validator

2004-09-10 Thread Shawn Sandy
Thanks for holding my hand through this, now my tag



pukes out javascript as text at the top of my jsp.

Any ideas.

Thanks again!

-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
Sent: Friday, September 10, 2004 11:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Resources not defined for Validator

Yes, you are subclassing DynaValidatorActionForm which picks the
validations based on the action path and not the form name. Therefore,
if you want to validate based on the form then you should use (or
subclass) DynaValidatorForm instead. If you want to validate based on
path then change:

to:


Also, when you specify the action on html:form you should not include
the ".do".

-Bill Siggelkow

Shawn Sandy wrote:

> Thanks, I'm past that, now when I submit a form to be validated, no validation 
> happens (required validation).
>
> In my jsp I have these tags
>
>  staticJavascript="false"/>
>
> 
>
> and my validations.xml looks like this
>
> 
>   
>   
>   
>   
>   
>   
>   
> 
>
> and my DynaForm is defined like this (which DynaForm extends DynaValidatorActionForm
>
> 
>type="java.lang.String"/>
>type="java.lang.Long"/>
>   ...
> 
>
> Does anything look obvious?
>
> Thanks in advance.
>
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
> Sent: Friday, September 10, 2004 11:05 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Resources not defined for Validator
>
> Sounds like you haven't declared the Validator PlugIn in your struts-config.
>
> Shawn Sandy wrote:
>
>
>>I'm sure I'm overlooking something simple here, but can anyone point me in the right 
>>direction for resolution of this error:
>>
>>Resources not defined for Validator
>>
>>Thanks
>>
>>Shawn
>>
>
>
>
> -
> 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]



Re: Resources not defined for Validator

2004-09-10 Thread Terry Roe
Shawn,
The JavaScript function should be "validateUserForm(this);" in your 
onsubmit.  You need to name the function using the name of the form. 
You can also take a look at the HTML source that is generated and you 
will see the name of the JavaScript function that is generated by Struts.

TR
email:  [EMAIL PROTECTED]
Shawn Sandy wrote:
Thanks, I'm past that, now when I submit a form to be validated, no validation happens 
(required validation).
In my jsp I have these tags


and my validations.xml looks like this









and my DynaForm is defined like this (which DynaForm extends DynaValidatorActionForm



...

Does anything look obvious?
Thanks in advance.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
Sent: Friday, September 10, 2004 11:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Resources not defined for Validator
Sounds like you haven't declared the Validator PlugIn in your struts-config.
Shawn Sandy wrote:

I'm sure I'm overlooking something simple here, but can anyone point me in the right 
direction for resolution of this error:
Resources not defined for Validator
Thanks
Shawn

-
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]


Re: How To Validate Any Three out of the Five Text Fields Are Required?

2004-09-10 Thread Matt Bathje
You could probably use requiredif or validwhen to do this, but I think 
it would be extremely messy. I'm not aware of another built in validator 
that could handle this situation. You will probalby have to make your 
own unless somebody else has a better idea.

Matt
Caroline Jen wrote:
I have used the validation.xml to validate some
individual properties and been quite happy with the
feature.
Now, I have a form with five text fields.  If any
three out of those five fields are filled out, it
passes the submit validation check.
Is there any way to set 'required' for this kind of validation?

___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool
-
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]


RE: [CANNOT SEE THE PROBLEM!!]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
I experimented a little bit:

1. I changed all struts tags to html tags in my
messageForm.jsp and I also excluded the opening
 and closing  tag.

   The action mapping shown below works fine.  I am
able to see the form that I want to display in the
browser.

   

2. I then added the opening  in the
beginning of the messageForm.jsp and the closing
 tag at the end of the messageForm.jsp.

I got the error message 'cannot retrieve
definition for form bean null'

3. the  tag looks like (copied from my
code):



4. the action mapping in the struts-config.xml looks
like (copied from my code):


   


5. I have not yet prepared the SendMessage.java in the
AppRoot/org/dhsinfo/message folder yet.

What could be the cause of the problem?

   
--- Jim Barrows <[EMAIL PROTECTED]> wrote:

> 
> 
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 10:54 AM
> > To: Struts Users Mailing List
> > Subject: RE: [HELP]Cannot retrieve definition for
> form bean null
> > 
> > 
> > Yes, I copied and pasted the code.  I did not type
> > those code while composing my request for help
> message
> > on the struts-user forum.
> 
> Okay then you have a problem in the way your action
> is declared.   You need to also declare the form
> being used with that action.  See the documentation
> for details.
> 
> > --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > 
> > > > -Original Message-
> > > > From: Caroline Jen
> [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, September 10, 2004 9:56 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [HELP]Cannot retrieve definition for
> form
> > > bean null
> > > > 
> > > > 
> > > > Hi, it is me again.
> > > > 
> > > > I still have problem with displaying my JSP. 
> This
> > > > time, the error message is:
> > > > 
> > > > '[ServletException
> > > in:/frame/content/messageForm.jsp]
> > > > Cannot retrieve definition for form bean null'
> 
> > > > 
> > > > 1. I click on this link:
> > > > 
> > > > Send
> > > > Message
> > > > 
> > > > 2. the action mapping in struts-config.xml is:
> > > > 
> > > >  > > > path="/MailMessage"
> > > > parameter=".message.Form"
> > > >   
> > > >
> type="org.apache.struts.actions.ForwardAction"/>
> > > 
> > > You need to look here for the problem.  Assuming
> you
> > > copied and pasted this.
> > > 
> > > 
> > > > 
> > > > What am I missing this time?
> > > 
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > 
> > 
> > ___
> > Do you Yahoo!?
> > Shop for Back-to-School deals on Yahoo! Shopping.
> > http://shopping.yahoo.com/backtoschool
> > 
> >
>
-
> > 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]
> 
> 




___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool

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



Re: Resources not defined for Validator

2004-09-10 Thread Bill Siggelkow
Yes, you are subclassing DynaValidatorActionForm which picks the 
validations based on the action path and not the form name. Therefore, 
if you want to validate based on the form then you should use (or 
subclass) DynaValidatorForm instead. If you want to validate based on 
path then change:

to:


Also, when you specify the action on html:form you should not include 
the ".do".

-Bill Siggelkow
Shawn Sandy wrote:
Thanks, I'm past that, now when I submit a form to be validated, no validation happens 
(required validation).
In my jsp I have these tags


and my validations.xml looks like this









and my DynaForm is defined like this (which DynaForm extends DynaValidatorActionForm



...

Does anything look obvious?
Thanks in advance.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
Sent: Friday, September 10, 2004 11:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Resources not defined for Validator
Sounds like you haven't declared the Validator PlugIn in your struts-config.
Shawn Sandy wrote:

I'm sure I'm overlooking something simple here, but can anyone point me in the right 
direction for resolution of this error:
Resources not defined for Validator
Thanks
Shawn

-
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]


RE: Resources not defined for Validator

2004-09-10 Thread Shawn Sandy
Thanks, I'm past that, now when I submit a form to be validated, no validation happens 
(required validation).

In my jsp I have these tags





and my validations.xml looks like this











and my DynaForm is defined like this (which DynaForm extends DynaValidatorActionForm




...


Does anything look obvious?

Thanks in advance.

-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
Sent: Friday, September 10, 2004 11:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Resources not defined for Validator

Sounds like you haven't declared the Validator PlugIn in your struts-config.

Shawn Sandy wrote:

> I'm sure I'm overlooking something simple here, but can anyone point me in the right 
> direction for resolution of this error:
> 
> Resources not defined for Validator
> 
> Thanks
> 
> Shawn
>


-
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]



Re: [Gmail] - All gone,

2004-09-10 Thread Rogue Chameleon
I still have 4 to give.


On Fri, 10 Sep 2004 18:10:46 +, Ruben Cepeda
<[EMAIL PROTECTED]> wrote:
> Guys,
> 
> I just ran out.
> 
> *
> Ruben Cepeda
> [EMAIL PROTECTED]
> *
> 
> _
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



-- 
...
Rogue Chameleon
...

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



[ANN] Struts-Flow 0.2 Released

2004-09-10 Thread Don Brown
Struts Flow is a port of Cocoon's Control Flow to Struts to allow
complex workflow, like multi-form wizards, to be easily implemented
using continuations-capable JavaScript. It provides the ability to
describe the order of Web pages that have to be sent to the client, at
any given point in time in an application.

Features
* Easily script complex workflows
* Full access to Struts features
* Ability to run in non-Struts environments (uses Jakarta's Commons-Chain)
* Includes Wizard library to help easily create complex wizards
* Includes Wizard example
* Includes Cocoon's number guessing game example

This release adds a wizard library and example showing how to easily
create complex wizards using Struts Flow.  The wizard tutorial/example
on the website explains how it is used.

Homepage: http://struts.sf.net/struts-flow
Download: http://sourceforge.net/project/showfiles.php?group_id=49385&package_id=120079
Example: http://struts.sourceforge.net/struts-flow/wizard-example.html

Don

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



Re: ActionForm in session scope - the best way.

2004-09-10 Thread Rick Reumann
Davide Gurgone wrote the following on 9/10/2004 12:22 PM:
How can you manage multiple form pages? 4 example when you have a lot of 
fields?
In one page is sample but hard for the user, that whant to see 
everything without scrolling...
In that case use multiple pages and keep the one form in session scope. 
Session scope makes sense for this kind of stuff. You then just foward 
from one JSP to the next and have your mapping set to use the same 
session scoped form bean. When you are finished on the last page and 
submit you'll have the one form bean that collected all the data across 
multiple pages.

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


[Gmail] - All gone,

2004-09-10 Thread Ruben Cepeda
Guys,
I just ran out.

*
Ruben Cepeda
[EMAIL PROTECTED]
*
_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


RE: [HELP]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 10:54 AM
> To: Struts Users Mailing List
> Subject: RE: [HELP]Cannot retrieve definition for form bean null
> 
> 
> Yes, I copied and pasted the code.  I did not type
> those code while composing my request for help message
> on the struts-user forum.

Okay then you have a problem in the way your action is declared.   You need to also 
declare the form being used with that action.  See the documentation for details.

> --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > > -Original Message-
> > > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 10, 2004 9:56 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [HELP]Cannot retrieve definition for form
> > bean null
> > > 
> > > 
> > > Hi, it is me again.
> > > 
> > > I still have problem with displaying my JSP.  This
> > > time, the error message is:
> > > 
> > > '[ServletException
> > in:/frame/content/messageForm.jsp]
> > > Cannot retrieve definition for form bean null' 
> > > 
> > > 1. I click on this link:
> > > 
> > > Send
> > > Message
> > > 
> > > 2. the action mapping in struts-config.xml is:
> > > 
> > >  > > path="/MailMessage"
> > > parameter=".message.Form"
> > >   
> > > type="org.apache.struts.actions.ForwardAction"/>
> > 
> > You need to look here for the problem.  Assuming you
> > copied and pasted this.
> > 
> > 
> > > 
> > > What am I missing this time?
> > 
> >
> -
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
>   
> ___
> Do you Yahoo!?
> Shop for Back-to-School deals on Yahoo! Shopping.
> http://shopping.yahoo.com/backtoschool
> 
> -
> 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]



Re: Resources not defined for Validator

2004-09-10 Thread Bill Siggelkow
Sounds like you haven't declared the Validator PlugIn in your struts-config.
Shawn Sandy wrote:
I'm sure I'm overlooking something simple here, but can anyone point me in the right direction for resolution of this error:
 
Resources not defined for Validator
 
Thanks
 
Shawn


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


Resources not defined for Validator

2004-09-10 Thread Shawn Sandy
I'm sure I'm overlooking something simple here, but can anyone point me in the right 
direction for resolution of this error:
 
Resources not defined for Validator
 
Thanks
 
Shawn


RE: [HELP]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
Yes, I copied and pasted the code.  I did not type
those code while composing my request for help message
on the struts-user forum.
--- Jim Barrows <[EMAIL PROTECTED]> wrote:

> 
> 
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 9:56 AM
> > To: [EMAIL PROTECTED]
> > Subject: [HELP]Cannot retrieve definition for form
> bean null
> > 
> > 
> > Hi, it is me again.
> > 
> > I still have problem with displaying my JSP.  This
> > time, the error message is:
> > 
> > '[ServletException
> in:/frame/content/messageForm.jsp]
> > Cannot retrieve definition for form bean null' 
> > 
> > 1. I click on this link:
> > 
> > Send
> > Message
> > 
> > 2. the action mapping in struts-config.xml is:
> > 
> >  > path="/MailMessage"
> > parameter=".message.Form"
> >   
> > type="org.apache.struts.actions.ForwardAction"/>
> 
> You need to look here for the problem.  Assuming you
> copied and pasted this.
> 
> 
> > 
> > What am I missing this time?
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool

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



Re: Help - struggling this for days !

2004-09-10 Thread Bill Siggelkow
You might try using the following JSP fragment (compliments of James 
Mitchell) on your page -- it will show you objects in the request, etc.



Debug Information:


Specific JSTL 
values

  
param.pageSize

  
  
pageSize

  
  
param.begin

  
  
begin

  
  
testLink

  

Request Parameters


  






  


Header Values


  




  

	
		Initialization 
Parameters
	
	
	  
		
		
	  
	


Cookies


  


  


page



  


  
  


request


  


  


session


  


  

	
		application
	
	
	  
		
		
	  
	

---

lixin chu wrote:
Here is how I prepare action messages in Action:
ActionMessages messages = new ActionMessages();
messages.add(ActionMessages.GLOBAL_MESSAGE, new
ActionMaessage ("something here"));
saveMessages(request, messages);
anything wrong ?

--- lixin chu <[EMAIL PROTECTED]> wrote:

Hi,
Appreciate your help, I have been trying to find out
why for days.
Here is my JSP:

Search Templates



















  
  
  
  Name*:
  
size=20/>
  

  
  Category*
:
  
   
 
property="name" labelProperty="name"/>
  
  
  
  
  
  
  
property="method">
key="button.search"/>
  
  
  
  
 


I got error message in log file:
2004-09-10 23:31:21 StandardWrapperValve[action]:
Servlet.service() for servlet action threw exception
javax.servlet.jsp.JspException: ServletException in
'/WEB-INF/tiles/SearchTemplate.jsp': Cannot find
bean
messages in any scope
	at

org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:964)
at
org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:503)
at
org.apache.jsp.WEB_002dINF.layouts.layout_jsp._jspx_meth_tiles_insert_5(layout_jsp.java:261)
at
org.apache.jsp.WEB_002dINF.layouts.layout_jsp._jspService(layout_jsp.java:129)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:506)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:443)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1074)
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:303)
at
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:279)
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:342)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:269)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1176)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:472)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.ja

Re: Imports and Form Submits

2004-09-10 Thread Wendy Smoak
From: "Tom Holmes Jr." <[EMAIL PROTECTED]>
> In my limited knowledge of Struts ... in order to execute this action
> which gets my data, it requires a submit to call the action.

No, it requires an HTTP request to the URL that's mapped to the action.
Typically http://www.example.com/myapp/something.do

That could be a click on a button, or just typing the URL into a browser, or
clicking on an  link.

That HTTP request makes the Action code run.  Depending on what's in the
request (almost nothing, in the case of the initial request,) it either does
some setup work or processes the submitted data, and determines what
response to send.

There are ways to skip validation on the first request, so you don't show
the form with a bunch of errors.  You can check to see if the form was
POSTed to you, or else look for the presence of a hidden field on the form,
which won't be there unless it was POSTed.

-- 
Wendy Smoak


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



Re: Help - struggling this for days !

2004-09-10 Thread Bryce Fischer
I assume that when you say
messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("something 
here");

the "something here" corresponds to a key in your messages.properties 
file (or whichever file has your resource messages)?

lixin chu wrote:
Here is how I prepare action messages in Action:
ActionMessages messages = new ActionMessages();
messages.add(ActionMessages.GLOBAL_MESSAGE, new
ActionMaessage ("something here"));
saveMessages(request, messages);
anything wrong ? 

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


RE: Efficiency and scopes and persistence

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 10:32 AM
> To: Struts Users Mailing List
> Subject: Efficiency and scopes and persistence
> 
> 
> Is there any efficiency issue when chosing to save in various 
> scopes?  
> Is the only real issue between application scope and session 
> scope that 
> of persistence?

Yes, both use hash maps for storage.

> 
> 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]



Efficiency and scopes and persistence

2004-09-10 Thread Michael McGrady
Is there any efficiency issue when chosing to save in various scopes?  
Is the only real issue between application scope and session scope that 
of persistence?

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


RE: [HELP]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: [HELP]Cannot retrieve definition for form bean null
> 
> 
> Hi, it is me again.
> 
> I still have problem with displaying my JSP.  This
> time, the error message is:
> 
> '[ServletException in:/frame/content/messageForm.jsp]
> Cannot retrieve definition for form bean null' 
> 
> 1. I click on this link:
> 
> Send
> Message
> 
> 2. the action mapping in struts-config.xml is:
> 
>  path="/MailMessage"
> parameter=".message.Form"
>   
> type="org.apache.struts.actions.ForwardAction"/>

You need to look here for the problem.  Assuming you copied and pasted this.


> 
> What am I missing this time?

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



RE: [OT] synchronous form submit in a popup so parent ref reshes p rope rly

2004-09-10 Thread Barnett, Brian W.
Thanks Paul. It works like a cha rm.

-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 10, 2004 10:42 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] synchronous form submit in a popup so parent refreshes p
rope rly

You could make the response from the submit be an html page which executes
the relevant (parent.reload; close) Javascript. 

Alternatively you could submit the form on the popup window so that the
response of this submission was displayed in the parent window (via the
'target' attribute of the form tag). You'd want to define the forward for
this action to be the refresh action you want your parent to perform.

Paul

> -Original Message-
> From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 5:19 PM
> To: '[EMAIL PROTECTED]'
> Subject: [OT] synchronous form submit in a popup so parent 
> refreshes prope rly
> 
> 
> I have a popup with a save button that works like this:
> 
>  
> 
> onclick="document.forms[0].Dispatch.value='Save';document.form
> s[0].submit();
> window.opener.location.reload(true);window.close();"
> 
>  
> 
> The problem is that the parent window gets refreshed before the submit
> finishes what it needs to finish, i.e., write stuff to the 
> db. I want the
> parent window to be refreshed after the submit has finished. 
> What are some
> ways I can try to make sure the submit finishes before the 
> parent window
> gets updated?
> 
>  
> 
> Thanks,
> 
> Brian Barnett
> 
> 


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you
are not the addressee indicated in this message (or responsible for delivery
of the message to such person), you may not copy or deliver this message to
anyone. In such case, you should destroy this message, and notify us
immediately. If you or your employer does not consent to Internet email
messages of this kind, please advise us immediately. Opinions, conclusions
and other information expressed in this message are not given or endorsed by
my Company or employer unless otherwise indicated by an authorised
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being
transmitted via electronic mail attachments we cannot guarantee that
attachments do not contain computer virus code.  You are therefore strongly
advised to undertake anti virus checks prior to accessing the attachment to
this electronic mail.  Axios Systems Ltd grants no warranties regarding
performance use or quality of any attachment and undertakes no liability for
loss or damage howsoever caused.
**


-
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]



RE: [FRIDAY] GMail invites

2004-09-10 Thread Shawn Sandy
I'll take one

-Original Message-
From: Wiebe de Jong [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 8:54 AM
To: 'Struts Users Mailing List'
Subject: RE: [FRIDAY] GMail invites


I've got 6 invites available to whoever wants them.

Wiebe de Jong


-
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]



RE: [FRIDAY] GMail invites

2004-09-10 Thread Wiebe de Jong


I've got 6 invites available to whoever wants them.

Wiebe de Jong


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



Re: [FRIDAY] GMail invites

2004-09-10 Thread M. Bitner
I've got 5 if there's anyone here who still needs one.

Melissa


On Fri, 10 Sep 2004 10:07:23 -0700, Michael McGrady
<[EMAIL PROTECTED]> wrote:
> 
> Why do I get the impression that an "invite" might not be a difficult
> thing to get for this party?
> 
> 
> 
> 
> -
> 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]



RE: ActionForm in session scope - the best way.

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Davide Gurgone
> Sent: Friday, September 10, 2004 10:00 AM
> To: [EMAIL PROTECTED]
> Subject: Re: ActionForm in session scope - the best way.
> 
> 
> >>Were do you place the methods that have to initialize action forms?
> 
> > In the actions.  I typically use ShowBlahFormAction as a name, 
> > and similar for the acutal url.
> 
> what does it means? ShowBlahFormAction???

My Action class name follow the pattern ShowBlahFormAction.  Blah being whatever the 
name of the form is, if it's a form.  It's a read only page then its 
ShowPageNameAction.

> 
> >>In some case I have to do this before populate, and in other 
> >>case after 
> >>the populate (reset and validate).
> > 
> > 
> > Not sure what you mean here.
> 
> In some cases I have to pre-populate the form bean with the default 
> values, because if the request contains some values, I can't 
> cover them 
> with the default values, 'cause they are only default values...
> 
> Now you understand?

Handle that in your action, if I understand you correctly.

> 
> > Use the validate option in the action mapping. Turn it to 
> false when 
> setting up the form, and true when the form gets submitted 
> for edit or add.
> 
> Ok, but I have the control of the action only after validate calling!
> To do what you say I have to create a dispatch action, Ok?
> 
> 
> >>I'm sorry for my bad english... I hope you understand me...
> >>
> >>best regards,
> >>
> >>--
> >>Davide Gurgone.
> >>davide_at_gurgone_dot_it
> >>
> >>
> >>
> -
> >>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]



Re: Help - struggling this for days !

2004-09-10 Thread Bill Siggelkow
Well, it looks okay -- as long as you are forwarding -- not redirecting 
from the action that saves the messages to the JSP that renders them.

You shouldn't be stuck on this kind of thing for days -- if you are 
stuck for more than half a day I would say it is time to pull out your 
handy-dandy debugger and set some breakpoints.

-Bill Siggelkow
lixin chu wrote:
Here is how I prepare action messages in Action:
ActionMessages messages = new ActionMessages();
messages.add(ActionMessages.GLOBAL_MESSAGE, new
ActionMaessage ("something here"));
saveMessages(request, messages);
anything wrong ?

--- lixin chu <[EMAIL PROTECTED]> wrote:

Hi,
Appreciate your help, I have been trying to find out
why for days.
Here is my JSP:

Search Templates



















  
  
  
  Name*:
  
size=20/>
  

  
  Category*
:
  
   
 
property="name" labelProperty="name"/>
  
  
  
  
  
  
  
property="method">
key="button.search"/>
  
  
  
  
 


I got error message in log file:
2004-09-10 23:31:21 StandardWrapperValve[action]:
Servlet.service() for servlet action threw exception
javax.servlet.jsp.JspException: ServletException in
'/WEB-INF/tiles/SearchTemplate.jsp': Cannot find
bean
messages in any scope
	at

org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:964)
at
org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:503)
at
org.apache.jsp.WEB_002dINF.layouts.layout_jsp._jspx_meth_tiles_insert_5(layout_jsp.java:261)
at
org.apache.jsp.WEB_002dINF.layouts.layout_jsp._jspService(layout_jsp.java:129)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:506)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:443)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1074)
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:303)
at
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:279)
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:342)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:269)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1176)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:472)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:86)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)


at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at
org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:117)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at
net.canal.core.filter.SecurityFilter.doFilter(SecurityFilter.java:129)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at
org.apache.catalina.core.Standar

RE: Help - struggling this for days !

2004-09-10 Thread Jim Barrows


> -Original Message-
> From: lixin chu [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 10:04 AM
> To: Struts Users Mailing List
> Subject: Re: Help - struggling this for days !
> 
> 
> Here is how I prepare action messages in Action:
> 
> ActionMessages messages = new ActionMessages();
> messages.add(ActionMessages.GLOBAL_MESSAGE, new
> ActionMaessage ("something here"));
> saveMessages(request, messages);
> 
> anything wrong ?
saveMessages saves under:
public static final java.lang.String MESSAGE_KEY

The request attributes key under which your action should store an 
org.apache.struts.action.ActionMessages object, if you are using the corresponding 
custom tag library elements.

And the value of the constant:
org.apache.struts.action.ACTION_MESSAGE

So, your id should be "org.apache.struts.action.ACTION_MESSAGE" I believe.
However this does work for pulling out messages as well:










> 
> 
> 
> --- lixin chu <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > Appreciate your help, I have been trying to find out
> > why for days.
> > 
> > Here is my JSP:
> > 
> > Search Templates
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> >
> >
> >Name*:
> > > size=20/>
> >
> > 
> >
> >Category*
> > :
> >
> > 
> >> property="name" labelProperty="name"/>
> >
> >
> >
> >
> >
> >
> > > property="method"> > key="button.search"/>
> >
> >
> >
> >
> >   
> > 
> > 
> > I got error message in log file:
> > 2004-09-10 23:31:21 StandardWrapperValve[action]:
> > Servlet.service() for servlet action threw exception
> > javax.servlet.jsp.JspException: ServletException in
> > '/WEB-INF/tiles/SearchTemplate.jsp': Cannot find
> > bean
> > messages in any scope
> > at
> >
> org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTa
> g(InsertTag.java:964)
> > at
> >
> org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:503)
> > at
> >
> org.apache.jsp.WEB_002dINF.layouts.layout_jsp._jspx_meth_tiles
> _insert_5(layout_jsp.java:261)
> > at
> >
> org.apache.jsp.WEB_002dINF.layouts.layout_jsp._jspService(layo
> ut_jsp.java:129)
> > at
> >
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
> > at
> >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > at
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> Wrapper.java:311)
> > at
> >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> .java:301)
> > at
> >
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> > at
> >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:284)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:204)
> > at
> >
> org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat
> ionDispatcher.java:742)
> > at
> >
> org.apache.catalina.core.ApplicationDispatcher.processRequest(
> ApplicationDispatcher.java:506)
> > at
> >
> org.apache.catalina.core.ApplicationDispatcher.doForward(Appli
> cationDispatcher.java:443)
> > at
> >
> org.apache.catalina.core.ApplicationDispatcher.forward(Applica
> tionDispatcher.java:359)
> > at
> >
> org.apache.struts.action.RequestProcessor.doForward(RequestPro
> cessor.java:1074)
> > at
> >
> org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesR
> equestProcessor.java:303)
> > at
> >
> org.apache.struts.tiles.TilesRequestProcessor.processTilesDefi
> nition(TilesRequestProcessor.java:279)
> > at
> >
> org.apache.struts.tiles.TilesRequestProcessor.processForwardCo
> nfig(TilesRequestProcessor.java:342)
> > at
> >
> org.apache.struts.action.RequestProcessor.process(RequestProce
> ssor.java:269)
> > at
> >
> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> ava:1176)
> > at
> >
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:472)
> > at
> >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> > at
> >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:284)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:204)
> > at
> >
> org.displaytag.filter.ResponseOverrideFilter.doFilter(Response
> OverrideFilter.java:86)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:233)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:204)
> > at
> >

  1   2   >