reset password
Author Message
cthanh
Posts: 56
Posted 20:46 Oct 29, 2014 |

I got my Guestbook to work on the server and my eclipse.

However, my DrivingTest works on my eclipse, but not on the server.

i got the following apache error:

 

org.apache.jasper.JasperException: An exception occurred processing JSP page /DrivingTest.jsp at line 6
6: <jsp:useBean id="dt" class="lab03.DrivingTest" scope="session" />

 

cysun
Posts: 2935
Posted 20:47 Oct 29, 2014 |

Check the file path.

ceejay562
Posts: 25
Posted 20:47 Oct 29, 2014 |

It is not finding the DrivingTest.txt file

 

cysun
Posts: 2935
Posted 20:48 Oct 29, 2014 |

Use /tmp/DrivingTest.txt when you deploy your code on CS3.

cthanh
Posts: 56
Posted 20:55 Oct 29, 2014 |

It's still not working, i have the file path in the DrivingTest.java

in order to upload the class file with the correct server path, does the java file need to successfully compile?

cthanh
Posts: 56
Posted 21:29 Oct 29, 2014 |

Nevermind, i had to delete everything i had and reupload with the correct file path and it worked.

 

thanks !

raywu64
Posts: 44
Posted 22:16 Oct 29, 2014 |

I have the same issue, I re-uploaded everything. Still no luck, any tips? 

nextmatrixman
Posts: 57
Posted 09:12 Oct 30, 2014 |

Keep in mind that whenever you make a change to your code and re-upload it to cs3, you have to upload and override the "web.xml" file as well, this will tell the cs3 server that you have updated your files and it'll use the new ones.