CIT 597 Previous Announcements
Fall 2006, David Matuszek

Date Announcements
November 27, 2006 Since I don't have the next assignment ready, I'm extending the due date on the current assignment to Tuesday midnight. (If you've already turned it in, this gives you a chance to improve it.)
November 21, 2006 Two former MCIT students, Gemma Ros and Kunal Phanse, now work for Lehman Brothers. They are giving a recruiting presentation Wednesday, November 29, 7-8 PM in Skirkanich Hall, Berger Auditorium. They are currently looking for summer analysts only, but that may lead to a full-time offer. (Here's a link to a glossy PDF announcement.)
November 20, 2006

For the current assignment (xhtmlize):

  • I mistakenly said to send the URL. Instead, post the program to Blackboard.
  • The due date is changed from Sunday, November 26 to Monday, November 27.
November 16, 2006

I've posted a Regular Expression Tester Applet, which may help in your current assignment.

I can't get applets to work in Firefox 2. Does anyone know how to fix this? Reinstalling Java didn't work.

November 13, 2006 Here is a page on How To Find a File. This is general Java, not specific to servlets.
November 13, 2006

Hi Dr. Dave,

I think I found a better way to get the absolute pathname for the animals.xml file from within a servlet. The ServletContext class has a getRealPath method. From the JavaDocs for ServletContext:

getRealPath

String getRealPath(String path)

Returns a String containing the real path for a given virtual path. For example, the path "/index.html" returns the absolute file path on the server's filesystem would be served by a request for "http://host/contextPath/index.html", where contextPath is the context path of this ServletContext.

The real path returned will be in a form appropriate to the computer and operating system on which the servlet container is running, including the proper path separators. This method returns null if the servlet container cannot translate the virtual path to a real path for any reason (such as when the content is being made available from a .war archive).

Parameters: path - a String specifying a virtual path
Returns: a String specifying the real path, or null if the translation cannot be performed

So if the animals.xml was in the servlet root context directory, the getRealPath method should be able to return the absolute path of that xml file.

Marcus

November 13, 2006 Slight extension: The Animals! Servlet is now due Tuesday, November 14, before midnight.
November 10, 2006 If your servlet is having trouble finding files--I have a lot of trouble with that myself. I've posted a page on example file structures that may help.
October 30, 2006 A final exam date somehow crept back onto this page. Sorry, that date is for my CIT591 class. There is no final exam in this class.
October 29, 2006 No class November 6.
October 24, 2006

Because:

  • We've had a Fall break, and
  • A number of TCOM students are having exams this week, and
  • The current assignment is harder than intended,

Therefore:

  • The quiz scheduled for tomorrow is postponed to Monday, and
  • The current assignment will be due Saturday before midnight.
October 18, 2006 David Arney has changed his office to Levine 614.
October 18, 2006 By popular request, I am extending the due date for the Animals! assignment to before midnight, Saturday October 21. The next assignment will be given out Wednesday, October 25.
October 17, 2006 In the DOM lecture, slide 18, I had System.out.println(node.getAttributes()); -- this did once work, but I don't know how, because the method getAttributes()returns a NamedNodeList rather than a String. This is very easy to fix, and I've done so on the slides.
October 2, 2006 Hint: If, in the SAX Printer assignment, your content is sometimes indented too much, check whether the content itself begins with extra spaces. If it does, trim() them before printing. (Thanks, Catrice!)
October 2, 2006 The SAX Printer assignment is now due Tuesday, October 3, before midnight.
September 29, 2006 Quiz In Monday's quiz, I will describe some XML and ask you to write a complete DTD for it. Then I will ask you to write some CSS to display it in a certain way.
September 27, 2006 Dave Arney will not have office hours on Thursday, Sept. 28.
September 26, 2006 For assignments 1 and 2, send me and my TA the URL. For assignment 3, zip up all relevant files and submit them via Blackboard. My apologies for the incorrect instructions on assignment 3 (now fixed).
September 26, 2006 As some of you have noted, :before and :after don't work in any version of IE. Here is a more up-to-date table of Browser CSS support than I had in my slides.
September 23, 2006 As announced in class, the first quiz will be on Monday. The list of topics to be covered has not changed.
September 21, 2006 I've added a link to a CIT 597 Examples page (in the Links section above). I will be adding to this page as the semester progresses.
September 19, 2006

pizza First pizza party of the new academic year!

When: 6:30 Thursday, September 21
Where: Levine 307
Who is invited: All current, past, and future MCIT students, and all students currently taking an MCIT class.

September 13, 2006 The first assignment will be due by midnight, Sunday Sept. 17.