- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 26
- Posts with Upvotes
- 25
- Upvoting Members
- 17
- Downvotes Received
- 5
- Posts with Downvotes
- 4
- Downvoting Members
- 3
93 Posted Topics
Re: It seems that they don't have 64bit version. I use sometimes wamp if I need 64: http://www.wampserver.com/en/ | |
Re: In order to help you please put some code you already created. After that I can point where do you have problems and help you solwing them. Regards, Mike. | |
Re: It depends on many factors. 1. Programing language, for different languages you need to pay different hostings rates. Example: for development in PHP are lower hourly rates then in Java. Note: chosing language is always tricky thing because all changes and updates and "power" of your site depends on that. … | |
Re: Hi, can you please provide some code that you are working on? We can help you only when we see your code so we can find a problem. Regards, Mike. | |
Re: Hi, can you post some code you already created? What I can say is that you will have one form post/get method that will point to php page if you use php. In that form you will have your select with all possible values. In php page you will process … | |
Re: For hibernate you have a lot of examples here: http://hiddensciencex.blogspot.rs/2013/04/is2-hql-upiti-i-kriterijumi.html But in order to help you more please write some code you already created. Regards, Mike. | |
Hello, I notice that I can't put my signature with link of my blog? Why do we have rule like that? I have some code examples on my blog and it can be useful. My blog link is: www.hiddensciencex.blogspot.com Edit: Actualy I can see it now when I pust topic, … | |
Re: You can save value to session or database when user leave your form. With some javascript it will not be the problem. Then next time you open it first search is it something in database or session if it is then populate this form. | |
Re: Can you post some code that you already created? What I can see now that you will have while/for loop that will say what do you want to buy? And you will have one more array same as this with frutis just with integer values. Every time when somebody put … | |
Re: Hmm, let say you are using that subdomain to add some conntent, bot (that index your page) get to your page see that it is updated and try to reindex it once again. Checking links to that page, how content is displayed, do you have real content, and many many … | |
Re: Can you provide us some example of code you already made? You should create a "job" that will run let say every 5 mintues. Go over all emails from your accout. Find specific emails and respond on them with specific message. In order to help you more post some code … | |
Re: You can use Jackson library for conversion XML to JSON. Example: http://stackoverflow.com/questions/6746059/parsing-xml-into-json If you still have problems, I suggest to make some Java classes that will represent custom data, and them just to map xml to them. After that using Jackson it is easy zo covert everything to JSON. If … | |
Re: You need to create form or link so when that button is called you call servlet. In servlet you will need to grab data from database and send it back to jsp page. In jsp page you can show it in input fileds or if you have a lot of … | |
Re: When you create pdf report you can try to show it in iFrame. There is conversation on this [link](http://stackoverflow.com/questions/291813/recommended-way-to-embed-pdf-in-html), I hope this will help you. Mike. | |
Re: Can you please provide more details, what do you mean by properties? If you want to create report that user can edit you will first need to make a report with fields you will have, then show data on website and let user edit it. After editting data grab it … | |
Re: First you don't have annotiation to indicate what need to be call for this: @WebServlet("/First") Second thing is that you need constructor for super: public First() { super(); // TODO Auto-generated constructor stub } Third thing is that server use methods like doGet and doPost you need to specify in … | |
Re: First you will need to create workflow, so starting from first question to the end. When you create that you will see if you have a lot of branches for one question or not. If yes you can do it in few ways: - Store values in session then check … | |
Re: This line: $query = mysql_query("SELECT * FROM Table 2 WHERE userName = '$_POST[user]' AND pass = '$_POST[pass]'") or die(mysql_error()); You can't put like that you need to put like this: $query = mysql_query("SELECT * FROM Table 2 WHERE userName = '" . '$_POST[user]' . "' AND pass = '" . … | |
Re: It is easy. What you need to do is this: Use c tag lib for loops and if's. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> Create a bean that will have all the data you are showing in table: <jsp:useBean id="allData" class="beans.AllDataBean" scope="session"></jsp:useBean> And when you want to show more details about specific … | |
Re: Code is always the same because Java take care of backward compatibility. Here you have [tutorial](http://www.tutorialspoint.com/jdbc/jdbc-db-connections.htm) about connection to database. They explain every line of code what is made for. Read that and I think you will not have any problems in future. Kind regards, Mike. | |
Re: Did your wamp started corectly, if yes you will need to see green icon in icons bar. If it isn't green (red or orange), one of you servers didn't started. If often happen that your skype is on before turning on WAMP. Skype is using same port as WAMP so … | |
Re: Answer is NO! Tag lib is just to use functions of java in jsp page, why to use library in servlet when you have java core functions already there. Can you give me example when would you use that in servlets? | |
Re: I think that you can do all that with team viewer and a program that will activate on startup, you can set your program to reactivate your connections and start team viewer program again... | |
Re: You can use functions like: jQuery('#some_text_box').on('input', function() { // do your stuff }); this will generate event while somebody is typing so you can do with other text box what you want. | |
Re: Can you give us more details what you exacly need? You can execute sql code that will update that table. You can go to phpmyadmin and update it from server menu. You want to update table you created or user that belongs to database? | |
Re: If I understand you right you need Date Picker? You can see one on this [link](http://jqueryui.com/datepicker/) you have there already source code. | |
Re: You can use selenium script to get that text field you want. Selenium find element you want by ID. Then you can insert value there and with selenium you can "click" on button in same way using finding by ID. Internet is full of tutorials about selenium, this is main … | |
Re: This will return all dates that your propertie had people in it. So you can do it like this: Make a metod that will get input parameters fromDate and endDate. You grab from database every dates you have. Than use a for or while loop to go over all data … | |
Re: You can do it using C taglib library. C taglib library give you if, when, for, while loops so you can use it in .jsp pages so you will just need if in C taglib it is called: choose To use C taglib just put this in top of your … | |
Re: You have all explained on this [link](http://php.net/manual/en/function.explode.php), there you have a lot of examples that will show you everything. Basicly it is a function that split sentence (any string) into array of words (string), but you need to send a request how to split that sentence. For example: "What + … | |
Re: It will be slow in any programing language. You can try to put that words in memory but I don't know if you can do that. Maybe your file is too big for that. Then combinate one word with others. When you finish that you need to know do you … | |
Re: I found this solution on internet and it seems to work. public static String hexToBin(String s) { return new BigInteger(s, 16).toString(2); } Why this use BigInteger, because your number is to big to fit in Integer so you need to use bigger container. If you have hex format and you … | |
Re: First of all you don't need a scaner. You need to have for loop with algorithm to see is it odd or not inside that loop. So you will have something like this: for(i=1; i<=15; i++) { // if you get remainder of division with 2 then that is odd … | |
Re: I think best thing you can do is "find a job". You said you are not new so you probably know everything that I will write. Why it is quoted? Because you meet other programers there, learn new tricks from them. Working with presure on your back to finish it … | |
Re: You can see on this [link](http://hiddensciencex.blogspot.com/2014/02/best-algorithms-for-sorting-arrays-java.html) 3 different type of sorting (Bubble sort, Insertion sort and Selection sort) with time need to sort. You can find there code how to messure speed, it's just a few lines of code. But as JamesCherrill said it is not so accurate but you … | |
Re: the problem is that variable is in the block. this is a block { start your define variable here } end so after block you cant see your variable you need something like this: <?php $refNum = ""; if(isset($_GET["rNum"])){ $refNum = trim($_GET["rNum"]); } ?> now your variable will be define … | |
Re: You can set your value you want in session and then just in secound page get that value from session. on first page: $_SESSION['value']= "Anything you want!"; on second page: $variable = ""; if(isset($_SESSION['value'])) { $variable = $_SESSION["value"]; } and if you work with sessions you need to put this … | |
Re: You can make user-defined function in SQL Server so it will speed up feching data from DB because server will do it faster then functions you create in programs. | |
Re: You need to send that data from form to a page. So you need to add something like this: <form id="contactform" method="post" action="localhostmmmmmmmm.com/update.php"> In my case action will send all that data in that update.php So you need to add action to your form Then when add it you need … | |
Re: You can use [Timer](http://docs.oracle.com/javase/7/docs/api/java/util/Timer.html), with timer you can schedule one task to do every 10 secound or any amount of time you need. Or if you need to wait for something you can use [Thread](http://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html) with thread's sleep method to sleep your program for some amount of time and then … | |
Re: I had a same problem but i need a minutes, so you get a new time then subtract 1 hour or in my case 10 minutes from it and then you ask is that time greater then that time in database if it is you do what you want to … | |
Re: I think you need to subtract hours from main sum, then subtract minutes from the main sum and you will have secounds you need. For examples you have 8000 secounds when you divede that with 60 to get minutes so you have 133.3 so now you need to divide that … | |
Re: You need to use [SwingWorker](http://docs.oracle.com/javase/7/docs/api/javax/swing/SwingWorker.html). He is used for progres bars i think you can redesign it, so you can show message you want in seperate thread so your method will run free. I used that to download picture from internet and in progres bar I will show how much … | |
Re: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> did you add that line of code in your jsp page? | |
Re: If it is a array it will be something like this. int array [] = {9876,7698,7676,9898,987698,769876}; for (int x = 0; x < array.length; x++) { String number = array[x] + ""; String firstTwoNumbers = number.substring(0,2); int numberLength = number.length(); String lastTwoNumbers = number.substring(numberLength - 2, numberLength); if (firstTwoNumbers.equals("98")) { … | |
Re: You need to add .jar from mysql driver to your project and then just do like this... public static void main(String[] args) { try { Class.forName("com.mysql.jdbc.Driver"); Connection conn = DriverManager.getConnection("server adress","username","password"); Statement stmt = conn.createStatement(); ResultSet rset = stmt.executeQuery("querry"); while(rset.next()) { // do what ever you want... } rset.close(); stmt.close(); … | |
Re: Length is number of values in array called args. | |
Re: You need to compile .jasper files into Jrxml source file (.jrxml) Then you need to make servlet who will use .jrxml and make you pdf or something you want from them. Try like that and if you still have problem let me know i will help you with some code... |
The End.