Title: JspWriter ambiguous name

Incidentally, I'm using NT4.

-----------------------------------------
Over the weekend I was playing around with a simple jsp calendar and messaging system that I wrote. I was using the EA release of jswdk 1.0 and everything was working fine except for forwards (either via jsp:forward or by getting the requestdispatcher). I checked java.sun.com and found that I didn't have the latest jswdk, so I downloaded it.

Now none of my jsp pages will compile due to an ambiguous name (JspWriter). On one of the pages I'm not importing anything, so I'm certain it's part of the template for a generated servlet. When I set the server to keep the generated servlet .java files I took a look and sure enough, both com.sun.jsp.runtime.* and javax.servlet.* are included (this is from memory). I haven't seen any postings regarding this, so I thought I'd throw it out there. Am I doing something wrong? As I said, the pages compiled fine under the EA release - now I get an ambiguous JspWriter reference, which I'm not importing in any of my code. I considered altering the generated .java file to disambiguate the JspWriter reference, but I don't really know how to make sure the class file I generate is the one that gets used. I have a jsp page, jmessagelist.jsp, and I believe the produced servlet is jmessagelist_servlet_1.java (or something like that). I'm not sure how to verify that the one is aliased to the other (or if that's even how it works).

Any ideas or suggestions of what I'm doing wrong?
-----------------------------------------


Michael McElligott
DevTeam - StreetFusion(tm)
c-call.com, Inc.
60 Spear Street, 3rd Floor
San Francisco, CA  94105
Phone:  415-365-4136
http://www.streetfusion.com

Reply via email to