Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~8K People Reached
Favorite Tags

46 Posted Topics

Member Avatar for anallan

I think this what you want [code] #include<stdio.h> #include<stdlib.h> char check(void); char array[3][3]={'-','-','-','-','-','-','-','-','-'}; void display(); int main() { int i=0,l=0,x,y; int k=1; char done; for(i=0;i<9;i++) { if(k==1) { printf("player %d,Input your coordinate:",k); scanf("%d %d",&x,&y); array[x][y]='x'; display(); if(check() != '-') break; k++; } else { printf("player %d,Input your coordinate:",k); scanf("%d %d",&x,&y); …

Member Avatar for saurai3h
0
1K
Member Avatar for alsoumhi

Hi experts, I have a problem which is I can't write arabic text as values of table , here is the steps I have done , please help me and correct me if I am mistaken this is what I did: ************************************************** set names utf8 COLLATE utf8_general_ci; create database see; …

Member Avatar for MindSter
0
511
Member Avatar for alsoumhi

Hi experts, I have a click button called log off , here once a user clicks it , task goes to logout servlet to end current user session . below is my code , I don't know why it works fine with mozilla firefox and google chrom but not working …

0
82
Member Avatar for alsoumhi

Hi experts , I have finished my web application , and now I would deploy it in centos , I need to call my web application the index page like this url [url]http://intranet[/url] it goes directly to index page . My web application including the index page is under Root …

0
72
Member Avatar for alsoumhi

Hi all , I am trying to map a user to a jsp page when he tries to enter to a directory of my application using URL. let say my web directory is called school and it has a directory called pages . now I need to map a user …

Member Avatar for ~s.o.s~
0
312
Member Avatar for alsoumhi

Hi guys , I am trying to convert a web page to pdf , I have searched about this a lot but I did find any answer I have one program to convert using YAHP converter but I couldn't understand its parameters used in the program [code=Java]String fontPath = getParameter(args, …

Member Avatar for Airshow
0
111
Member Avatar for alsoumhi

Hi guys I am trying to prevent user to access directly using URL to my application , so in order to do that I have used security constraint in web.xml file and it works with me . my problem is in my application I am using href and redirect method …

Member Avatar for kvprajapati
0
97
Member Avatar for alsoumhi

Hi guys, I am trying to restrict users to access the sources of my application so I have used tomcat-users.xml file , but later I will be facing a problem which is how if I have a lot of authorized users , so I will add each one to that …

Member Avatar for javaAddict
0
115
Member Avatar for alsoumhi

Hi experts, I am having very small error with my attachment file. the thing is , if I let my servlet send e-mail fwith attachment file exists on my computer and that file I edit by myself , there is no error with my file , so if i download …

0
93
Member Avatar for alsoumhi

hi experts, hope you are fine. I am having a connection problem from client side to my servera(localhost:8080/project). client can access to my normal pages either jsp or html. However, for the jsp pages that show information stored in database , they are not appeared in client side and I …

Member Avatar for peter_budo
0
55
Member Avatar for alsoumhi

hi all , I have finsihed my small project(online form system), I mean the development stage, now I am looking for how I deploy it in windows, exactly windows professional environment . what do I need in order to successfully access to online form project installed in windows professional. I …

0
59
Member Avatar for alsoumhi

Hi all, I am trying to access login page (html page) from subdirectory of my web directory , the login page calls loginServlet which is reponsible for authintication, then the loginServlet response back to the client a web page to the user(whether user or adminstrator) . my web directory called …

Member Avatar for peter_budo
0
103
Member Avatar for alsoumhi

hi guys, hope you are fine. I have project is about online form appliation , I have done half of the project, the part that the client login to the system and choose a form, filling the form , then sending to adminstrator a message saying one user has applied …

Member Avatar for peter_budo
0
87
Member Avatar for alsoumhi

hi all, I have simple question which is how to access to servlets inside subdirectories of classes directory? I know that for one subdirectory inside the classes directory , you can access to servlets like this [url]http://host/servlet/packageName.ServletName[/url] but how about the servlet is inside one or more subdirectories? I have …

