aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Bean info accross webapps" Watch "Bean info accross webapps" New topic
Author

Bean info accross webapps

Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362
Hi,

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. uk.co.webappname.beans.UserDataBean 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
------------------------------------------------------------------------
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bean info accross webapps