• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in jsf please help me  RSS feed

 
chinnanu chinna
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Heloo

I am new to JSF.

I have a quetion related to dabase connection using jsf.By using follwing link

http://wiki.netbeans.org/AccessMssql

i am trying to connect that.code for the program is available in above link.

when i run this program by using above tutorial i am getting errors like as follws:

these are the roors which i am getting when i run in netbeans.

{i am doing this program in netbeans}


init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
Compiling 3 source files to C:\Documents and Settings\chinnanu\My Documents\NetBeansProjects\WebApplication4\build\web\WEB-INF\classes
C:\Documents and Settings\chinnanu\My Documents\NetBeansProjects\WebApplication4\src\java\webapplication4\Page1.java:150: cannot find symbol
symbol : variable dbAccess
location: class webapplication4.Page1
if (dbAccess.connect () == true) {
C:\Documents and Settings\chinnanu\My Documents\NetBeansProjects\WebApplication4\src\java\webapplication4\Page1.java:152: cannot find symbol
symbol : variable dbAccess
location: class webapplication4.Page1
listbox1.setItems(dbAccess.getName());
2 errors
C:\Documents and Settings\chinnanu\My Documents\NetBeansProjects\WebApplication4\nbproject\build-impl.xml:336: The following error occurred while executing this line:
C:\Documents and Settings\chinnanu\My Documents\NetBeansProjects\WebApplication4\nbproject\build-impl.xml:167: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 2 seconds)


can any one please help me

thank you very much

[ February 09, 2008: Message edited by: chinna chinnanu ]
[ February 09, 2008: Message edited by: chinna chinnanu ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
chinna chinnanu,
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
UseAMeaningfulSubjectLine

Please also see
UseRealWords.
Abbreviations such as "u" or "ur" in
place of "you" and "you are" or "you're" confound language translation software making
it hard for our non-English speaking members to read your posts.
"plz" is not a word in the English language.

Also, a good way to make sure nobody answers your question is to type it with the caps-lock button down. Typing in upper case letters is the equivalent to yelling in a web forum and is considered to be rude.
Many people will take one look at a quesion like this one and skip right past it without reading what it says.

You can change edit your body and subject line by clicking the icon in the first post of this thread.


Again, welcome to JavaRanch and good luck with your question.
-Ben
 
chinnanu chinna
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear Ben Souther

thank you very much for your advice.

i made changes to my post.i think i done correct this time.

i apologise all ranchers if i post any thing wrong according to rules.

thank you
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No need to apologize. The guidelines are there to help you get the most out of the Ranch.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
However, I notice that you have changed your display name to a single name. This is not allowed. Please change your display name back to a first name and a last name. Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!