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
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.
how to store and retrive a set of values without using an array
we compile any program bu c:/>javac prog.java and run as c:/>java prog Here what's the meaning of c in javac. We have java Interpreter but not compiler.Then why we have to use javac. Please answer this question?
Bubble Sort. java thereafter the user will be asked to inpout the size of the list,sort the list in ascending order and display the sorted list in a horizontal manner???
write a program that inputs two real numbers then exchanges their values.
how to create a (*)pyramid using java codes???
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.
1+(2*3)+(4*5*6)+(7*8*9*10)+... specified input value
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?
Program to print map of India in java.
write a program in java to find the moving average of all prime numbers between 2 and 100.
how to print a message to console without using main() function?(do not use even static blocks also.)