FAQ Database Discussion Community


Apps Script - Web App: Visible Source Code / Library?

web-applications,google-apps-script,source-code
If I publish a project as public web app, to receive and response only a few variables... is then the complete source code and maybe the used library visible to all users?

In a Polymer-based game: how to display an image depending on the total score

javascript,html,web-applications,polymer
I'm building a game using javascript and HTML with the Polymer framework. Currently the user gets points when completing a task. When the round ends the screen shows them the total score. What I would like to do is show the user an image as a "badge" depending on the...

Different apps for website and control panel?

ruby-on-rails,web-applications
I'm developing my first useful rails app at the moment and have a general question. How are bigger applications like digitalocean.com or invisionapp.com set up: Are the website and control panel always two different applications? If not, what is the setup to seperate these two in one app on different...

Which is the best performance testing tool when i dont know the client application behaviour. As i am going to have number of web based clients

web-applications,jmeter,performance-testing,load-testing,loadrunner
My organization is looking to perform a performance testing externally. The performance testing is going to be only for web based applications. Can you guide me which tool is best to choose as performance testing tool. Right now there is no idea about the client web application behaviour. Beacuse there...

Storing Constant Data in Rails

ruby-on-rails,web-applications,model
What is the best way to store a set of constants like country names, currencies, city lists in a rails app? I was thinking of having a model named Constants that stores all this data and another model ConstantMaps that is polymorphic that maps the constants to the various other...

What's the best way to make an Assembly compiler in Python available online?

python,django,assembly,web,web-applications
The compiler works by receiving a file that contains the macro assembler source code then, it generates two files, one is the list and the other one is the hex file. Everything works alright while offline but I want to make it online. In this case, the user will provide...

GWT: How do I initialize the back-end before the server starts listening? [duplicate]

gwt,web-applications,server
This question already has an answer here: “Servlet” (server-side) initialization code in GWT 2 answers I'm writing a web application in GWT. Currently the only server-side logic I have are some RPC calls contained in a class that extends RemoteServiceServlet. The structure of this class looks like this: public...

how to pass List(Of objects) - orders - from results page to details page

asp.net,.net,vb.net,gridview,web-applications
The context I am in is the following: I have a page that receives a date range, from the user, then user click button and a list of orders that are retrieved from a web service, are displayed on a grid-view, having on of the columns be a hyperlink that...

update native google maps app from a web app

javascript,android,ios,google-maps-api-3,web-applications
Can I have a web app running, and a native google maps app launched by the web app running on a droid, and have actions performed by the user on the web app automatically update the native map app? Ex. User clicks link on web app. Query string values in...

How to run web application without “A child container failed during start” error on Tomcat 7 from Eclipse?

java,maven,tomcat,web-applications
Colleagues, hello. I know that problem like this is discussed in the next threads (or near it): Maven war - Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/] building a maven war tomcat 7.0.27 not starting How do I import the javax.servlet API in my Eclipse project? Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] Failed...

Run a background task from a HTTP request

python,web-applications,flask,gunicorn
I have some server code that I have unsuccessfully tried to run from a GET request, but I keep getting a timeout error. Is it possible to initiate a parallel thread during a GET request and then return a message to the user saying that their request is being handled...

No Option for New->Web application on Intellij Idea 14.1.2

java,rest,web-applications,intellij-idea,ubuntu-12.04
I have IntellijIdea14.1.2 (Community version) on Ubuntu 12.04LTS I am trying to create a web application project from scratch and I chose to follow this guide https://www.jetbrains.com/idea/help/enabling-web-application-support.html#new But I am not getting the option mentioned in Step 3 "Under Additional Libraries and Frameworks, select the Web Application check box. Select...

Cordova- embed a external website into cordova app

cordova,browser,web-applications,website
I have a website. it run good in server I'm building a cordova app to embed this website and I want to open this website into this cordova app. I use window.open(..., "_blank").. window.open(..., "_selt") modify config.xml <access origin.... but when I run app in my device, website auto open...

Change Javascript Variables Using