Member Avatar for masijade
0
66
Member Avatar for alsoumhi

I want to understant pager-taglib idea , how to use it , where to install it in which directory. please provide me with tutorials that can explain it with clear examples because I read about it and got confused thank you in advance

Member Avatar for peter_budo
0
120
Member Avatar for alsoumhi

Hi all, I am having a problem in JSP, it is very simple. I have a java class and a JSP program, my JSP program will call the a method of java program in order to work as one complete application .however, I got an error says undetermined method. Based …

Member Avatar for ~s.o.s~
0
59
Member Avatar for alsoumhi

hi guys, I am doing online form project, I get problem with navigation. the user can forword and back the page . I need to prevent user from that. I mean that once user gets new page , he can't get the prevouis page , but it asks him to …

Member Avatar for alsoumhi
0
80
Member Avatar for alsoumhi

Hi experts, I have finished writing my servlets and web pages. all my servlets tested using tomcat in windows operating system. In other words , I have finished the development stage. Now I need to move all my servlets and web pages to web server for deployment. but my web …

Member Avatar for alsoumhi
0
156
Member Avatar for alsoumhi

Hi experts , I got problem and need help please. I have created a servlet sends a message to the client, I have tried to attach a text file with message being sent but I couldn't do that. please help me how to attach a file with a message. is …

Member Avatar for peter_budo
0
78
Member Avatar for alsoumhi

Hi experts, I got problem in servlet. I have a web page that has two buttons (submit button and update button) , both buttons call the servlet. my question is how I let my servlet program distinguish the two buttons when one of the two buttons is pressed. the servlet …

Member Avatar for alsoumhi
0
233
Member Avatar for alsoumhi

