aspose file tools*
The moose likes JSP and the fly likes Classic tag error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Classic tag error" Watch "Classic tag error" New topic
Author

Classic tag error

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
here is my tag handler class


it gives these errors
EVAL_BODY_INCLUDE cannot be resolved
EVAL_BODY_INCLUDE cannot be resolved
EVAL_BODY_INCLUDE cannot be resolved
EVAL_BODY_AGAIN cannot be resolved
EVAL_BODY_AGAIN cannot be resolved
EVAL_PAGE cannot be resolved

i already added servlet.jar and jsp.jar files


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61603
    
  67

Where do you think those constants come from? Magic?

What step have you missed?

Hint: what makes the class a tag handler in the first place?

P.S. Do you really not indent your code?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
i have added htese imports

but errors are still there?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61603
    
  67

You haven't answered my question:

Bear Bibeault wrote:What makes the class a tag handler in the first place?
Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
ok.I got it.Extending Tagsupport class
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Bear Bibeault wrote:Where do you think those constants come from? Magic?

Oh, but what if they did?! SimpleUnicornsAndFlowersTagSupport.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Classic tag error