1,730 Posted Topics
Hi guys, I have been away Python for long now. I need to brush with small project that will be downloading images from give url. I give url and it crawls through all pages in give location and its subfolders and download image. Now two challenges: 1. Crawl through all … | |
Re: What IDE do you use? Netbeans will do a lot of help for you plus Ctrl+Space will save you alot of typo pains :) | |
Re: [url]http://www.aut.ac.nz/study-at-aut/study-areas/computing--mathematical-sciences/learning-environment/links/statistics-resources/project-ideas[/url] [url]http://topprojects.blogspot.com/[/url] [url]http://en.wikipedia.org/wiki/Schools_and_universities_project[/url] [url]http://www.msse.umn.edu/capstone/ideas[/url] Anyway did you know just using eyes and your powerful brain can see problem or weakness in existing project and formulate something? Sit and think | |
Re: Ask one question at a time my friend. You have asked too many question I cannot follow. Would you just post code that is relevant to question. In JSP project there is web-inf/libs put your custom libraries like JDBC drivers there. I will suggest you start with checking if you … | |
Re: Create Media Player with GUI These are hinted classes. Expand/reduce them as you wish [B]GUI Class[/B] Methods: CreateToolBar, CreateMenu, LoadConfig [B]FileClass[/B] Methods: LoadFile, LoadFolder, LoadPlayList...et al [B]PlayerClass[/B] Methods: LoadMedia, Play, Pause, Stop, FForward, et al You can in future even implement that in Java/C++/Python or whatever language | |
Hi buddies, I need to pass data among servlets and I find it very hard. What I have so far is passing it via session variable but that crashes my app now and then and seem to be bad approach. How do you transfer data among servlets without crashing the … | |
![]() | Re: I don't know pyGame, but I think it would be better off using GUI oriented Toolkits, something like wxWidgets or QT or GTK. I'm not sure if pyGame is that much capable. ![]() |
I was infected by Mabezat virus/worm. I have managed to remove infection and have succeeded. However it have left my firewall and Automatic update disabled. It have also removed searchbox (See attached Image). Please suggest the way out. I cannot even Install Comodo firewall:( | |
Re: How do you do it? [URL="http://www.javascript-examples.com/javascript-calendars/"]Check this[/URL] | |
Hi All, I have JSP and Servlet that need to "talk" to each other. Actually I need to get record from database, fill it in JSP file. I have created Servlet that does the query and gets the result. I need those results to be shown on JSP file. In … | |
I wonder why this does not insert data :-O [CODE=JSP] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@page import = "java.sql.*" %> <%--@page import = "dbfiles.*" --%> <% //VDbManager mgr = new VDbManager(); String sqlApp = "INSERT INTO application VALUES (NULL, 810, 2010-08-26, 2010-10-27, 30, \"Dummy Leave\", \"Dummy Reason \", \"Applied \")"; Class.forName("com.mysql.jdbc.Driver"); Connection … | |
Re: Can you give process how it starts and how it ends? Booting from where to Black screen? | |
Re: Hi, Here are simple procedure to make it happen 1. Connect to server [CODE=php] $host = "localhost"; $username = "root"; $password = "mypass"; $mydb = "testdb"; $connx = mysql_connect($host, $username, $password) or die("Cannot connect to server <br />".mysql_error()); [/CODE] 2. select dabase (Like commandline USE) [CODE=php]mysql_select_db("$mydb") or die("Cannot select databaese … | |
Re: I heard that it supports wxPython but I haven't seen that! I use wxFB version 3.0 and have only C++ features. I love wxFB and Their inheritance philosohpy is really vanilla on cake ;) | |
Re: Try this [CODE=JSP] RequestDispatcher dispatcher = req.getRequestDispatcher("./Somehwhere/history.jsp"); if(dispatcher!=null){ //redirect to history page dispatcher.forward(req, resp); } else{ //redirect to error page out.print("Sorry, redirection failed"); } [/CODE] | |
Re: Here is beautifully simplified solution but it is "either or". I mean [B]either [/B]you persevere and resolve your problem [B]or[/B] you are out :) Here it goes: [URL="http://www.w3schools.com/php/default.asp"]learn quickly PHP[/URL] via this link [URL="http://www.tizag.com/mysqlTutorial/"]Learn MySQL[/URL] via this one Come back and use [URL="http://davidwalsh.name/gmail-php-imap"]this information[/URL] to solve your problem If you … | |
Re: You forgot to add [URL="http://java.sun.com/docs/books/tutorial/uiswing/events/actionlistener.html"]ActionListerner[/URL]? It connects GUI code to actual actions :) | |
I have recently being interested in Web security and I have some reading. I then found [URL="http://www.developertutorials.com/tutorials/php/secure-website-login-060817/page1.html"]this post[/URL], and it is great. I would like to hear what do you think is missing or what isn't necessary a.k.a overkill. It is not criticizing as such but discussing security ;) | |
Re: [CODE=JSP] HttpSession session = request.getSession(); if(session==null){ RequestDispatcher rd = context.getRequestDispatcher("/demo/inner.jsp"); rd.forward(request,response); } [/CODE] Cooked from different google links and untested. Try it and see. I'm not JSP maverick either | |
Re: [QUOTE=mrcniceguy;1215488] I JUST CHECKED THE LINE 29,AND PUT SOMETHING LIKE THIS <?PHP. [/QUOTE] Well you forgot to write PHP start tag. Next time you post question, put the error message as well ![]() | |
Hi, How do these relate and differ? I see them Used with queries but cannot understand. I'm just starting JDBC. Sorry if it is noobish ;) | |
![]() | Re: [QUOTE=JRM;1215522]Are you aware that PHP also has a DOM class? check it out here: [url]http://us3.php.net/manual/en/book.dom.php[/url][/QUOTE] Kidding? That is for XML parsing J! :) I thought PHP wanted JS out of business but then how could Server side things be done on Client. @leegeorg07 , I would suggest you learn JQuery. … ![]() |
Re: I'm new to JSp but wouldn't tag begin with <% instead of <c:? [CODE=JSP] <% if(sessionScope.qCounter == 0){ <!--............do your stuff.....--> } else{ <!--.................do your stuff .........--> } %> [/CODE] | |
Re: Good explanations from [URL="http://www.phpbuilder.com/board/archive/index.php/t-10100599.html"]this post[/URL] [QUOTE="Anon"]PHP cannot easily control the client's browser, except indirectly by generating Javascript which does. The "problem" is that PHP's work is finished once it generates the page to be sent to the browser. PHP is run on the server, Javascript, as it is normally encountered, … | |
Re: see [URL="http://www.cplusplus.com/doc/tutorial/files/"]here[/URL] | |
Hi all, I know many here have been working on big project and can help me on this. We will be having a project to do and we are more than 3 people. We will be working at different times and places(We are not employed developers per se Just hobbyists). … | |
![]() | Re: Are you copying from local file or downloading from net? Your code for that part? |
I wanted to know how people here in DW use which templating system | |
Re: Very possible! when user clicks generate button, you collect the checkboxed things and calculate whatever you calculate and dynamically creating a table as pointed in last image ![]() | |
I have done a lot of PHP but never JSP. I have checked tutorial but not gone too far. I see there are Java beans and some servlets which I'm zero brain at. So I have two questions: 1. Where to read a concise tutorial (Not too detailed I mean) … | |
I was looking for Jump start tutorial for JSP/MySQL. I found Peter budo's sticky. Since I wanted to learn it even offline I decded to put it in word Doc. I will nice format it if I get time and make PDF out of it. However I know some might … | |
Re: If/Else will evaluate only bools. Switch will evaluate integers in whatever form they come from. Jonsca have given solid examples. BTW have you passed [URL="www.cprogramming.com/tutorial.html"]this [/URL]tutorial and [URL="http://www.cplusplus.com/doc/tutorial/"]this [/URL]one? | |
Hi all, I have been running errors too much that I realized that I have learned 'bad' behaviour in writting PHP query. So I decided to change. Please tell me what is good behaviour of writting queries that involve PHP variables as well as functions like one below. [CODE=php]$query = … | |
Re: Go for your own if you are capable and if site is not too complex. It will work EXACTLY as you want. You can also do changes as you wish. The loss is however advantage of ready made, well secured and rich feature CMS. However it is worthy it after … | |
Re: [QUOTE=pythopian;1055978]Not all IDE's support code completion well. Of all IDE's I've tried, I found PyDev and Eric4 work best in this respect.[/QUOTE] Have you checked Wing IDE yet? Eric is most of the time associated with PyQT. It is made by It! | |
How do I truncate double like 99.998765 to something like 99.99 instead of 100.00? If some printf("%.2f", myDouble); gives 100 That is not what I want. Any help is appreciated | |
| |
Re: [QUOTE=yznk;1193726]Alright thanks. i put a global variable of int ndeps; [/QUOTE] I would avoid global thing and instead I would declare a variable and initialize it in each class' constructor [CODE=C++]class Object{ public: Object(){ this->ndeps = 5; } private: int ndeps; }; class Graph{ public: Graph(){ this->ndeps = 5; } … | |
Hi, I need to secure my password and here are my questions. 1. What is the best method of making a salt? I have seen enough arguments for not using user info but rather random values. 2. How do I know user salt if I used random one? Should I … | |
Re: I second(third...) C++ I will also advice you use wxWidgets if you want GUI (and yes some graphics) and it have basic sound (like wav). Go for libmad for mp3 playing, vorbis, flac et al for advanced thing. If it is free/open source consider bass library. I have once done … | |
Re: Are you inserting as blob entry or just uploading to the site? | |
I have this question and might look stupid indeed, but bear with me. I have files in this hierrachy ProjectFolder/Panel/panel.h ProjectFolder/Panel/panel.cpp [B]AND[/B] projectFolder/Search/search.h projectFolder/Search/search.cpp I want to include search.h in panel.h I have tried many thing including [CODE=C++]#include "./search/search.h" #include "../search/search.h"[/CODE] but I have failed. Any suggestion on how to … | |
Re: Get [URL="http://codelite.org"]Codelite [/URL]or [URL="http://codebloecks.org"]Codeblocks [/URL]or MS VC Xpress and there you dump your beloved TC in trash can or put it in embacadero museum. If you want GUI for windows only go and learn W32API but for X-platform my votes goes for excellent [URL="http://wxwidgets.org"]wxWidgets[/URL] | |
Re: I don't know what you are doing but in C++ version you should write no GUI functionality on secondary thread. All GUI issues should Go to primary one and others to secondary. | |
Re: You seem to be finding something like Jython Jython is Python implementation of Java. I dont know Java so... I haven't looked Jython [url]www.jython.org[/url] | |
Re: [QUOTE=Axel_Carvalho;1174715]The problem is solved. The thing was that I tried to pass a few arguments to the [B]write[/B] method (I treated it the same way as [B]print[/B]).[/QUOTE] Strange it worked! The function have no return value. What are output to the file? Can you post new code? | |
Hi guys, I need help with and Idea on how to do this. Basically I want to have sockets session. User logs in and the program authenticates him against DB. Having done some PHP this is not big problem. The problem is how do I maintain session. In PHP there … | |
Re: [QUOTE=jozz3;1174521]No error but no output either[/QUOTE] And it means file is empty, especially if you opened with write option |
The End.