Javedali Shaikh

Greenhorn
+ Follow
since Sep 13, 2008
Javedali likes ...
Eclipse IDE Redhat Chrome
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 Javedali Shaikh

Throw user defined exception requesting the user to enter valid inputs. Try to display some sample example for valid input to user at first itself. Do post whether your problem has been solved?
12 years ago
Hi Harsha
Yes, Ralph is right. You need to give some more information about your problem. It will help us to identify the problem and assist you.
12 years ago
Sujata
You are right. But for FYI I want to tell you that the js file is working fine, the validations for all the fields are working fine except the servlet is not hitting. As per your instructions I have written SOP's in servlet's doPost() but the attempts are in vain. Let me try, my attempts are on. May get back if need help.
12 years ago
Hi Bear and Sujata.
I am highly thankful to both of you for helping me with your replies. My only problem with this is that when I am able to run other servlets like this then, whats wrong in this servlet only? Bear you are right that these technologies are almost obsolete nowadays and we must work with these 21st century technologies as you mentioned. But I am totally helpless because I am not comfortable with these technologies, and my client has nothing to do with the technologies but early delivery. I would be thankful to you if you can help more further.

12 years ago
Hi Suraj
Thanks for replying. Let me tell you one thing even after replacing "../VProcess" with simply "/VProcess", it is not working. I tried that prior to posting this topic. Can you help further?
12 years ago

Hi All I am developing one application using jsp and servlets. In one jsp form i have used 3 forms and on click of each i am calling different servlets. When I am clicking on the submit button for 1 servlet the values are supposed to store in database, but it is not happening so. I don't know what is the actuall problem, I checked the code 4-5 times both servlet and deployment descriptor one, but could not locate the problem. It is not even generating even a single event. The entire console is blank. May i get anyone's help here? The code for servlet, jsp and web.xml is given below. Please help any help will be appreciated. Your help can help me in completing the project and deliver it to the client.

code for jsp


I am talking about form named "frmVoucherDetails". The other forms data i have manipulated for confidentiality.

Code for servlets.


Code deployment descriptor


Please help.
12 years ago
Hi All

Can we design mutliple forms in single page, and accept values on single servlet only? Is it possible? I referred the following link http://www.javakb.com/Uwe/Forum.aspx/java-programmer/12999/multiple-forms-and-one-servlet, and followed the instructions there but it is giving nullpointerexception. May I know the reason? Or please suggest something which serves the purpose.
12 years ago
Hi All
Kindly tell me where I am going wrong. I googled but the solutions given there are not applicable to this case. Because I have not written anything to server before forwarding the request. Can you please tell me where I am going wrong. The codes are given below.




//userDAOImpl code


12 years ago
HI Friends!!
I am confused where shall I kept this ActionClass-validation.xml in directory structure. I tried all the locations but the validations are not working. Here is I am sending the details of directory structure. Please help, any help will be appreciated.

BHT
--src
--com\dee\bht\domain\LogIn-validation.xml
--com\dee\bht\domain\LogIn.java

The location for validator.xml is
  • validator.xml
  • WEB-INF/classes

    The code for LogIn-validation.xml is


    Code for validator.xml is

    The code for web.xml is
    12 years ago
    I am developing an application using netbeans but facing problems in writing SQL statements. Though I can open a SQL Editor and run many statements one by one. But one thing I am unsuccess to do is how to associated these SQL statements with the components. I have read the product documentation also, but not found the satisfactory solution. In its help ofcourse the topics related to managing components events and setting events to components is given but of no use. I work according to that also but it is just either associating the events or just managing them. I have connected to the database by means of netbeans itself. Hence, I don't know what connection object of connection class to be used to make use of prepared statements. Can we do it by means of netbeans or I have to write the entire code manually in a tradition way.
    hi all

    I am working on an application (i.e. a library). I am usin gjava as a front-end and mysql as back-end. In this application I want to open book from the interface through java. The books are in different formats say .doc or .pdf. I want that the books to be opoen in their respective environment. For example if the extension is .doc then it should be opened in MS Word.
    I search on net and found that the following statement works for the same:
    Runtime.getRuntime().exec();

    But my problem is that I am not getting what different parameters has to be passed and how to pass them in the funciton exec(). Also I don't know how exec() function works.

    Hence I request you to please reply me as soon as possible.
    15 years ago