• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jsp error cannot resolve Symbol

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Tomcat 4.x
Created a simple JavaBean : BeanEx()
I have placed this simple Java Bean class file under :

\\WEB-APPS\sampleapp\WEB-INF\classes


This bean is not in a specific package.

When I try and acces this bean in the JSP I get errors
of the type :


Is it necessary to define the Bean in a package ?
If so - what is the reason behind that ?

Thanks in advance to all the ranchers .
--Anagha
"cannot resolve symbol"
 
anagha pendse
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by anagha pendse:
I am using Tomcat 4.x
Created a simple JavaBean : BeanEx()
I have placed this simple Java Bean class file under :

\\WEB-APPS\sampleapp\WEB-INF\classes


This bean is not in a specific package.

When I try and acces this bean in the JSP I get errors
of the type :

"cannot resolve symbol"



Is it necessary to define the Bean in a package ?
If so - what is the reason behind that ?

Thanks in advance to all the ranchers .
--Anagha
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check out the jdk documentation - I think that from 1.4 all classes must be packaged.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, to find the some specific information on this topic go to the JDK 1.4 Compatibility Page and do a search for the words "unnamed namespace" within the page.
 
reply
    Bookmark Topic Watch Topic
  • New Topic