This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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

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
GeeCON Prague 2014
subject: Bean info accross webapps