This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Bean info accross webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Bean info accross webapps" Watch "Bean info accross webapps" New topic

Bean info accross webapps

Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362

Need a little help with JavaBeans accross WebApps.

Simply I have a webapp [/web] which users log into and can do various wonderful things.

Problem is if you have admin rights, then another link appears directing you to the admin section of my site, this is under the webapp root [/admin]

The reason i have these under 2 webapps, is so that I can stop/start say the [/admin] webapp without effecting users of the [/web] webapp

When a user logs in under [/web] a Bean is created holding various info about that user, I need this information the be carried accross to the [/admin] webapp for admin users. At the moment I get the follwoing:-

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
Only a type can be imported. resolves to a package

An error occurred at line: 5 in the jsp file: /secure/includes/topnav.jsp
Generated servlet error:
iUserID cannot be resolved
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Bean info accross webapps
Similar Threads
Java classes within Apache
JSP can't find bean classes
how to install tomcat 5.5 in windows vista
Session lost due to....?
JSF page restriction on user roles.