Results 1 to 2 of 2
- 07-05-2007, 05:46 AM #1
Senior Member
- Join Date
- Jun 2007
- Posts
- 114
- Rep Power
- 0
MySite/Valid.java:56: cannot resolve symbol
I have a servlet which does this, is should create a new MyBean and pass in the params the bean then uses the params to acess a db and run a queray, the result set then adds the data into an array list , i then want to return the data to the servlet .
Java Code:MyBean bean = new MyBean(categoryForm, PriceForm); request.setAttribute("valid", bean); System.out.println(bean); List vids =MyBean.getVideos(categoryForm, PriceForm);the first error should have:Java Code:symbol : class List location: class MySite.Valid List vids = MyBean.getVideos(categoryForm, PriceForm); ^ MySite/Valid.java:56: non-static method getVideo(java.lang.String,java.la ng.String) cannot be referenced from a static context List vids = MyBean.getVideos(categoryForm, PriceForm); ^ 2 errors
ThanksJava Code:"MySite/Valid.java:56: cannot resolve symbol"
Albert:rolleyes:
- 07-05-2007, 05:49 AM #2
Member
- Join Date
- Jun 2007
- Posts
- 92
- Rep Power
- 0
Similar Threads
-
Error: cannot resolve symbol' on Person (java.lang.String, java.lang.String)
By baltimore in forum New To JavaReplies: 2Last Post: 09-18-2008, 07:30 AM -
hai friends i got the Exception in the following java program , how do i resolve it ?
By burepallisri in forum Advanced JavaReplies: 3Last Post: 04-07-2008, 05:56 PM -
Cannot Resolve Symbol error...
By seral1969 in forum New To JavaReplies: 4Last Post: 02-18-2008, 12:17 AM -
Regarding Scanner Object -- Cannot Resolve the Symbol
By pascal45 in forum New To JavaReplies: 1Last Post: 12-21-2007, 11:12 AM -
Error: cannot resolve symbol, help me
By mathias in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 08-06-2007, 02:46 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks