Home » Web Development » Page 2
how to convert date column of a file into user input format
26/4/2016 6:52 am by Belgium in Web Development

I have a file it has 7 columns and lacks of raws its date column format and number of date columns are dynamic, maybe one or two or three columns, date formats are DD-MON-YYYY HH24:MI or DD-MM-YYYY HH:MI or DD/MON/YYYY HH:MI etc..



how to show variable's value in pop up dialog with java swing
26/4/2016 6:52 am by MikeT in Web Development

I am a beginner in programming. I was messing around with java swing and tried to make a silly app. This is my code. It's not showing any errors, but it's not working. When the dialog pops up, the variable's value doesn't show on the dialog. The logic i used is right, because when i run it in the compiler without the GUI stuff, it works perfectly. If anyone could tell what am i doing wrong in h

Print pdf file displayed inside iframe to printer
26/4/2016 6:52 am by Dan Lowe in Web Development

How can I print a pdf file displayed inside iframe directly to printer from Firefox/IE?

The following code works in chrome/opera well,but not in IE and Firefox.

printIframe(objFrame) {

'for' loop explanation request
26/4/2016 6:52 am by Mark in Web Development

I recently started learning python. So I wrote some small code, this code asks for 2 sizes of lists, creates 2 lists with random integers from 0-9 and then spits out the intersection between two lists.

The last "for" loop - I had trouble with it because at first my "intersection" list had repetitions, then I looked up for an answer and got what I have now, it works, however I don't know

String.contains function not working
26/4/2016 6:52 am by ElFenix in Web Development

I have to check whether the words from File1 exist in File2 or not and then count. Data in both files is shown below.

The words in File1 are like shown below:

  1. 发表
  2. 发愁
  3. 发达
  4. 发抖
  5. 发挥

The data in File2 is like shown below:

  1. 这篇论文是什么时候发表的?
  2. 91 .数据 删掉 被马

spring-mvc + java +concurrency
26/4/2016 6:52 am by Virginia in Web Development

I have a problem that i make a spring mvc based web application in which multiple user wants to access my application simultaneously to perform operation. I used some global constant in which i assign ip,port and other information for a particular user like CAConstant.IP, CAConstant.PORT etc.I use these constant in different class to perform operation based on particular user.The problem is tha

Codeigniter: Store value of a dropdown into session variable
26/4/2016 6:52 am by Excessi0n in Web Development

I have a dropdown in the login page which fetches company codes and it's respective ID as value. I need to store this particular value (ID) in a session variable so I may use it throughout site. So that when that particular company is selected I may be able to view the details of that particular company. If there is an alternate method for this, kindly let me know.


"Can't set headers after they are sent" and empty post request body
26/4/2016 6:52 am by Jarques in Web Development

I've been following a tutorial for a login/register authentication application. I keep getting the error "Can't set headers after they are sent" whenever I send POST requests. I tried to console.log the request body and it were empty. I don't know where I did wrong. Please help.


var express = require('express');
var router = express.Router();

i need to print the sum of counters of unread note for more than one if i have 2 or more person
26/4/2016 6:52 am by kranky in Web Development

this code shows to me every student that do not read the notes so I need the counter of these unread to print it how can get the sum of all unread notes ?

 $query=mysql_query("SELECT * FROM students WHERE
echo'<td><b>'.$r['first_name'].'  '.

Android sqlite database query with the columns needed taken from a String[]
26/4/2016 6:52 am by soulcougher73 in Web Development

I have string array with columns I want to select:

String[] columns = {"col1", "col2", "col3"};

The columns might change in the future, but will always be a subset of available columns.

I cannot find a SQLiteDatabase API that lets me pass this array as columns. The only solution I have so far is to just string join the columns with ,<

Trying to post a variable from js to php within a if clause
26/4/2016 6:52 am by glenn1 in Web Development

I am trying to post a variable within a if clause, but the php document is not receiving the variable. Here is some Code:


if(data.details.payment_type =="sofo")    {
    var orderid = data.details.order_id;
    $.post("LinkToPhpDocument.php", { orderidvalue: orderid });



Data Binding for alternative layouts
26/4/2016 6:52 am by Ohio in Web Development

I have faced with an issue with data binding for different layouts. I have layout file for different orientation. For portrait mode:



Android: ThumbnailUtils.createVideoThumbnail return black bitmap
26/4/2016 6:52 am by Colin Henry in Web Development

I am dealing with the thumbnail in Android. Even though I use the function ThumbnailUtils.createVideoThumbnail provided by Android, it gets black bitmap.

I start my research and find out some links:
1/ Thumbnail null
2/ Android ThumbnailUtils createVideoThumbnail return black bitmap

Spring Batch Multiple Processors
26/4/2016 6:52 am by swassbac in Web Development

Can we have multiple processors and single writer to write data in two different tables in spring batch

Update Datalist after a Button is pressed in Android
26/4/2016 6:52 am by br4dz in Web Development

I have a list of T-objects. Each of this objects has a list of S-objects. I want to show the List<S>-data. That for I am using nested RecyclerView.

Since I want to change the data of the S-objects at runtime I use EditText to show and edit the data.

When a button is pressed I want to save all c

How to send complex JSON structure from angular to spring controller
26/4/2016 6:52 am by wcf in Web Development

I've a JSON like below in my angular controller, which i need to post to Spring controller.

var items={"A":"aa",
           "C":{"D":"dd", "E":"ee"}

.success(function(data,status,headers, config){

In my

Inno Setup: Do not install subfolder if it exists already
26/4/2016 6:52 am by Greenman in Web Development

I am trying to package everything in C:AppWeb* into an installer.

If the database sub-folder mysqldata exists, then I do not want to replace these files.

This is my Inno Setup script:

Source: "C:AppWebxampp-control.exe"; DestDir: "{app}"; Flags:    
Source: "C:AppWeb*"; DestDir: "{app}"; Flags: ign

Rails - why I'm getting undefined method `name' for nil:NilClass
26/4/2016 6:52 am by teabagbrewster in Web Development

I'm displaying question by categories and each question has its own number. I made it like this(index.html.erb):

<% @categories.each do |category| %>
     <div id=<%= "box#{category.id}" -%>>
        <h1><%= category.name %></h1>
        <% category.questions.each_with_index do |question, i| %>
            <ul class="question-list" s

Tell me how to send the Json request
24/4/2016 9:44 am by Luxembourg in Web Development

I am sending the json request code give the error Is there any way how to send the json request with authentication.this Code give the Error in filenotfound "http://api.seatseller.travel/blockTicket"
//st = json object

       StringBuilder sb = new StringBuilder();  

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .