Thank you for your reply, 

I will start reading those chapters and the presentation, I think it should be 
fairly simple to understand since I'm already familiar with the concepts.

I think, now there's a new and better way to write JSPs using JSTL tags or 
custom tags.

Perhaps, Cactus tests could be written with custom tags instead of directly 
having scriptlets in JSPs.

I also need to figure out how to remove the test part of the code inside a JSP 
- I guess having it in an include file might help. But I will read about this
and gain a better understanding rather than guessing it.

-Regards
Rashmi
----- Original Message ----
From: Steve Loughran <[EMAIL PROTECTED]>
To: Ant Users List <user@ant.apache.org>
Sent: Thursday, February 22, 2007 5:12:31 AM
Subject: Re: How to compile jsp files with ANT



nobody can keep in their head everything "needed" these days, or at 
least the things everyone says they need. I can't do complex XPath or 
XSL, havent done any AJAX stuff, and updating the book for EJB3/JavaEE 5 
showed me a whole world that I'd been avoiding.

so yes, pick the chapters you think are relevant. ch12: web+httpunit, 
ch14, EJB+Cactus.

Cactus is interesting as it runs normal unit tests inside the app 
server, sending back the results. which is good for testing, but not 
always for debugging. Quite often I create a set of JSP pages with 
inline <% java code %> to test different things; each page is a test. 
Then I can not only run cactus at it, I can point my browser at it and 
see the stack trace.

see also the presentations on testing under

http://people.apache.org/~stevel/slides/

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


 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

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

Reply via email to