CodeIgniter Forums
JAVA BRIDGE - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: JAVA BRIDGE (/thread-44963.html)



JAVA BRIDGE - El Forum - 09-02-2011

[eluser]Volkscom[/eluser]
Hi,

I’m now using Apache Tomcat/6.0.20. To access Java from PHP i installed php-java-bridge which is working from a pure php site. But when use codeIgniter in apache tomcat,the welcome message is working,but when call other function it is not woking.
This is how my controller function looks like:
Quote:<?php
class Welcome extends Controller {
function Welcome()
{
parent::Controller();
}

function index()
{
$this->load->helper(array("form","url"));
echo "[removed][removed].href='".base_url()."index.php/welcome/first';[removed]";
}

function first(){
$this->load->view('welcome_message');
}
}

When I run this I got an error like
Quote:HTTP Status 404 - referer_payment/code_epay/index.php/welcome/first/

type Status report

message referer_payment/code_epay/index.php/welcome/first/

description The requested resource (referer_payment/code_epay/index.php/welcome/first/) is not available.
If any one knows the solution.Please help.
Thanks in advance!..........