web-applications

Explicit directory for JSF template files

Hi everybody, I'm just getting into Seam/JSF development and looking for a way to lookup the XHTML template files from a different location. When configuring the JSF application like this: <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> </servlet> <servlet-mapping...

How can I make a javascript/jQuery countdown that is only visible after X minutes?

Hi folks, After the users have been inactive for X minutes, I need to display the number of minutes left till the session times out in ASP.NET. For e.g. after 5 minutes, they will see 'You have been inactive for 5 minutes. You will be logged off after another 10 minutes'. Each minute after that, the message will be updated. I found a...

Maven: Customize web.xml of web-app project

Hi all, I have a web application Maven project, and I want to customize the web.xml file depending on the Profile that is running. I am using the Maven-War-plugin, which allows me to define a "resources" directory, where the files may be filtered. However, filtering alone is not sufficient for me. In more detail, I want to include (or ...

authentication system requirements for a stand alone web app

What should my authentication requirements be for a stand alone web application that will not integrate with any other applications? I know that I will need to have the following features, but am I missing anything? unattended password reset lock account after multiple failed login attempts roles for different kinds of users log all l...

Can My Web App Implement User Login and Remain Stateless?

We have a web application that is stateless. We are using http authentication over SSL/TLS. The user's browsers are presumably storing authentication credentials (possibly even after a browser shut-down if they configure their browsers that way.) We validate them on every access. For reasons mostly having to do with usability, we wou...

How to implement an online audio library (store audio in database or file)

Hi there, Can anyone shed some light on how to implement an online audio library? In my project, the audio files will be wav files, and they are short in length (a few seconds max). Should I put them into the database or just leave them in the file system? I'm thinking when I play them back in the browser, I have to write them in a fil...

Packaging java web application as exe

Are there any free tools using which I can package my war (java web app) and tomcat as exe ...

phonebook iphone webapp

Hi, is it possible get all phonebook of iphone with a web application?? Best regards Samantha ...

Best practice for a java based distributed system

Dear friends, I need an advice for best practice for a distributed system architecture. I need to use Java and MS SQL server 2008. The main program flow I as follows: New data is loaded into the database, usually from external process or via ETL. A main process should monitor periodically for new data in the database. Once new data i...

How to run a scheduled task in Websphere 6.1 clustered enviornment

I would like to run a background task on some interval from a web application I have deployed on Websphere 6.1 clustered environment. The task will access a database, send emails, and write to the database. I was thinking about kicking off a thread when the web app is first loaded, as suggested here: http://stackoverflow.com/questions/7...

Java/JavaScript and frameworks

hi using html5/css3/javascript with some frameworks as sproutcore/gianduia as apple recommend for webapps developing (like apple's iworks.com, mobileme.com) is better or java?could i develop mid-scale webapps by javascripts especially that is mainly client-side language? is java better in server-side and OOP? thanks ...

Reference architecture for monetizing a web application

Hello, Can anyone point me to a reference architecture or use-case model for monetizing a web application (implementing billing, licensing, subscription.....etc)? I hear about SaaS often, but I'm not sure how that could be utilized. Thanks, ...

Forms on an ASP.NET page

Hi, I have a website that was designed by a third party and contains several form, the forms are not nested so the HTML is valid. Now I am trying to port this HTML into an ASP.NET page. The controls in some of the forms require AJAX extenders (some Textboxes with Autocomplete) and I end up having Forms in Forms. The browser does not com...

Does a war file size affect in some way the application and/or application server performance?

Hi, we've bean struggling here at work by somebody suggestion that we should decrease the size of our war file, specifically the WEB-INF/lib directory size, in order to improve our production JBoss instance performance. Something I'm still suspicious about. We have around 15 web apps deploy in our application server, each about 15 to 2...

Problems with Too many connections

I am using GM_xmlhttpRequest (greasemonkey xmlhttpRequest) to communicate with my app. Every half second it sends some json to update the status of a page. I am running 3 pages in FireFox. Using netstat -a i got these results. This is over 200 lines. Why am i using so many ports!?! How can i... not do this? and still communicate with my...

Protect jQuery function from outside access

I'm using jQuery in an app which registers user clicks to perform a given action through the .click() binding, and I want this functionality to be available only through a user mousedown. One of my friends pointed out today that it's possible to run $(element).click() from a javascript terminal in Firebug (or something similar), and achi...

Disabled format-detection for iPhone/iPad webapp not working

Hi there. I have a webapp that displays many long numbers recognized as telephone numbers on iPhone / iPad. I used the meta tag mentioned in apple's reference to disable it: <meta name="format-detection" content="telephone=no"/> But this does not work if i load or reload the page normally. When I am reloading a part of the page with a...

what are the must have functionalities for a web shop (shopping cart)

what are the must have functionalities for an e-commerce web shop? e.g. unlimited categories and sub categories multiple categories per product multiple product images product consumer ratings and comments payment gateway integration delivery service integration Best Sellers Newest Products List discount facilities promotional facilit...

Add file.html to dashcode

Hi, I work with dashcode. I write other file html inside to my project but i don't undestand how to modify this file grafically, only index.html is modificable. best regards Samantha ...

How to cross-domain identify a user with third-party cookies ?

Hello, I am doing an internship in an ad-targeting startup. We have publishers in our network that can display ads we send them. Currently our system is able to analyze the behaviour of a user whenever he visits one of our publishers. On the publisher's site, some javascript code creates a user ID. This javascript code stores the user...