javascript,html,web-applications
Title says it all. Is there any way of changing javascript variables using the html tag?

Azure management API: How to change web app pricing tier?

c#,azure,web-applications,azure-web-sites
I'm automating the creation of Azure web apps using the management SDK (i.e. https://github.com/Azure/azure-sdk-for-net) and it's not obvious how to change a web apps app service plan pricing tier using this SDK. Specifically I want to change the web apps I'm creating from 'Free' to 'Shared'. How can I do...

Backbone web app architecture - best practice

javascript,backbone.js,web-applications
I am rewriting a web app in backboneJS and I'm wondering about the general architecture compared to my previous approach. Please let me know if you think this questions should be on CodeReview instead of StackOverflow. This is how I tried to build web apps MVC style without any framework...

What options are there for transferring one particular webapp user's data onto another DB instance without suffering PK collision?

sql-server,database,web-applications,architecture,uniqueidentifier
EDITED When we first architected our web app years ago, we chose auto-increment int for all of our users' data. However, we are now getting burned by how hard it is to transfer specific user's data (multiple tables with one-to-many relationships) to another non-empty database instance (with the same table...

Replying to a request in ruby on rails (Server side)

ruby-on-rails,ruby,web-applications,backend,web-frontend
I am making a webb app using rails. At one point I am sending a request to the server to get some information in an array. I can handle the request on the server side, using routing and controllers properly. But once the server has done its math, I don't...

What Cell,Table can I use to create a grid of only images in every cell, in GWT?

css,gwt,web-applications,grid,cell
I need to create a GWT application that handle the buying of films. So I have to show in a grid (not in a list, I don't like the view) these cell containing image and info about the film like this:( http://static.ipaditalia.com/wp-content/uploads/2012/11/mzl.sckskoqz.480x480-75.jpg ). I think that I need of a...

deploy web application on 8080 port

web-applications,dns,hosting
I created a web application using eclipse tomcat and mysql. I would access my website on 'localhost:8080/HotelPromo' Then I got a no-ip account and got a domain hotelpromo.no-ip.biz, and in no-ip this is pointing to my IP address(which I can ping). I thought I would be able to access my...

Hibernate file location in maven web application

hibernate,maven,web-applications
I am writing a simple web application with maven (web application archetype) and I am not sure where to put Hibernate config files. Which is the correct folder? Currently, I have them inside my webapp/WEB-INF folder but the application does not seem to find them. EDIT: thanks for the answers....

Login Web Page Automatic Logout

php,web-applications,login
I am creating a login page for covering important stuff for only the admin. Here is my current successful code. <?php $username = "adminuser"; $password = "adminpass"; $randomword = "helloworld"; if (isset($_COOKIE['MyLoginPage'])) { if ($_COOKIE['MyLoginPage'] == md5($password.$randomword)) { ?> <?php $dbhost = 'localhost'; $dbuser = 'user'; $dbpass = 'pass'; $conn...

Can't find Microsoft.SharePoint.WebControls.dll

c#,sharepoint,web-applications
I'm trying to add Microsoft.SharePoint.WebControls as reference in my C# WebApplication. But I'm not able to find it when I search in the assemblies list. And it's nowhere on my computer. Do I have to download it? If yes, where? I cannot find any useful download link. I'm stuck on...

Need help making a File Export function remember the path that the user selects

c#,.net,winforms,web-applications
I have a function in my program that exports data. The exporting works great, but I'm having trouble with something: When the user clicks Export, they are presented with a folder browser to choose where on their hard drive they would like to export to. The browser launches initially with...

SET IDENTITY_INSERT ON/OFF needed on application server, but ALTER permission seems dangerous. Suggestion?

sql-server,database-design,web-applications,sql-server-2012
We are building a multi-user web app where they need an unique postId for post they create. Each post has (userId, postId) as the compound primary key. Right now, postId is an identity value, but because of the need to support some operations that require postId to be inserted as...

Flask: “from app import app”?

python,web-applications,flask
I'm following this tutorial to make a basic Flask app: and I don't understand the line of code in app/view.py that says from app import app. In that line, what do both of the app refer to? Do they both refer to the same thing? Note: I know that there...

AngularJS: Access a factory or service from 3rd party library

javascript,angularjs,web-applications,dependency-injection
Here is my problem: I am building an application mostly angular-based, but also using some non-angular code. I have organized my code in modules, including some factories. In particular I have a factory dedicated to logging, which is injected in various modules. What if I want to access this logging...

How to asynchronously send data to a client via a different application path?

web-applications,architecture,scalability
I am currently researching large scale application optimisation and scaling, and through my research I have gotten to grips with the standard ways of doing large scale with DNS Round Robin for splitting the load across load balancers, using load balancing to divide traffic across web-servers like Nginx, which again...

How to open a new page when button is clicked on

java,html,jsp,servlets,web-applications
The question is vague so allow me to clarify. I am developing a web app locally on eclipse and using Servlets, JSP, and an html document to design a web page. I have a home page which has two buttons, signup and login. I have one file, called index.jsp, which...

Go Namespace/Scope Issue for Global Session Management Across Multiple Packages

web-applications,go,global-variables,session-cookies,beego
First let me say I'm new to Golang. Working with it for a couple of weeks now. Really like the language but... I'm having some trouble with global session management in Golang. I see how it works and I can me it work if scope is all in one package,...

How do I check if a youtube video is blocked/restricted/deleted

video,web-applications,youtube,youtube-api
I have a website that stores users playlists, but sometimes the videos that were once usable get removed due to copyright violations, or get deleted. I would like my website to automatically detect when this happens, so it can delete the video, or replace it. I'v done a lot of...

In a Node app with express JS, how can I include and run a separate JS file?

javascript,node.js,express,web-applications
I have a javascript file that contains some functions that grab an RSS feed and save the contents in a database. I originally had it being called by the HTML page, but I want this file to instead be running in the back-end all the time (grabbing updates from the...

Developing a search and tag heavy website

sql,database,web-applications,solr,nosql
I'm in the planning phase of developing a very tag heavy website. Everything will essentially be associated with tags and the entire site would be based on searching these tags. Now, I've been thinking a lot about going the nosql route here, since from what I read and understand, it...

What is the behavior of Hash(#) in query string

java,url,web-applications,url-encoding
I am sending the bellow url with query string. In the query string one parameter "approverCmt" has value with hash(#). "/abc/efd/xyz.jas?approverCmt=Transaction Log #459505&batchNm=XS_10APR2015_082224&mfrNm=Timberland" In server side when I tried to retried from request I got approverCmt = Transaction Log -----> "#459505" is missing batchNm = null mfrNm = null And...

Constantly logging to a file with Cordova-WebApp on Win 8.1/WinJS

cordova,logging,web-applications,winjs
What would be the best way to constantly write to a logfile without using the internal logging system (LoggingSession)? I did something like: function raisedWhenNewLogMessageArrived(message) { var fileName = getcurrentDate() + ".log"; var appDataDir = WinJS.Application.local.folder; appDataDir.getFolderAsync("log", Windows.Storage.CreationCollisionOption.openIfExists).then( function (folder) { folder.createFileAsync(fileName, Windows.Storage.CreationCollisionOption.openIfExists).then( function (file) {...

LDAP connection only works on localhost

c#,asp.net,web-applications,active-directory,ldap
I have a login page that verifies credentials with active directory and redirects to the next page. When I run it locally it works perfect, but when I put it out on our webserver it gives an error trying to create the group principal: (System.DirectoryServices.DirectoryServicesCOMException (0x80072020)) I need to find...

Google App Engine Local Host Issue

python,google-chrome,google-app-engine,web-applications
I'm new to Google App Engine and I followed multiple video tutorials (One from Udacity) and for some reason I am unable to get it to run on the local host with the simple "Hello World" program. I do have the Python SDK installed as well as the Google App...

Is it OK to have DB columns for “display purposes”?

sql-server,database,database-design,web-applications
We have two tables that need fields to be displayed in the application in various pages/screens and on reports as CONCAT of separate fields (concat within the same table) 1) Customer-table: FirstName+' '+(first-character([MiddleName])+' ' if not-null)+LastName intended result: "John Doe" -or- "John M Doe" (Note: similar situation with AddrLine1+AddrLine2+City+State+Zip+Zip4) 2)...

Trello keys, which can be revealed?

web-applications,api-key,trello,auth-token
Which keys can be revealed? I'm developing open source application using trello api in python. I have the application key which I generated from appKey/generate which I always require for initiating client. If I hard code this application key in my source code then everybody will be able to use...

How does all this components work and communicate to each other?

asp.net,api,web-applications,dll,windows-services
I would like others to explain about Windows Service, API and CIM Framework(.dll) to me. I'm an intern and very new to all this, I have tried researching about the issue I addressed below in net and also read through a few guide in my organization but can't understand much....

Object doesn't support property or method 'create' on IE11 when run as a webapp, fine when straight opening HTML in browser

javascript,web-applications,internet-explorer-11,sigma.js
I'm trying to get a working prototype of sigma.js working. I can download their package, and straight up open the example files in my browser (IE11), and it works fine. However, if I try deploy it to a webapp, it gives me this error: var _handlers = Object.create(null); Object doesn't...

Use property variables for the next action which is call by form

hibernate,java-ee,web-applications,struts2,action
I have one jsp web page which is the result of an iterator struts. In other words I have a list which is the result of an easy hibernate query select from TABLE. Iterator struts2: <s:iterator value="usersList"> <s:property value="userName"/> </s:iterator> At the same time my jsp page has one form...

MarkLogic: Application Builder [duplicate]

web-applications,marklogic
This question already has an answer here: MarkLogic Facets and Range Indexes 1 answer I am stuck on how to use application builder of MarkLogic. How do I create index in MarkLogic & link them to be included in the Application to be used as Fields for Search. I...

android app with apache cordova

javascript,android,html5,web-applications
I'm developing a web app using HTML5,CSS3 and JavaScript. Then I want to use the Apache ordova platform to generate a native android app from my web app but I still don't understand what do I need for this,specially do I need a server-side development with php for example??

Implement a semantic web search engine using Arabic wordnet

web-applications,arabic,wordnet
I want to develop a web application that will use the current AWN, and provide the user to obtain semantic results. What I require are the things that I need to know before going into implementation of the system. My purpose is to do semantic search in the Holy Quran....

node.js golang composite architecture for web application

node.js,amazon-web-services,web-applications,amazon-ec2,go
I am currently architecting a web app that will use node.js for basic routing. Some parts of the app are more processor intensive and I wanted to use golang for those parts. However, I'm not sure the best way to install and communicate between the two languages. I'm using Amazon...

filtered index or indexed view for Soft-delete with deleteAt dateTime column?

sql-server,web-applications,soft-delete,indexed-view,filtered-index
We use a deleteAt column to specify whether something is active or (soft) deleted. Which technique is best going forward for querying active contents? Would a filtered index on the actual table better, or an indexed view with deleteAt is NULL? Is this a good use case for indexed view?...

What is good way to store big JSON objects in couchDb?

javascript,web-applications,couchdb,offline,pouchdb
I work on a web app which store projects data. Data are saved in a couchDb database A. The app pull and push data with a local pouchDb database B, which is sync with A. So the app can also work offline. When user has connection back, changes made on...

tomcat: deploying a webapp which is accessed via browser without context root name

tomcat,web-applications,web-deployment,contextroot
(Sorry for my english, please correct if somethings are wrong). I have a webapp (spring mvc 4 application) which code is placed in tomcat-7/webapp/mywebapp/ folder. Webapp is accessed via browser with url http://my-web-app.loc:8080 (i.e. without context root name mywebapp after port number). I have following setups in tomcat-7/conf/server.xml: <Host name="my-web-app.loc"...

How to signal other users with JavaScript in real time every time a change has been made?

javascript,php,jquery,web-applications
I want to make some real time action with JavaScript, so all users could be signaled from the changes in the web-app in real time. I use PHP to store the information that is changed, and which must be displayed for all the users whenever it is changed. I have...

What to do when you want to create your first java web application?

java,java-ee,web-applications
So i want to create my first web application. But there is simply too mush choose to know where to start i keep jumping from one thing to another. The first thing is which ide should i use: is one better for web development than another or is it just...

route infrastructure for webapps - express

ajax,http,web-applications,express
I'm very new to this topic, so please excuse me if this is an obvious question. From my understanding traditional webpages (VS kind of modern webapps) provide specific routes like www.example.com/path1 to serve specific pages. Lets say on this route there might be some parallel DB queries to resource1, resource2....

How to deploy a java application as root in tomcat without allow access to other webapps

java,tomcat,web-applications,deployment,root
I have a java application.war and I copied the file to tomcat7/webapps directory. I'm able to access it with www.application.com/application (My domain points to ip 200.xyz.12.jk:8080) BUT I want to access it through www.application.com (without the name of the folder inside webapps directory) Also i dont want to allow access...

Load resource file outside jar

web-applications,jar,classpath,classloader,web-inf
I have created a jar which contains a class that loads an external resource file from class path of my web application. My application is running on resin server. I have deployed my jar in web-inf/lib and my resource file is in web-inf/classes folder. Now the resource file is being...

Is it possible to build a web application with only client side languages?

javascript,web-applications,point-of-sale,web-database
Is it possible to build a POS (point of sale ) web application(local host) for my shop with only client side languages (HTML,CSS,JS) with integrated database (mysql,sqlite ..etc)?

Using Javascript library(jsPDF) with Ruby-on-Rails views

javascript,ruby-on-rails,ruby,web-applications,jspdf
I am new to ROR, JS and for web techs overall. I am trying to build a simple ROR app where i want to generate a PDF file at client side. I found this javascript library suitable for my purpose. I installed this dependancy using bower. Now I am not...

How can I create a android app from laravel web application?

android,laravel,web-applications,mobile-application
I would like to ask if there is a possibility to create an android app based from the laravel web application? I don't know where to start, and give me some suggestions for creating a mobile app? Thanks,...

Template script to make it visible only to admin on shopify

javascript,php,web-applications,shopify
I would like to make a template on shopify visible only to admins. I can make it visible to customers only, but need a code for admin only now. The code for customers I use is: {% unless customer %} {% if template contains 'customer' %} {% assign send_to_login =...

Special Characters in json file

android,json,google-chrome,web-applications,homescreen
So i'm trying out googles add to home screen function and I'm trying to get the title of my web app to display a special character in it but don't know how. { "name": "aésmé", "icons": [ { "src": "img/icon.png", "sizes": "192x192", "type": "image/png", "density": "4.0" } ], "start_url": "index.php",...

Generating a random number between a range with a weight/bias?

javascript,web-applications,random
I am trying to generate a random number between 1 and a maximum. This I don't have a problem doing so and do so with the following: var max = 200; var randomNumber = Math.floor(Math.random() * max) + 1; However in an ideal situation I would like to generate a...

Slow Tomcat Webapp start when lots of files in WEB-INF

java,apache,tomcat,web-applications,web-inf
I've got a Webapp with a lot of files under the WEB-INF folder (1000s). When it starts or restarts it takes a long time > 10s even with Jar and TLD scanning turned off. I even created a custom JarScanner class that does nothing which made no difference. What else...

Back button behavior in AngularJS apps

angularjs,web-applications
This may be a very basic question but I hope the gurus here at Stackoverflow will be able to provide a comprehensive and educating answer. When I press the back button in my angular app, are the controllers fetch data from the backend again? And is that possible to avoid...

Running Scala Map Reduce code using a web app

scala,hadoop,web-applications,mapreduce
I have a specific requirement where I have to write few hadoop MR code in scala and then to fire those codes using a web-app and then finally show the results in a web page. Is this possible ? If yes is there any framework which I can make use...

MVC Web application architectural concern

c#,asp.net-mvc,web-applications,architecture
I have inherited an MVC application designed along the above project structure. the application uses the Unity framework for dependency injection, and the user interactions go upstream to the database in the following order View -> Controller -> ViewModels -> Repository Services -> ORM -> Database The infrastructure components...

Displaying statistics collected by Moskito-central

java,web-applications
I wonder is it possible to show statistics, collected via Moskito-central, via Moskito inspector diagrams/charts? In default MoSKito-inspect shows information only collected from the last client application startup, but I need to see some older data. May be there is some import functionality (e.g. from json or csv) in Moskito-inspect,...

How to enable Design View in jsp file in Web application project in Netbeans?

jsp,java-ee,design,netbeans,web-applications
I'm working on a Web application project and I've added a jsp file but I can't see the Design View. I don't know if this feature has been removed in new versions, but here here's a pic of Design View in a jsp: How do I enable it? thanks....

How To Update a Web Application In Azure and Keep The App Up the whole time

azure,web-applications,azure-web-sites,azure-deployment
I've a MVC Web Application (.NET) and from time to time I need to upgrade the deployment version on Azure, the problem is that I have customers that are using the Web-App and I cant take it down and make it unavailable. There is a way to deploy a new...

How to embed C#.net console application in Web Application ASP.net MVC [duplicate]

c#,web-applications,console-application
This question already has an answer here: Starting multiple projects when debugging in Visual Studio 2010 1 answer I know that my question is wide and I am seeking for hints and keywords that would push my research forward. I have checked the following links Embedding a DOS console...

How to quit iPhone webapp programatically

ios,iphone,web-applications
I want to make a couple buttons on my iPhone to control my stereo. I thought I might be able to do this by putting a couple webpages on my homescreen that issue stop, play, next, etc requests to my media server that quit shortly after being opened. Is there...

How to add command line argument to a web application(Spring MVC)

web-applications,wsdl,cxf,command-line-arguments
I'm working on a web project that uses Apache CXF and web services, which i use to hit a request to server and get the response back. The server(Actually the service provider) had given me some username and password. Now, when I run my request as a java application...

Can't open web applications when I double-click the project file

web-applications,visual-studio-2013
I'm not able to open my web applications for some reason. When I try to open it I get this: I AM able to open Windows Form Applications without any problem, but somehow I can't open web applications. I'm using Visual Studio 2013 UPDATE: So apparently I'm able to open...

Dummy web application for penetetration testing ethical hacking

web-applications,owasp,hacking
i am searching web applications, on which I can try my pentesting skills for my Thesis. Maybe OWASP offers some, but I cant find any. Does someone have an idea? Greets...

Bad Operand types for binary operator '/' first type String second type int

java,jsp,servlets,web-applications,javabeans
New to javabeans so please forgive me if this is simplistic: Getting this error while writing a javabean page. The code basically asked to add 7 values together and then divide the total by 160. Code is: public String getAverage(){ return (Str1 + Str2 + Str3 + Str4 + Str5+...

Scaling web applications with requirejs

javascript,web-applications,requirejs
I am building a js application based on RequireJs. Everything is working fine except one thing, after compiling it with r.js application is around 2.5Mb. And it does not have yet all the functionality available, i mean there is still room to work inside. And i am afraid that the...

Mobile Chrome home-screen webapp won't open index.php

php,android,html,web-applications,iphone-standalone-web-app
I've got a single webapp in a html/php file called index.php along with JS and CSS files. When you type in my domain, it will load the index.php file just like it normally would, but I would like for users to add this to their home-screen to use like an...

Submit and hide all labels with a containing form chekbox checked

javascript,jquery,web-applications
I'd like to create a function that that submits all the formularies with a checkbox checked and hides with their respective div tags I put the following code as an example <html> <script> //the jquery function to submit all forms $(function () { $(".formerasemessage").each(function () { var par_div = $(this).closest(".demo");...

Access token validation

security,facebook-graph-api,web-applications,access-token,facebook-access-token
In my application I want to implement facebook graph like security.So Access tokens are created at server side and then they are send to client at the time of login.After that when client make request then the access tokens are appended at the request header. But at server side how...

How to add comments feature to posts in a flask web application

python,web-applications,flask,sqlalchemy,flask-wtforms
I am developing a web application with Flask.I am confused how to add comment feature to posts in a web application. Parts of my database models are a give below class Post(db.Model): id = db.Column(db.Integer, primary_key = True) title = db.Column(db.String(140)) body = db.Column(db.String(2000)) timestamp = db.Column(db.DateTime) user_id = db.Column(db.Integer,...

How to create a webapp using android studio?

android,templates,web-applications,android-studio
I have tried using webviewer, using a tutorial only to discover that it opens the url in the web-browser. How do I create this app so that it displays a website inside the app? Would I need to set it up to use html5? then throw in an iframe? Any...

Getting application folder path on MeteorJS?

javascript,web-applications,meteor,filepath
In Meteor I've been looking for a way to get the home folder of the running Meteor application in Server. For example, if my .meteor folder is in C:/Users/Me/Repos/MyWebsite/.meteor, is there a way to get the path C:/Users/Me/Repos/MyWebsite/, or where ever the app is currently running at? The reason I...

How do you include a HTML file in c

php,c,web-applications,g-wan
I am currently using g-wan for myweb server and would like to know How do you merger multiple HTML files, in c for HTML? In php I t would be <?php include('/path/to/file.php');?> How would you do this in c for gwan?...

How to retrieve “Grouped” items from HTML form using Servlet?

java,html,jsp,servlets,web-applications
I am having an issue with retriving "grouped" data from HTML form to servlet. I will describve the scenario below. In companies, they record the salary of the employees once a month.When they record it, they do not do it by visiting each an every employees personal "profile" (or whatever...

Modular form-based Java web application with pluggable modules for each year

java,java-ee,web-applications
I have a conceptual design for a web application in my head, but I have no idea if it's possible to implement it with current frameworks. Basically, what I'd like to do is have a "core" web application that can be deployed as a war. Then I'd to be able...

Start-WebAppPool for Powershell 2.0

powershell,iis,web-applications,scripting
I'm experiencing a problem: I need a command to use on two different shells that gives me the chance to restart a web pool appliction, but only one of these shells is 4.0 (and has the command Start-WebAppPool) and the other one has Ps 4.0... What I'm supposed to do?...

A easy way to pass parameter back and forth in every page in ASP.NET

c#,asp.net,web-applications,webforms
I want to pass an id back and forth in every page. I can not use session, application variables and database since I want it is base on page. Hidden field if a form exists or url concatenation are what I can think about. Is there an easy way to...

Yii console app - Class 'Guzzle\Http\Client' not found

web-applications,yii,console-application,guzzle
My configs: /trunk/common/extensions/Api/Api.php /trunk/vendor/guzzle webapp config: /trunk/members/config/main.php ... 'components' => array( 'api' => array( 'class' => 'common.extensions.Api.Api' ) ... ) ... console config: /trunk/console/config/main.php ... 'components' => array( 'api' => array( 'class' => 'common.extensions.Api.Api' ) ... ) ... Client.php namespace Guzzle\Http; Guzzle was installed via composer. When I run the...

Adding multiple divs or renders in ReactJs

javascript,web-applications,reactjs,react-jsx
I'm having trouble in wanting to create multiples of the same html that I render in a certain class. For example, I have a div that might look like this [Header goes here, is a input field] [Dropdown] [TextArea] [Submit] [Add another field] On add another field, I would like...

'This file cannot be downloaded' when trying to access ics file in homescreen web app

javascript,ios,web-applications,safari,homescreen
I have a web app where, when user submits a form, iCalendar .ics file is generated server-side and sent back to client with following headers: 'Content-type': 'text/calendar; charset=utf-8', 'Content-Disposition': 'inline; filename=calendar.ics' While doing this on iOS in Safari browser, the file is processed correctly (event is added to Calendar), but...

ExecutorService - How to wait for completition of all tasks in non-blocking style

java,multithreading,web-applications,executorservice
I am using ExecutorService in Java web server application for executing some computational tasks in parallel style and then calling shutdown() with awaitTermination() to wait for all tasks to be done. Whole computation can sometimes take dozens of minutes. The thing is awaitTermination() method blocks the main thread until timeout...

Uncaught TypeError: Cannot set property offsetWidth of # which has only a getter

javascript,angularjs,web-applications,angularjs-directive
I'm developing a web app with angularJS. I had an error which appeared from nowhere, it was working fine and I really don't know why it doesn't work anymore. So it's in a directive, I try to set property offsetWidth of an element in directive html template. Since I really...

Hosting a Web Application

heroku,web-applications,web,dns,hosting
I have a quick question regarding hosting web applications. I've recently started getting into hacking so I just wanted to understand them a little more. I am aware that to host websites you need to pay for a domain name, as well as a hosting service. So let's say you...

Persist Data-URL into database

javascript,sql,web-applications,blob
I am getting images encoded as Data-URLs from a third party in javascript. I need to persist this images on my server. As I see it I have two options: Converting the Data-URLs into Blobs, and save them into my database. And when I use them in my html code...

Best Backend language to build a Web application? [closed]

php,ruby-on-rails,spring,web-applications,backend
I want to develope a web application like POS.Which one will be best backend to that one? I have some what knowledge in Ruby on Rails.Whether i have to consider PHP and Java Spring

Meaning of domain, application in URL

java,web-applications
what is the meaning of the "abc", "def" in the URL: http://abc.def.xyz.com . I understand xyz is called domain. I read somewhere abc is an application. How can i configure like this and where is it made? In a Java webapp, is it made in web.xml since i have not...

How to Use web Handlers for PDF creation?

c#,asp.net,web-applications,ashx,aspx-user-control
I have pretty less knowledge in web handlers. all i know is web handlers are used for creating some dynamic file creation purpose. and also i know how to add the Web handlers. But, i need to use web handlers in my Asp.Net project for PDF creation purpose. Anyone have...

How do I search Instagram's api for emojis

web-applications,instagram,instagram-api
I'm trying to make a call like $url = 'https://api.instagram.com/v1/tags/'.$tag.'/media/recent?client_id='.$client_id; but where the $tag is I want to pass in an emoji in order to get results back for emojis. I've tried ..... $tag = 'U+1F601'; $tag = '\xF0\x9F\x98\x81'; $tag = '\x{1F601}'; Any help would be appreciated...

HttpWebRequest.GetResponse methods throws 404 exception

c#,asp.net,web-applications
I want to download one image from url using console application. I have used following code: string sourceUrl = "http://i.ytimg.com/vi/pvBnYBsUi9A/default.jpg"; // Not Found //string sourceUrl = "http://i.ytimg.com/vi/OrxZAN1FZUY/default.jpg"; // Found HttpWebRequest request = (HttpWebRequest)WebRequest.Create(sourceUrl); HttpWebResponse response = null; try { response = (HttpWebResponse)request.GetResponse(); } catch (Exception) { } Above code throws...

Distributing code to multiple locations

php,batch-file,web-applications,windows-server-2008
bit of a theory questions leading to possibly a bit more practical. I currently have a web application developed using PHP within a codeigniter framework. The application is now in use by 5 separate customers each with their own specific amendments that extend the base/core code I have created. I'm...

IIS Express Does Not Seem to Be Picking Up Changes to applicationhost.config

asp.net,.net,visual-studio-2012,web-applications,iis-express
I followed the accepted answer to this question to try to get my .Net web application to run under a specific set of credentials when debugging locally via the IIS Express server running on my machine, however, I can't seem to get the changes to pick up. Admittedly, I have...

Java Simple Email Program in Eclipse

java,email,web-applications,send
I want to make a simple program where you can send email from the Command Line. I found this tutorial, ' http://www.tutorialspoint.com/java/java_sending_email.htm ', however the downloads don't. So where can I get JavaMail API and Java Activation Framework (JAF) and how would i put it in my class path. Basically...