Why aren't my java classes working in my JSP Pages ?

Is the bean you are accessing part of a package ?

For instance:

com.mycompany.Bean

or are does the class have no package ? Just:

Bean

If the class is not part of a package, you will have problems. Specifically the JSP page will not compile, it will throw exceptions.

The Tomcat server doesn't properly handle classes without packages when referenced in JSP pages. Make sure all your bean classes are part of a package, and you should be all set.

 

  • Email, SSL
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is the difference between shared SSL and private SSL?

A shared SSL displays as https://ip/~yourusername/. A private SSL would display as...

Why are my FrontPage extensions not working?

You must first make sure you have installed the extensions from going into your cpanel and...

Application Paths

Here are the applications paths. If you do not see what you are looking for, please email...

Custom error pages

To create a custom error page for your account you will need to upload a file with the...

How do I use SSL to setup my email?

Set your mail server to the host name for SMTP/POP3/IMAP (instead of domain.com) and then make...