001// Copyright 2008 by Basil Vandegriend. All rights reserved. 002 003package com.basilv.examples.annotations; 004 005import java.lang.annotation.*; 006 007@Retention(RetentionPolicy.RUNTIME)// or source or compile 008@Target( { ElementType.TYPE, ElementType.METHOD }) 009public @interface WebAction { 010 String url(); 011}