Re: Cannot retrieve definition for form bean null

2002-03-08 Thread Rajagopal V

if u need the form in your offer.jsp(the one you are
forwarding from NewOfferAction), you shud have this in
your config file



 


This way, you have the Form forwarded to offer.jsp, 

HTH

--- Benoit Segaert <[EMAIL PROTECTED]> wrote:
> I have the following config:
> 
>   
> type="be.uniway.spofferlt.OfferForm"/>
> 
>   
> 
>   
> 
>
> type="be.uniway.spofferlt.NewOfferAction"
>name="offerForm"
>   scope="request"
>validate="false">
>   path="/jsp/offer.jsp"/>
> 
> 
>
> type="be.uniway.spofferlt.RegistrationOfferAction"
>   scope="request" >
>   path="/jsp/offerList.jsp"/>
> 
> ...
>  
> 
> My offer.jsp is the following:
> 
> 
> 
> ...
> 
> 
> My class be.uniway.spofferlt.NewOfferAction received
> the form OfferForm
> and I can
> set some attributes with setters. The getters are
> also available.
> The method perform() of  NewOfferAction finishs with
> the following line:
> 
> 
> return (mapping.findForward("success"));
> 
> I receive the error "Cannot retrieve definition for
> form bean null" at
> this moment.
> 
> Could you help me?
> I didn't find a answer in the mailinglist.
> 
> Benoit
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

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




Re: bean:write and XSLT Coldjava taglib

2002-03-08 Thread Rajagopal V

The ApplyXSL Tag has a bodycontent of JSP so it should
be able to expand the contents of the bean:write and
then use that to create my HTML(using hte stylesheet).

Why isnt it doing this? If I just use the 
 tag,it prints thewhole XML onto the
screen. So when i put it as a child tag inside
ApplyXSL, it shud create the HTML :-(((
Am I missing something?

--- Rajagopal V <[EMAIL PROTECTED]> wrote:
> Hi all
> Im using the Coldjava Taglib for XSLT Operations and
> the input that  I feed to it is a request scope
> variable.
> 
> 
>  
> 
> 
> I have a request scope variable called xmlString
> which
> contains a Stringified version of my DOM. When I do
> this, it throws me a "Markup in the document
> preceding
> the root element is not well-formed". My XML is 
> perfect. because if i use it this way
> 
> 
> 
>  <%= pageContext.findAttribute("xmlString") %>
> 
> 
> It works fine this way. Why isnt the first one
> working??
> 
> TIA
> raj
> 
> 
> __
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free
> email!
> http://mail.yahoo.com/
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

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




bean:write and XSLT Coldjava taglib

2002-03-06 Thread Rajagopal V

Hi all
Im using the Coldjava Taglib for XSLT Operations and
the input that  I feed to it is a request scope
variable.


 


I have a request scope variable called xmlString which
contains a Stringified version of my DOM. When I do
this, it throws me a "Markup in the document preceding
the root element is not well-formed". My XML is 
perfect. because if i use it this way



 <%= pageContext.findAttribute("xmlString") %>


It works fine this way. Why isnt the first one
working??

TIA
raj


__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

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




RE: Design Issue: XML/XSL/JSP

2002-02-26 Thread Rajagopal V

Im redesigning my JSP which does all SQL +
presentation. I have a main report which has 4 sub
reports which have to be created in HTML and PDF. So
what i do now is create a XML out of the SQL and then
use appropriate stylesheets. All this gets done in the
JSP(Now!!).

Now, if i have to use Struts, Im thinking of having
Action subclasses for each of the 4 reports, create
XML in each of them and add the Document object to
some collection that can be retrieved in the JSP. 

In the JSP, I can fetch the collection and use taglibs
to associate this with a stylesheet and print out the
results. Is this an acceptable design? 

I had a look at some of the postings here about
creating XMLServlet before control goes back to the
JSP but I have some text that has to be displayed
other than the results. 

Is there any flaw in this design.

TIA
Raj

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

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