From: AFeng <da...@21...> - 2005-10-28 14:29:38
|
Hi, recently i have to rewrite the login part of the project, which was build in JSP/Java originally, into PHP/Java. login.html =========== <form method=post action="/gdca/SingleClient_Auth1"> <input type=text name=username> <input type=submit> </form> note that "/gdca/SingleClient_Auth1" is _equal_ to "WEB-INF/classes/gdca/SingleClient_Auth1.class", set in WEB-INF/web.xml with: <servlet> <servlet-name>SingleClient_Auth1</servlet-name> <servlet-class>gdca.SingleClient_Auth1</servlet-class> </servlet> it will be fine while running in J2EE environment (such as Weblogic), coz URLs were transformed and run as java classes at server-side automatically. BUT when using PJB in PHP environment, i have no idea where i should put the WEB-INF folder, and how httpd transformed/handle the URLs, and run the java classes, if web.xml works. Anyone have ideas? Thanks! best regards Zhang |