This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I've very recently begun meddling with JSP. Using tomcat 4.0.3 (stable release), I've been working with regular servlets for a while now and have not had any problems... although, whenever I try to view a .jsp page on the server, I get the following exception (I've tried searching on sun's site as well as jakarta's.. but can't seem to find any reason/explanation for this). The code itself isn't throwing any exceptions; it's a 3 line counter with a for loop. System is running win2k with jdk1.3.03 Exception:
/Ren� [ June 17, 2002: Message edited by: Rene Larsen ][/qb]<hr></blockquote> Rene, thanks for replying. The whole code, as I said above, is just a counter:
(Taken from a tutorial). I don't understand why that exception should result from this. Like I said, I'm very new to JSP.. if you could kindly point me towards any resources that might explain why the above exception is thrown and what I can do to get around it/prevent it from happening, it'd be much appreciated.
Edit: Well, I see the generated code for the servlet and the line that's causing it to break, I'm still lost however as to the why of it. [ June 17, 2002: Message edited by: salman butt ]
Hi Try to delete the 'work' folder under tomcat '<tomcat install path>/work/' and try again. The loop works fine in mine tomcat! /Ren�
Joined: Jun 17, 2002
I've tried that already, tomcat generates the folder every time. I have the jar for jsp files off sun's site for jsp and they are in my classpath -- so I don't believe it has anything to do with that....