Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

Jim Chrystal

Greenhorn
+ Follow
since Jan 19, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jim Chrystal

It sounds like your original error might be in the included page, and that error message is being swallowed by the including page.

If checking a variable, are you using code like getSession().getAttribute( "name" )? If so, you might be getting an NPE ... you'd need to call getSession( true ).

Also, your useBean directives. Do you want to use class or type here? Maybe you're getting an instantiation exception on one of your beans?

Just wild guesses!
17 years ago
Download tomcat from http://jakarta.apache.org. Once expanded, you can find the servlet-api.jar in the /common/lib directory.

BTW - this file should be available with any J2EE Servlet container; why would you want it otherwise?
17 years ago
A JSP is a servlet.
17 years ago
I disagree about using tomcat and apache. Searching the tomcat mailing archives, many developers feel that the mod_jk/jk2 connectors add more complexity and overhead than is necessary. They recommend using the HTTPConnector rather than Apache if you're using a recent version of Tomcat.

Also, I've found that JK is less than stable on high traffic apache/tomcat installations when tomcat and apache reside on different physical machines.

IMHO

JC
17 years ago
Search for and try using the "Display" tags. There an open source tag library that handles lists very elegantly. I believe that this will have the code you're looking for.

-Jim
17 years ago
Prefix your servlet class with the full package name, i.e., com.somepackage.MarksServlet

- Jim
17 years ago