anitha meena

Ranch Hand
+ Follow
since Oct 22, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by anitha meena

any reply or suggestion
13 years ago
JSF
Hi All ,
Any reply for my post...............
Hi All,

I am trying to make application implementing NIO using nonblocking socket , some part which I have developed (off course getting it from the net )



but am getting the following error :



by the way the error indicate that it occurs at line


Hi Joe Ess,

Thanks alot for your , I Have nothing is plugged into the port.
14 years ago
Hi All,
I am trying to write java application which read/write data from/to serial port , I have found this application in the net
(http://www.captain.at/howto-java-serial-port-javax-comm-rxtx.php) which is a very good example.

According to the logs I am able to write into the port but am not able to read from the port..

Any one can help to fix the issue




WriteReadSerialPort.java







14 years ago
Hi Sumeet Singh Aryan,

Thanks alot for your reply , i will just follow your instruction and check that ...........
14 years ago
JSF
Hi All,
I just want to implement the suggestion box in my jsf application i have made the following (off course after refering richfaces site and some other sites in the net)


I am able to get the data from db and display it in the suggestion box , but the problem is that i want to retreive the selected value once the form is submitted , I am getting null value for #{addUploadBean.selectedContentName}

any one can help me to fix this issue
14 years ago
JSF
Thanks alot i have fixed the issue but my question now is that


if the client establishes socket connection to the server and the server replies to this client . after that the client stays idle for long time let say 2 hours but the socket connection still alive , is it possible for the server now to send something to the client ( i mean the server will send request and the reply will from the client) ......
Hi Samuel March , Thanks for your reply , am using jboss application server....

Hi Tim Holloway thanks for your reply , but am still getting the same error.......
14 years ago
JSF
any reply
14 years ago
JSF
try to add jsf libraries as referenced libraries ( from build path) and as web app libraries ( in lib folder of the web application).............
14 years ago
JSF
am also newbie , but try to include this library jsf-facelets-1.1.14.jar (add it to lib folder of your web application) , i hope that it works for you
14 years ago
JSF
Hi All,

I am trying to handle the exceptions in jsf , i have added the following to the web.xml

Exception handling part of web.xml




error500.xhtml




in some of the pages of the application am getting something like dataAccessException and it is redirecting to the page called /pages/common/error500.xhtml

i am facing the following 2 problems:

1) during existance of such dataAccessException and after redirecting to the page error500.xhmtl , the contents of page error500.xhtml is not displayed in a proper way that is am getting the title page "ErrorPage" but the contents of the page ( i mean the output label) is not displayed
2) how to display the exception type in this page error500.xhtml (e.getMessage())


thanking all of you in advance
14 years ago
JSF
Hi All

I am trying to develop client/server application using nonblocking nio, i have found example in the book "TCP/IP Sockets in Java Practical Guide for Programmers
Second Edition Kenneth L. Calvert - University of Kentucky Michael J. Donahoo - Baylor University "


the code as the following:
TCPEchoClient.java




TCPServerSelector.java



TCPProtocol.java



EchoSelectorProtocol.java




the example working fine , as the following

1)I have started running the server application "TCPServerSelector.java"
2)I have run 2 clients using the application "TCPEchoClient.java"

as i know that the The client initiates communication with a server
but sometimes want to send a message from server to a particular client or we want to check whether xyz client is one of active client connected to the server or not
so how i do achieve that in the above examples