web-applications

Setting Struts2 Action members from jsp ..

I have a html form with action attribute pointing to struts action Here is a JSP <s:select name="roleId" id="roleId" list="roleMap" headerKey="" headerValue="SELECT" theme="simple" value="%{roleId}" cssClass="dropdown_menu"></s:select> It generates html like <select name="roleId" id="roleId" class="dropdown_m...

Get users number from iPhone using HTML5/jQuery

Is there a method for getting the iPhone users phone number using HTML5/jQuery? All I see is how to do this with the SDK. EDIT: So far the only thing I've found is on the initial install ask the user for their number and store it. ...

iPhone WebApps, is there a way to detect how it was loaded? Home Screen vs Safari?

I have an iPhone Web App. I'm interested in detecting if the app was loaded either from: 1. iPhone Safari 2. iPhone installed web app (via the add to my homescreen) which loads without the safari bars. Any ideas? ...

local software using web technologies

Is it possible to write a local software (read/write local files) using web technologies such as google web toolkit? ...

iPad doesn't trigger resize event going from vertical to horizontal?

Has anyone noticed this behavior? I'm trying to write a script that will trigger upon a resize. It works fine on normal browsers, works fine on iPhone, but on iPad, will only trigger going from horizontal to vertical viewport, not vice versa. Here's the code: $(window).resize( function() { var agent=navigator.userAgent.toLowerCase...

dynamic data customizable

Can we customize our data dynamic project according to our clients requirement? Our Client has experience in old technology like web forms and they want same behaviour of application like in old technology so question is that can we easily customize according to requirement ...

jqTouch/JavaScript alerts - how to remove the title?

Looking to have some alerts/prompts pop up in my iPhone web app but I see the Title is at the top of the alert (I understand this is the normal behavior). My question is can I remove this? or use an alternative solution. Looking for something that looks like the push notification alert but in JavaScript. ...

Stack overflow exception in compojure web project

Hi I've been playing around with clojure and have been using it to build a simple little audio player. The strange thing is that sometimes, maybe one out of twenty, when contacting the server I will get the following error: 2010-04-20 15:33:20.963::WARN: Error for /control java.lang.StackOverflowError at clojure.lang.RT.seq(RT.jav...

Iphone web application

Hi All, I am developing a iphone web application. I already have a website designed using php and mysql. how I can convert this website to compatile for iphone. pls share your thoughts. Thanks ...

What makes good web form styling for business applications?

Styling forms (form elements) is something that even Eric Meyer prefers to avoid. However, most business forms, and that is where styling is at issue; 'contact us' forms are easy to style, put window estate at a premium, with more 'document level' (e.g. invoice) fields, plus 'detail level' (e.g. invoice line) fields. Factors I often ...

Web Applications Development: Security practices for Application design

Hi, As I am creating more web applications that are targeted for multiple users, I figured out that I have to start thinking about user management and security. At a glance and in my ideal world, all users belong to a group. Permissions and access is thus defined per group (and inherited by the users of that group). Logically, I have m...

HTTP Push on Heroku

What would be the best approach to creating an application on Heroku that has the capability to push data to the client? I have looked at Juggernaut; however, it requires Flash and I am not sure about it actually running on Heroku. Any help would be appreciated. ...

tipfy for Google App Engine: Is it stable? Can auth/session components of tipfy be used with webapp?

I am building a web application on Google App Engine that requires users to register with the application and subsequently authenticate with it and maintain sessions. I don't want to force users to have Google accounts. Also, the target audience for the application is the average non-geek, so I'm not very keen on using OpenID or OAuth....

Which video format(s) should a webapp serve?

I need to put up a few videos on a Webapp and I'm a bit lost. My requirements are: DRM is not a concern at all it should work on the iPhone (and iPad) and on the main browsers (Safari, Internet Explorer, Firefox, Opera). it is not a problem at all if the video doesn't play on Linux (because it's a video/screencast of a Windows/OS X so...

Execute a Application On The Server Using JavaScript

I have an application on my server that is called leaf.exe, that haves two arguments needed to run, they are: inputfile and outputfile, that will be like this example: pnote.exe input.pnt output.txt They are all on the same directory as my home page file(the executable and the input file). But I need that a JavaScript could run the ap...

Format attribute of <bean:write> tag in Struts

Hello All, I am developing a web application using Struts 1.2.7 I want to print a list of integers using the tag. I searched and found that the format attribute is used to print the desired result but was unsuccessful. What should I pass as the value in format to print 3 digit integers/floating point numbers. The code sample is as fo...

how to version minder for web application data

hi all;I'm devoloping a web application which renders data from DB and also updates datas with editor UI Pages.So i want to implement a versioning mechanism for render pages got data over db again if only data on db updated by editor pages.. I decided to use Session objects for the version information that client had taken latestly.And ...

Web application starter kit

I am looking for a site that allows you to input a project name, choose a doctype, a js library etc. and then generates the directory structure and files to start a web project. I know about project deploy, but it is no longer maintained. There was a new one that was created within the last 2 or 3 months, but for the life of me I can't f...

Where should I set generatePublisherEvidence to false in an asp.net app?

To reduce the loading time this blog suggests we set generatePublisherEvidence to false in the app.config for executables. <configuration> <runtime> <generatePublisherEvidence enabled="false"/> </runtime> </configuration> Where do I set it for web apps? The blog suggests that this does not go to the web.config. Whe...

How to process request with chain of webapp.RequestHandler

GAE webapp allows to map single handler to a route: application = webapp.WSGIApplication([ ('/login', gae_handlers.UserLogin), ], debug=True) Is there any way I can have a chain of request handlers? I want to have handler which does authentication before all ot...