web-applications

Access files on remote server through web framework

We have a server that's remote and we're using a google app engine frontend to search for files in our database, and then have those link to our server through http. Is there a better way to serve remote files from app engine? ...

How to get the context root directory in Java EE6 application from a POJO?

Hi, I have a JEE 6 application with JSF 2 and Tomcat 7. Now I have a POJO. This POJO should read a properties file. The properties file is is located in WEB-INF/classes. The current directory is the users home directory /home/myUser. How does the POJO get the context's root directory or some similar path, so that it can read the prop...

Linking a facebook app's page to an existing facebook business page

I have a facebook app page, and a separate facebook business profile page. The business page was created, but not by me, some time before the app and its page were created. Is there any way to connect the two pages, or import the content and friends from one to the other? The older profile page has some content; a set of friends an...

How to recycle my asp.net web application in production server?

I have made changes to my global.asax file so i want to recycle my web application to make the changes work. How to safely recycle my asp.net web application in production server? Any ideas.. ...

Date error when converting time with f:convertDateTime

Hi, I have problem with f:convertDateTime, that it seems to use the error message *javax.faces.converter.DateTimeConverter.DATE_detail* when I convert time (i.e. it should use *javax.faces.converter.DateTimeConverter.TIME_detail*). The issue, I'm guessing, is that I use a pattern, and thus it does not know if it's a date or a time that...

Who sets response content-type in Spring MVC (@ResponseBody)

I'm having in my Annotation driven Spring MVC Java web application runned on jetty web server. (currently in maven jetty plugin). I'm tryiing to do some AJAX support with one controller method returning just Strinh help text. Resources are in UTF8 encoding and so is the string, but my response from server comes with content-ecoding: t...

HTTP digest authentication for webdav and Office 2010 upload center

I have a web application that has a WebDav share for Word that uses http digest authentication. We use javascript like the following to open word documents on the in word: Doc = new ActiveXObject("Sharepoint.OpenDocuments.3"); Doc.EditDocument(url, 'Word.Document'); In office 2003 and office 2007, it works (but not 100% reliably). In...

how can a web company like that (klout) that delivers its service for free and its api for free can make money?

Hello all, I was just reading this article: http://techcrunch.com/2010/04/28/klout-raises-1-5-million-to-measure-influence-and-authority-on-twitter/ And got a question, how can a web company like that (klout) that delivers its service for free and its api for free can make money? Just curious, probably all the money don't come just fro...

Problem writing to a database on iphone in mobile safari

Hi, I have got a web app working in Safari 5 on the desktop that writes to a local storage database - not problems! Able to add, update and delete records fine. I then set the web app up on the iphone, but it seems to be ignoring all database transcattions except creating and dropping tables. It does not matter whether the app is on...

ASP.NET 4.0 IIS Registration

I have a web server running IIS 6 which has .NET 2,3.5, and 4 installed. Everytime I install a .NET 4.0 web appication the ASP IIS Registration tool is ran which is clearing out some important registry entries for EnableExtionlessUrls. We have reinstall the .NET 4.0 framework but are still having the same problem. Has anyone else expe...

Is there a web app that helps with a web dev checklist?

I was wondering if there is a website that helps with giving you a checklist for your web app, to make sure you don't miss anything!! It could be very tedious when building a large project by yourself! obviously nothing specific, just a guideline for a web app. thanks ...

Async read from nhibernate in web context

In a web application, I want to cache heavy calls into the db. So I want to do ansyc reads, store the result from read and transformation in a store and present the newest data I have available at the time of the request (sometimes stale) // that is the entry point public virtual IViewData DetailByKey(string key) { var articleDetail...

How to create a weblink to open a osx desktop application?

I was wondering is it possible to create a web link so that when a user click's on it, it will open up a OSX application - How could I make like in terminal - open myapp.app Or am I violating some OSX rule? ...

Is there a way to save a captcha image and view it later in python?

I am scripting in python for some web automation. I know i can not automate captchas but here is what i want to do: I want to automate everything i can up to the captcha. When i open the page (usuing urllib2) and parse it to find that it contains a captcha, i want to open the captcha using Tkinter. Now i know that i will have to save th...

Window application or windows service?

I want to create a popup application that will run against my sql database and Fire a popup everymorning at the user machine to ask a question. the response will be send back to the Database. Prety easy with Windows service BUT not with a POpup or Interface. How can i accomplish this? Thanks for any suggestion ...

Is this a safe way of keeping an asp.net application alive without getting recycled?

I ve started a timer to visit my application every 20 minuates in Applicaiton_start in global.asax. void Application_Start(object sender, EventArgs e) { System.Timers.Timer tm = new System.Timers.Timer(20 * 60 * 1000); tm.Elapsed += new System.Timers.ElapsedEventHandler(tm_Elapsed); } void tm_Elapsed(object sender, System.Timers.Elaps...

localstorage in html5

How Does localStorage in HTML5 works ?? I searched every where (even in SO ) to find the actual internal logic of localStorage, but I ended up with visiting some examples which uses localStorage. I haven't found any useful Answer to my question. Can Someone post me a link or explain about the working of localStorage ...

Possible to re-use flex forms?

Is it possible to use a form for both initial creation and updation based on a target url? For example, if a user goes to http://localhost/create/new can I have a flex form with empty input fields be shown, but if a user goes to http://localhost/update/1 can I have the same flex form, but with input fields filled in be shown instead? Al...

Secure authentication without SSL?

I am creating a web service for end users which will have a front-end in the form of an Adobe AIR desktop app but users will be able to access their data through the website too. User's data will be synchronized between the server and the local data store. The problem is that I cannot get an SSL certificate. Is there a way to make this m...

How to integrate flex with existing web app?

I'm having trouble conceptually understanding how to integrate flex components -- forms, charts, data grids, etc. -- with an existing web app. There are certain aspects of the web application where I believe it makes more sense to use flex -- however, I DO NOT want to replace the (html/js/java) web-app with a pure flex based app. For e...