Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

HttpSessionAttribujteLIstener doubt

 
Ranch Hand
Posts: 237
MyEclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i worte a Dog class which Implements HttpSessionBindingListener

in my jsp i imported <%@page inmport="src.Dog"%>

eRror is : not found any class with the name DOG..
I HAVE SET ENVIRON VARIABLES CORRECTS..WHAT WUD BE THE PROBLEM.
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by sudheer kiran:


in my jsp i imported <%@page inmport="src.Dog"%>



check the spell

Originally posted by sudheer kiran:

I HAVE SET ENVIRON VARIABLES CORRECTS..WHAT WUD BE THE PROBLEM.



Did you compile Dog class?your using IDE right?
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey i have written a dummy jsp and a java file as below and it worked. Please Check the spelling and syntax.

<html><body>
<%@ page import="src.Dog" %>
Testing .....
</body></html>


Java File:
package src;

import javax.servlet.http.HttpSessionBindingEvent;
import javax.servlet.http.HttpSessionBindingListener;

public class Dog implements HttpSessionBindingListener {

public void valueBound(HttpSessionBindingEvent arg0) {

}

public void valueUnbound(HttpSessionBindingEvent arg0) {

}

}
 
sudheer kiran
Ranch Hand
Posts: 237
MyEclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you both
 
Why is the word "abbreviation" so long? And this ad is so short?
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic