Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I am trying to pass the string firstName from a Servlet
called SampleServet. I am running this on eclipse and it
tells me that "the value for annotation attribute must be a
constant expression. I don't understand why it is giving me
this error.

@PersonAnnotation(name = SampleServlet.firstName)
public class AnnotationClass{


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More J2SE Code Interview Questions

How to create Date method to set the date in Ms Access

0 Answers  


how to store and retrive a set of values without using an array

8 Answers   FCS, HCL, Maximus,


I am trying to pass the string firstName from a Servlet called SampleServet. I am running this on eclipse and it tells me that "the value for annotation attribute must be a constant expression. I don't understand why it is giving me this error. @PersonAnnotation(name = SampleServlet.firstName) public class AnnotationClass{

0 Answers  


write a c program which takes 20 numbers in an array as input from user and rearrange them in two different array defining even or odd

0 Answers  


write a java program to create a Frame with three scrolls, change the back ground color of the frame using functions with values of scrolls.

0 Answers  


In java, why do we set thread priority, when we know that there is no guarantee by which a thread should be execute?

0 Answers   Google, Microsoft,


How can we get the details for printing the employee details at run time using JDBC connectivity? can u provide the coding for that? Its urgent?

2 Answers  


what are the other loops except for for,while,do while and until?

0 Answers   Aricent,


Write a java program to display multiplication table in a Frame.

1 Answers  


what is runtime class?

0 Answers   MAQ,


write a program in java to solve a system of n-variabled simultaneous equations using the guassian elimination method. let the maximum possible value of n be 100. run the program using hypothetical values for a set of 10- variables simultaneous equations. print out the program, the input equation and the results generated by the program.

0 Answers   TCS,


inner join,outerjoin,trigger,stored procedure explain with code snippets?

1 Answers   IBM,


Categories