- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
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 … |
|
Is there a way for JSP to get value from id element in a html? Just like what javascript doing document.getElementById.value |
|
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 … |