- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
50 Posted Topics
hello i would like to charge a user using paypal or any other way you think that is better but i want when i charge the user i want to update my database. the application is in jsf any suggestion how i implement the solution? that you very much | |
i have a page with this code <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core"> <h:head> <title>Facelet Title</title> </h:head> <h:body> <h:outputText value="#{pros.handleIpn(request)}"/> </h:body> </html> and althought i can access this page throught internet ip:8084/path to the page when i insert this page … | |
Hello i am using jsf and i have this form <h:form> <h:inputHidden id="user_id" value="3" /> <h:commandButton action="userprofile.xhtml?faces-redirect=true" value="Profile" /> <h:commandButton action="addappointment.xhtml" value="Appontment" /> </h:form> How i can access at the page userprofile the value user_id=3 ? Thanks | |
Hello I have folders Admin -la -la1 customer -he -he other files And i have an an upper menu that i use <h:form> <div class="upmenuOption"> <h:commandLink action="/index.xhtml?faces-redirect=true" value="Αρχική σελίδα"/> </div> <h:panelGroup layout="block" class="upmenuOption" rendered="#{request.isUserInRole('administrator')}"> Πελατολόγιο <img src="#{facesContext.externalContext.requestContextPath}/images/downArrow.png" class="downarrow"/> <div class="subUpmenu" id="test2"> <div class="SubUpmenuOption"> <h:commandLink action="/admin/index.xhtml?faces-redirect=true" value="Πελάτες"/> </div> <div class="SubUpmenuOption"> <h:commandLink … | |
Hello i made a jsf site. Althought the welcome page is normal all the others are domain/faces/pagename.jsf. How i can fix this problem? | |
I opened a website business but i am programming at jsf mostly for big sites. Is there any good JAVA VPS or virtual Java server that i can buy because now i can not buy a server and set it up. Do you know any good one that i can … | |
I am using apache james 3 and when i am trying to send a e-mail although it seems that i send the e-mail i have this error at apache james: INFO 00:51:21,527 | james.smtpserver | Id='882742847' User='' Connection established from 127.0.0.1 INFO 00:51:21,608 | james.smtpserver | Id='882742847' User='' Successfully spooled … | |
i have this class theclass{ int totalavailable; other informations; } and i made a list LinkedList<theclass> where all available rooms The user want to see if two rooms of any of the available rooms that are at the list are availables and produce a result with the available options. for … | |
Hello, When in my page an e-mail to contact is sending it take some time. How i can put the bar that informing the user that the e-mail is sending and when the message is send to do another animation and then redirect to another page. I hope you unterstand … | |
I am making a website but the files are into folder a->b->c/bla.jsp is there any library that is free or a way that i can change the showing url to be more user friendly? Thank you | |
I have these templates: temp1(id,country_id,county_id,town_id,location_id,street_id) country(country_id, language,country_name) county(county_id, language,county_name) town(town_id, language,town_name) location(location_id, language,location_name) street(street_id, language,street_name) For now i am joining all these for the selected language to find the names of temp1 id's location. Is there a better way to retrieve the informations? Would be better to make a table … | |
Re: Why do you want to do this? There is request.getParameter("name") where the name is the name of the input you have. What do you want to take? The parameters of the forms that was submitted or something else? | |
Hello When i am trying to build the apache-james-2.3.2 i have this problem Buildfile: build.xml /Users/xxmp/Desktop/James%20Project/apache-james-2.3.2/check-targets.ent could not be found setup-dependencies: javamail-check: activation-check: check-dependencies: prepare-common: Preparing code prepare-phoenix: Phoenix distribution present - adjusting linefeeds and permissions, copying files prepare-mxinfo: Writing Info descriptors as legacy xml. prepare-metainf: prepare: compile-main: Compiling James … | |
Hello I have these database countries ->country_id ->country_name ->language counties ->county_id ->county_name ->language towns ->town_id ->town_name ->language locations ->location_id ->location_name ->language streets ->street_id ->street_name ->language and i have users that select country,county,town,location and optional street at a selected language and i want to show the show the informations of address … | |
When the user finish with the order and pay then i want to create a pdf with the order receipt with email. How i can create this pdf online and sent it to the user? Thank you very much | |
Hello Now all the forms that i have made are like this <form .... action="pagenamecheck.jsp"> ... </form> So when someone send the form from the page 'pagename.jsp' i go to the 'pagenamecheck.jsp' and i do there the check and if there is something wrong i have to recreate all the … | |
Hello I have a form that a user insert some input form accept-charset='UTF-8' action="addcommentcheck.jsp" method="post" id="addcommentid"> ... </form> and at addcommentcheck.jsp i do request.setCharacterEncoding("UTF-8"); But when i try to insert it to database the only thing that i insert is ????? When i show to the user the input i … | |
Hello I want to sent mail and i am using this code public boolean sendEmail(String from, String to, String subject, String themessage){ boolean success=false; // Assuming you are sending email from localhost String host = "localhost"; // Get system properties object Properties properties = System.getProperties(); // Setup mail server properties.setProperty("mail.smtp.host", … | |
Hello I would like to write to a database a message that might be in greek. How i can do this? the form that i have is: <form accept-charset='UTF-8' action="addcommentcheck.jsp" method="post" id="addcommentid"> .... </form> and the database is utf8_unicode_ci for the name that could be in greek. How i can … ![]() | |
Hello I made a site and i would like to update it at a server. I am from greece. Do you know which is the cost per year and a good and not very expensive server? Thank you | |
Hello I have a site. For not i just check the size of the image and if it is bigger than a size i just do not upload it. Is there a way to reduce the size and upload it later? Thank you DiskFileUpload fu = new DiskFileUpload(); FileItem fi4=null; … | |
Hello, I made a web site with products and i would like to complete the payment with paypal. I have this problem. When the use want to complete and buy something before continue to the paypal should check if it is available and reserve the prodoct. With the paypal he … ![]() | |
I have these databases h1 h2 h3 Where each database has the quantity of items that are available to be sold from shop1, shop2 and shop3. I want my data to be concurent. For example 2 users may want to buy the same item the same time and the manager … ![]() | |
Hello i am trying to use cookie at my site. I used this code for set the cookie try{ Cookie cookie1 = new Cookie("thesiteid", Integer.toString(site_id)); cookie1.setDomain("localhost"); cookie1.setPath("/"); cookie1.setMaxAge(24*60*60*365); response.addCookie(cookie1); System.err.println("Set cookie"); } catch (Exception e){ System.err.println("Error in creating the cookie: "+e.getMessage()); } The problem is that is not working at … | |
Is there any way to add a parameter of previous page to the existing URL? I found the parameter i want from the previous URL i only want to add it at the existing URL Thank you very much ![]() | |
Hello I want to make a site that the user upload an image. For now i do not upload images that are more than a size. But i want change it. When the image is bigger than 1 MB i want to resize it to 1 MB or to the … ![]() | |
I want to sent e-mail when the user is logged to inform him that was logged and all these. Which is the best library to use for this? The server is on localhost for now Thank you very much | |
Hello i want to encrypt or hash some data and put them on the database. Which is more secure encryption or hash and how i can do this? thank you very much for your help | |
Hello I want to create an image galery. When someone selects the images then the image is showing. I want when the user click on the half->right side of the image then goes to the next image otherwise (half->left side) goes to the precious image. How i can cut an … | |
Hello I have to function void lala_a(adktis *p) void lala_k(kdktis *p) These two functions are doing the same things but i want to make one function tha can accept adktis/kdktis something like this void lala(adktis *p); void lala(kdktis *p); Is there a way to do this in c? Thank you … | |
Is there any way to overload the assigment operator or it is not possible in java? Thank you very much | |
Does anyone know who i can take the buffer size, buffer number and page size using php? Thank you very much | |
I have this page [CODE] <body> <div id="main"> <div id="left_menu">left</div> </div> </body> [/CODE] where [CODE] body { background-color:#B7B69D; height:inherit; } #main { border:outset; width:1024px; height:95%; margin-left:auto; margin-right:auto; margin-top:15px;; margin-bottom:15px; background-color:#FFF; } #site_logo { width:140px; height:120px; float:left; margin-top:15px; margin-left:15px; margin-right:15px; } #left_menu { background-color:#90C; height:640px; width:180px; float:left; margin-top:15px; margin-left:15px; } [/CODE] … | |
I have the database movies (movie_id INT, actor VARCHAR(80)) and i want to answer to this question ’Six degrees of separation’: Given two actor names, determine their ’degree of separation’, defined as 1 follows: Two actors ’A’ and ’B’ are 1-degree away if they played in at least one movie … | |
Re: where exactly is the problem? everything is running ok but there is no result? | |
I have made this stored procedure DELIMITER // DROP PROCEDURE IF EXISTS find_max; CREATE PROCEDURE find_max (IN type INT,OUT maxx INT) BEGIN SELECT max(card_id)+1 INTO maxx FROM cards; END; // DELIMITER; and i want to have this stored procedure DELIMITER // DROP PROCEDURE IF EXISTS add_card; CREATE PROCEDURE add_card (var_member_id … | |
| |
i would like to encrypt some data and i do not know how? How i can make a secure log in to a web server? Thank you very much ![]() | |
i am trying to find what is wrong with that but i can't find it [CODE] function check_form(formid) { var field=document.getElementById(formid); var wrongs=0; document.write("lol"); document.write(field.length); for (i=0;i<field.length;i++) { k=field[i]; temp=k.name; document.write(temp); if (temp.indexOf('email')==0) { document.write("lalala email"); if (check_mail(formid,temp)==true) { wrongs++; document.write(temp); } } else { if (temp.indexOf('til')==0) { document.write("lalala til"); … | |
i have this function and it works right only to mozilla [CODE] function check_field(formid,field) { var k=document.getElementById(formid); if (k[field].value=="") { document.getElementById("wrong_"+field).innerHTML=" Κενό πεδίο"; } else document.getElementById("wrong_"+field).innerHTML=""; } [/CODE] i use this element to call it [CODE] <tr > <th width="22%" <?php if (isset($_SESSION["prob_onoma"])) echo "class=\"become_wrong\"";?> align="left" > Ονοματεπώνυμο :* </th> <th width="45%"> … | |
Re: after the success add you have to use unlink($variablename) and you clear each variable | |
i have the variable $hello="this is test" and i would like to do this when someone click the link "LINK" to show down of it "this is test when click once i want to look like this LINK this is test and when click again to look like this LINK … | |
i have this problem i have this variable $title=J1. Tsalgatidou, A., " Modeling and Animating Information Systems Dynamics " , Information Processing Letters 36, 1990, 123-127. and then i do this [CODE] $more_button=' <input type="button" id="button_help1" value="Summary" onClick="window.location='some_infos_research_en.php?title='.$title.''"> <input type="button" id="button_help1" value="Full description" onClick="window.location='upload/publications/en/'.$file.''">'; [/CODE] but when i echo $more_button … | |
I have this table publication_en Field Type related varchar(200) public_area int(11) title text detail text file varchar(200) and i am trying to do this INSERT INTO publication_en (related, public_area , title , detail , file) VALUES ('none','1','"helped"','la' "kajakjajk"','J3.pdf') but it doesn't work any idea why it doesn't work ? Thank … | |
I have this table publication_en Field Type related varchar(200) public_area int(11) title text detail text file varchar(200) and i am trying to do this INSERT INTO publication_en (related, public_area , title , detail , file) VALUES ('none','1','"helped"','la' "kajakjajk"','J3.pdf') but it doesn't work any idea why it doesn't work ? Thank … | |
can i set a maxlegth of characters when i am using textarea? if yes who i can do it? Thank you very much | |
i am new in sql and i would like to ask you if i can make a class in mysql. For example class test { INT AGE; INT YEAR; } CREATE TABLE lol (x test); can i do this? Thank you very much | |
i cave this code [CODE] #include <iostream> #include <cstdlib> #include <cassert> using namespace std; typedef int typos_akmis; template <class typos_stoixeiou> struct korifi { typos_stoixeiou dedomena; /* i would like to do korifi<typos_stoixeiou> * ->kdktis */ korifi<typos_stoixeiou> * epomenos; akmi<typos_stoixeiou>* kefali; /* here is the problem */ int episkeftike; } ; … | |
Re: did you check if you have already created the table? did you try other queries? do they work? |
The End.