Em Segunda 07 Maio 2007 12:36, pw escreveu: > <?php > $referrer=$_SERVER['HTTP_REFERRER']; > if(strcmp($referrer,"http://www.myweb.com/index.phtml")==0) > { > > header("Location: ./primary.jar"); > } > else > { > header("Location: ./secondary.jar"); > } > ?> > > > The problem is I get a java.lang.ClassNotFoundException. > > Is there a way to change a reference like this > 'on-the-fly' so to speak? > > Is my code wrong and this method can be modified > to work? > Change the content-type? I don't known how to do it... But I would try it... =] HTH -- Davi Vidal davividal@xxxxxxxxxxxxxxxx davividal@xxxxxxxxx -- "Religion, ideology, resources, land, spite, love or "just because"... No matter how pathetic the reason, it's enough to start a war. "
Attachment:
pgpVk61pJBSII.pgp
Description: PGP signature