Closed Felix91 closed 11 years ago
Hey this is happening at line 38 of war/flightManagerProfile.jsp git says you added this, can you take a look at it?
Yeah, the web.xml needs to be updated. I dont want to push my web.xml as doing so usually breaks the program.
<!-- AIRPORT STATS PAGE -->
<servlet>
<servlet-name>airportStats</servlet-name>
<servlet-class>ufly.frs.AdminStats</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>airportStats</servlet-name>
<url-pattern>/_adminStats</url-pattern>
</servlet-mapping>
<!-- FLIGHT STATS PAGE -->
<servlet>
<servlet-name>flightStats</servlet-name>
<servlet-class>ufly.frs.FlightStats</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>flightStats</servlet-name>
<url-pattern>/_flightStats</url-pattern>
</servlet-mapping>
Did that web.xml snippet work on your machine? I simply copy and pasted it into mine and I got this after logging in as Flight Manager:
HTTP ERROR 500
Problem accessing /flightManagerProfile. Reason:
File "/_flightStats.jsp" not found
ah, i guess i havent pushed that jsp file. Missed it as i forgot to track it. Its up now.
It should not be a problem pushing web.xml if you actually changed it. For some reason git seems to often think that it has changed even if it hasn't, don't push it in that case.
On Wed, Nov 21, 2012 at 1:46 PM, joelcwe notifications@github.com wrote:
that
Joel Vandergriendt weneedalaw.ca
OK, I pulled and that got rid of the error. But how do I go about viewing your stats @joelcwe ? I don't see them on the Statistics tab.
It works fine for me. Clicking on the dropdown entry"Flight statistics" should display them below
Was working yesterday night.