Rashmi Rubdi wrote:
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.
Perh
uessing it.
-Regards
Rashmi
- Original Message
From: Steve Loughran <[EMAIL PROTECTED]>
To: Ant Users List
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
Jing Xue wrote:
I don't see how the portability issue become a serious one. Really, what
are the chances that we would upgrade to a new container version - let
alone migrate to a different product - in _production_ without first
thoroughly testing the application, which implies rebuilding everyth
Rashmi Rubdi wrote:
g to know - thanks for sharing this, I will keep it in mind for future
projects.
ok, you need to fast forward to chapter 12, and ignore the bit where it
tells you how to use . that bit has been cut from the sequel for
that very reason.
Ok, I see HTTPUnit and Apache Cact
The OP talked about an intended target environment of Websphere, but the
discussion was indicating using (the Tomcat JSP compiler) Jasper. That
is how it wouldn't be portable.
Jing Xue wrote:
I don't see how the portability issue become a serious one. Really, what
are the chances that we would
I don't see how the portability issue become a serious one. Really, what
are the chances that we would upgrade to a new container version - let
alone migrate to a different product - in _production_ without first
thoroughly testing the application, which implies rebuilding everything
against the n
- Original Message
From: Steve Loughran <[EMAIL PROTECTED]>
To: Ant Users List
Sent: Wednesday, February 21, 2007 12:51:17 PM
Subject: Re: How to compile jsp files with ANT
>> And, also if I were to run HttpUnit on a production environment, it would
>> have to be do
Rashmi Rubdi wrote:
I normally pre-compile the JSPs in the development environment,
package *only the class files* [Excluding the JSPs and the JSP Java files
generated by Jasper] into a WAR and then upload the WAR to production.
As James originally mentioned, I think if I ran HttpUnit directlly
Rashmi Rubdi wrote:
With an httpunit run straight after deployment, you can hit every single
JSP page in turn -on the production machine-. This gets the preload hit
out the way, and helps test the live system is working.
Ah ok, now I get it. Sorry my brain is a little slow.
I guess this proce
ibility is of concern.
-Rashmi
- Original Message
From: Rashmi Rubdi <[EMAIL PROTECTED]>
To: Ant Users List
Sent: Wednesday, February 21, 2007 12:09:36 PM
Subject: Re: How to compile jsp files with ANT
> With an httpunit run straight after deployment, you can hit every single
From: Steve Loughran <[EMAIL PROTECTED]>
To: Ant Users List
Sent: Wednesday, February 21, 2007 10:53:27 AM
Subject: Re: How to compile jsp files with ANT
Rashmi Rubdi wrote:
> I've used JUnit before, I do want to learn HttpUnit (among so many other
> things that I need to l
Rashmi Rubdi wrote:
I've used JUnit before, I do want to learn HttpUnit (among so many other things
that I need to learn :-) But thanks for providing the details, they're helpful.
Ant in Action has a special section on HttpUnit, before I get into
Apache Cactus, which is the serious server-sid
t: Wednesday, February 21, 2007 5:23:58 AM
Subject: Re: How to compile jsp files with ANT
I do what John suggests and use HttpUnit.
1. you need those tests anyway
2. you can fetch all pages, including error pages and those that need
auth (if your tests log in first)
3. you can also walk eve
- Original Message
From: James Abley <[EMAIL PROTECTED]>
To: Ant Users List
Sent: Wednesday, February 21, 2007 4:19:15 AM
Subject: Re: How to compile jsp files with ANT
>I would suggest you take a closer look at my original suggestion. If you
>use the Jasper task, then I
Watij (http://watij.com) will work against IE and is Java-based. I don't
think it does Firefox (yet) but it works well against IE. You'll have to
integrate this into your unit tests post-deployment.
Brian
Kevin Jackson wrote:
Just to throw my hat in the ring...
If you don't like HttpUnit (fo
Just to throw my hat in the ring...
If you don't like HttpUnit (for whatever reason). Watir[1] (IE) and
FireWatir (firefox) can be used as an alternative for checking your
links, driving the automation of tests.
Getting them running as part of the build process is eaasy enough with
, but if you
Rashmi Rubdi wrote:
Hi James,
I use the Jasper task to mainly reduce the time it takes to load a JSP page.
I only execute the Jasper task just before creating the WAR file for the
production environment.
You cant guarantee that Jasper code is compatible with anything other
than the same v
suitable for a dev build but only for production build.
-Regards
Rashmi
- Original Message
From: James Abley <[EMAIL PROTECTED]>
To: Ant Users List
Sent: Wednesday, February 21, 2007 3:12:40 AM
Subject: Re: How to compile jsp files with ANT
Why do you want to do this; e.g. is it pa
ry long time to complete, it is not
suitable for a dev build but only for production build.
-Regards
Rashmi
- Original Message
From: James Abley <[EMAIL PROTECTED]>
To: Ant Users List
Sent: Wednesday, February 21, 2007 3:12:40 AM
Subject: Re: How to compile jsp files with ANT
Why do you want to do this; e.g. is it part of a check to make sure that
all JSP pages will compile? Typically, you'd get better results by using
httpunit or a spider of sort sort to access every page and check that it
doesn't come back with a 500 response. That way, you are using the
deploymen
Hi Lokesh,
I'm assuming you want to pre-compile JSPs. You can use Jasper for that.
Take a look at the Jasper ANT task here:
http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html
The pre-compilation process first converts all JSP files to .java files and
then compiles them into class files,
21 matches
Mail list logo