Robin:

As long as you write to <[EMAIL PROTECTED]>
all your mails will arrive. You will recieve the one
you wrote and some mailing failures.

As you can see Mattias answer you, this is a good one.

You have to be really 'cautioned' with your case.
Follow the directions offered by Mattias.

And more thing to keep in mind, if the JSP container
encounter one jsp:setProperty tag, it looks at the
bean and tries to find the corresponding setXxx method
for every property you said, if they are founded there
is no problem but if some one isn't found nothing
happens, no exception are thrown. This way you don't
know if something went wrong.

You can do the following test to see wich property is
giving you the problem:
<jsp:setProperty name="Class" property="prop1" />
<jsp:setProperty name="Class" property="prop2" />
<jsp:setProperty name="Class" property="prop3" />

Hope this help
Atilio


--- Robin Porter
<[EMAIL PROTECTED]> wrote:
> Hello Atilo,
> I have just recently joined this list but for some
> reason my posts keep
> getting returned to me.  Would you please let me
> know if you could assist me
> with my problem below and even post it to the list.
>
> Thank you,
>
> Robin Porter
>
> I have been trying to autoset the properties of a
> bean within a JSP but have
> not been having any luck.
>
> The line I was trying to use is:
>
> <jsp:setProperty name="Book" property="*"/>
>
> Since this hasn't worked I have had to explicitly
> set the parameters
> individually with lines like:
>
> Book.setUsername(request.getParameter("Username"));
>
> Could you please make any suggestions as to what I
> may be doing wrong with
> the autosetting of these properties.  My
> understanding is that if I pass in
> the parameters as part of the request object and
> then use the property="*",
> this should cause any properties of the Book bean
> that match a request
> parameter to be set as long as there was a set
> method for this property in
> the bean (which there was).
> These properties were not getting set with:
>
> <jsp:setProperty name="Book" property="*"/>
>
> They were always NULL, so this is why I had to
> revert to setting each one
> individually.  Please tell me why this autoset is
> not working for me.
>
> Thank you.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


=====
Ing. Atilio Ranzuglia Buteler
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to