Ravii Bhai

Greenhorn
+ Follow
since Dec 13, 2008
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 Ravii Bhai

hi,

I have One hardware device (HID controller). to which I have to establish communication. As per its document we have to
listen on port no. 4070 at our server program. and the controller whose address is 192.168.0.103 will listen on port number
4050.

I want to know that how I can meet this requirement. that listening at one port number and sending data at another port number.
please tell me what to do.
Connection is Tcp/ip



Regards,
Ravi Rao
I am attaching that with this as a text file
First time its executing after deployment... but second or 3rd time i am getting exception by say... what to do.......???











came to DBConnection package111111111111
java.lang.NullPointerException
at SalcalMain.processRequest(SalcalMain.java:40)
at SalcalMain.doPost(SalcalMain.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Build Salary values Starts from here.............
came to DBConnection package111111111111
came to DBConnection package111111111111
came to DBConnection package111111111111
came to DBConnection package111111111111
came to DBConnection package111111111111
came to DBConnection package111111111111
came to DBConnection package111111111111
Build Salary values Starts from here.............
came to DBConnection package111111111111
java.lang.NullPointerException
at SalcalMain.processRequest(SalcalMain.java:40)
at SalcalMain.doPost(SalcalMain.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
13 years ago
I know how to upload file... and how to get upload location of file with name... but here my requirement is to input a directory location where i can genrate my file. so I want directory should be specifiled with path by the user. how come I get directory location in html tags. I do not want file. I want directory.

this is argent so please response me as Arly as possible.
thank you
[ December 29, 2008: Message edited by: Eric Pascarello ]
then give me the link of google. if you know or give me some usefully site address
how to convert jsp output into pdf argent..........
please give me sample code if possible.
13 years ago
JSP
no not only sending part I am not getting external settings also.....
ok i sented response type text/pdf but what about next... please give me complete. details... and sample code if possible also... thank you
how to convert servlet output into (pdf) pl z if possible give me sample code of servlet and steps also... its argent
[ December 26, 2008: Message edited by: Bear Bibeault ]
hi,
I am getting problem when i using javascript to get a new window. I scripted a jsp page (which is a popup window using script). from that i want to submit form data to servlet... But its not working....

this text box is not accpting that code.....
[ December 18, 2008: Message edited by: Bear Bibeault ]
13 years ago
JSP
I m getting difficulty to pass values from servlet to jsp when i m using Request Dispatcher
RequestDispatcher rd = getServletContext().getRequestDispatcher("/salcal2.jsp");
rd.forward(request, response);

how to read all values of servlet at jsp page

reply urly...

thank you
Ravi
13 years ago