Hi experts, I am having a problem with sending mail from servlet I have written this code : [code=Java] import javax.mail.Session; import javax.mail.Message; import javax.mail.Transport; import javax.mail.MessagingException; import javax.mail.internet.MimeMessage; import javax.mail.internet.InternetAddress; import java.util.Properties; public class EmailSenderDemo { public static void main(String[] args) { String from = "ali@mlabs.com"; String to = …

Member Avatar for kvprajapati
0
127
Member Avatar for alsoumhi

Hi experts, I have two questions, please help me because I am trying to create an application and I stopped because of these 1) how to read data in servlet from a web page for select menue I have used [request.getParameter("?????")] but I don't know which name I put inside …

Member Avatar for masijade
0
74
Member Avatar for alsoumhi

Hi Friends hope you are fine, my question is how to send a respond message created by a servlet to a specific e-mail. let's say I create a registration servlet, this servlet will send a respond message to an e-mail , instead of showing the respond message as a web …

Member Avatar for peter_budo
0
69
Member Avatar for alsoumhi

hi all , I have a simple question , let's say we have a servlet program and a web page . the question is how to make a servlet calls the web page and sends it as a respond to any request coming to the servlet. Is there any statement …

Member Avatar for kvprajapati
0
98
Member Avatar for alsoumhi

hi all , my question is how to create a hypertext link in servlet so if the user click it, it shows another web page or a message .

Member Avatar for Thirusha
0
85
Member Avatar for alsoumhi

Hi all , I have a servlet program, this program will get a user name and password from a web page. I need to check the user name and passsword entered by user with a data file has all user names and passwords. the thing is I know how to …

Member Avatar for alsoumhi
0
88
Member Avatar for alsoumhi

hi all , I am new to this forum I have a simple question why getParameter() doesn't work with me . My java server page is as follow: [code=Java] import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class InputServlet extends HttpServlet { public void doGet(HttpServletRequest request,HttpServletResponse response)throws IOException, ServletException { String …

Member Avatar for alsoumhi
0
294
Member Avatar for alsoumhi

Hi all, I got an error when I start admin server this is the error an error occurred while trying to start admin. check console log for more details please help how to avoid this error please

Member Avatar for alsoumhi
0
63
Member Avatar for alsoumhi

Hi all , I have been given a task which is to create a (log in )web page , user has to log in to the page after that a page with many links of forms such as leave form, feedback form,complain form,...etc. once a user has clicked to one …

Member Avatar for kvprajapati
0
101
Member Avatar for alsoumhi

Hi all , I have been assigned to do a task which is to create a web based application, the task is actually a normal form application, I have to use that form and make it online as a web-based application and store the information in a database I know …

Member Avatar for alsoumhi
0
152
Member Avatar for alsoumhi

Hi all , I have decided to use java applets and java servlets regarding creating a form.(because I don't know other langauages except java) guys the scenario is like this , visitors will enter to website, surfing it and then they will enter to feedback form , they have to …

Member Avatar for kvprajapati
0
105
Member Avatar for alsoumhi

Hi all , My question is that I want to know if possible I use C language dealing with windows such as I create a folder ,file, and show for example a pop up message says hi when windows starts to operate . I mean can I do these kind …

Member Avatar for Narue
0
110
Member Avatar for shubhang

first of all, what is the value of variable (s) here in the program, it is assumed here as it is zero , is it the value that you want it or not secondly the looping will be infinite because value of variable (a) and value of variable (b) is …

Member Avatar for Antenka
0
320
Member Avatar for alsoumhi

Hi gys I hope you all fine I just have a question that I would send two UDP packets from the client to the server and the server will reply back the both messages to the client , my problem is that my program only sends one packet to the …

0
76
Member Avatar for alsoumhi

Hi gys how are you, I really need your help to understand the idea for putting some parameters with main function, it is like this ( int main ( int a , int b , char* c) ) what is this and when we use it and how!!! ... I …

Member Avatar for Narue
0
286
Member Avatar for alsoumhi

Hi guys hope you fine I have a request and question, for my request I would like from you to recommend me which books and tutorials that I may follow help me to understand how to read and write files in java I really need to know that. and for …

Member Avatar for iamthwee
0
149
Member Avatar for alsoumhi

Hi guys, how are you? I need your help in a tic tac game, I have created a program that asks a user to specify first the index whether [0][0],[2][1],[2][2],etc..and to enter the char letter either 'x' or 'o' but I don't know where is the wrong? can any any …

Member Avatar for Ancient Dragon
0
105
Member Avatar for dc101
Member Avatar for alsoumhi
0
90
Member Avatar for abhishekgahoi

it is easy i is 5 then -- i which means (i) is 4 then i-- which will appear 4 then i will be 3 then ++i which means increase by one so (i) is 4 then -- i becomes i is 3, then print last (i) which is 3 …

Member Avatar for Aia
0
177
Member Avatar for tinamary

static in simple words means that we are not able to use instance variables(the class variabes)which don't have the word static in the main method or invoking other methods those don't have the word static also in the main method. you will ask me why?? I will tell you that …

Member Avatar for tinamary
0
126
Member Avatar for srikanth329

Ok try this, int x[11]; int i=11,decimal=0; for(i=0;i<11;i++) /*here to allow the user to enter 11 binary numbers*/ scanf("%d",&x[i]); for(i=10;i>=0;i--) { if(a[i]==1) decimal= decimal + 2 * i ; } printf("your decimal number is %d",decimal);

Member Avatar for alsoumhi
0
283
Member Avatar for alsoumhi

Hi,guys how are you I just want to ask in c programming that how to return a string to a main function thanks.

Member Avatar for Rashakil Fol
0
106
Member Avatar for alsoumhi

How are you guys, I need your help in java could someone know how to change from character to string what I mean is that let's say I have a variable x with char type and it has a value a. so how I can change that value (a) from …

Member Avatar for eranga262154
0
187
Member Avatar for tractionmate

I may help you in doing this could you wait me because I just read your message thanks

Member Avatar for Salem
0
320
Member Avatar for argonaut
Member Avatar for Salem
0
76
Member Avatar for alsoumhi

Exuse me gys, I am a biggener in java and I would like to know how to use the data file in java such as taking data from the file and printing the data in new file is there any class library carring out this task please reply to me

Member Avatar for darkagn
0
143

The End.