Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: perl script handled by java

by Utilitarian (Vicar)
on Nov 23, 2011 at 11:33 UTC ( #939642=note: print w/replies, xml ) Need Help??


in reply to perl script handled by java

Tomcat supports CGI, so an AJAX call to the Perl script within the JSP template is one possible workaround.

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."