• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bean info accross webapps

 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
------------------------------------------------------------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic