masonscript3.pl
===============
use strict;
use CGI;
use HTML::Mason;
my $q = new CGI();
print $q->header;
my $interp = new HTML::Mason::Interp(autohandler_name=>'autohandler.mas');
my $component = $interp->make_component(comp_file=>'component3.mas');
$interp->exec($component);
component3.mas
==============
Hello Again11111111!
autohandler.mas
===============
<html>
<head>
<title>DocTree</title>
</head>
<body>
% $m->call_next;
wwwwwwwwwwwwww
</body>
</html>
All three files are in the same directory. When I run masonscript3.pl via
Sambar 4.4
(http: //localhost/cgi-bin/cip/doctree/masonscript3.pl) on Windows XP, it
displays "Hello Again111111" but not the title and not the wwwwwwwwww.
This makes me think it's not picking up the autohandler.
Does anybody know what's going on?
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users