Hello Jerry

Is it possible to precompile JSPs for WebSphere using the jspc-maven plugin 
without a WebSphere installation on the machine that the comipation is done on? 
We do not have WAS installed on the our continuum servers and hence have been  
stuck compiling JSPs at deployment time.  IBM's response to our question was 
that the only option is to run the jspBatch compiler that comes with WAS6.1.  
Could you please post the details of how you got the jspc-maven plugin to 
precompile JSPs for WebSphere? 

Thanks



BTW, thanks for the info Martin.

To follow-up, we had to add a couple dependencies to the WAR in order for 
the precompiled JSPs to work under WebSphere.  That's it.  The JSP 
servlets generated from WebSphere were a bit different than what's 
generated by our Maven2 project.  The source extends different classes. 
Since our classes now extend org.apache.jasper.runtime.HttpJspBase and not 
IBM HttpJspBase classes, we had to add the jasper-runtime dependency... 
and maybe 1 or  2 others.

So, not a big deal.  It makes sense, I just had to think through it.

Thanks.





-- 
View this message in context: 
http://n2.nabble.com/JSP-Precompile-and-WebSphere-tp2534484p2599460.html
Sent from the maven users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to