Well, those two machines run the same server in the same conditions?
Could you copy the stacktrace? It seems a configuration issue and not
a problem in your code, I'd say,
Regards,
Bruno
2005/9/6, Caroline Jen <[EMAIL PROTECTED]>:
> I have a very simple JSF application. It displays a
> table with a checkbox for each row of that table.
> After users make selections of records, the next page
> shows all the selected records.
>
> This application works on one machine. But, I copied
> all the files and ran the application on another
> machine, it does not display the second page (i.e. a
> table). Instead, I saw my JSF code in the browser:
>
> /* * Created on Sep 2, 2005 * * TODO To change the
> template for this generated file go to * Window -
> Preferences - Java - Code Style - Code Templates */
> package processAction; import java.util.ArrayList;
> import java.util.List; import
> processDelegate.ListPersonnel; import
> processDelegate.PersonnelBean; /** * @author cjen * *
> TODO To change the template for this generated type
> comment go to * Window - Preferences - Java - Code
> Style - Code Templates */ public class
> DepartureManagementBean { private List personnel = new
> ArrayList(); private List departurePersonnel = new
> ArrayList(); public DepartureManagementBean() { //
> instantiate the business delegate ListPersonnel
> listPersonnel = new ListPersonnel(); personnel =
> listPersonnel.getPersonnelInfo(); } /** * @return
> Returns the personnel. */ public List getPersonnel() {
> return personnel; } /** * @param personnel The
> personnel to set. */ public void setPersonnel( List
> personnel ) { this.personnel = personnel; } public
> String updateDeparturePersonnel( ) { // iterate
> through the data rows ... for ( int index = 0; index <
> personnel.size(); index++ ) { PersonnelBean
> personnelBean = ( PersonnelBean )personnel.get( index
> ); // If this row is selected, add all data fields the
> corresponding message if (
> personnelBean.isSelectedPersonnel() ) {
> departurePersonnel.add( personnelBean ); } } return
> "sucess"; } /** * @return Returns the
> departurePersonnel. */ public List
> getDeparturePersonnel() { return departurePersonnel; }
> /** * @param departurePersonnel The departurePersonnel
> to set. */ public void setDeparturePersonnel( List
> departurePersonnel ) { this.departurePersonnel =
> departurePersonnel; } }// End
> DepartureManagementBean.java
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>