web-applications

Which web framework is the best for a private-cloud web application?

Our team is new to web application development. We have been developing windows/Linux based applications using Java. The team also has extensive experience with Perl. The new assignment is to develop an internal private-cloud web application. It is rather confusing looking at all the web application development frameworks: Ruby on Rail...

How to create a bot for gtalk that search for online help Java?

I have idea that for people who use gtalk especially for developers, how to write a bot that recieve question from one developer and ask other online developers for help based on their programming skills? Bot added by the user to gtalk and user will gave his/her skills at first time Then if someone ask a question application will sear...

Shaping my career.. Comments on Java for webapps..

Hello All.. This time in life.. I have the option and time to move my career into a different technology and into corporate organizations. I was doing LAMP based web programming but with no seriousness. Now I want to revamp my tech skills by learning proper enterprise technologies. J2EE was always in my mind but now I think Java is an ov...

run jetty without packaging the project using maven 2 plugin

I'm trying to run jetty without building the whole project, but simply point jetty to a folder under the target folder. Reason behind doing this is that I wish to use jetty as a static content server while i build application for glassfish. i don't want to redeploy all the time when i make a little change to a css file, for example. Whe...

PHP - Is this a good method to prevent re-submission?

This is related to preventing webform resubmission, however this time the context is a web-based RPG. After the player defeats a monster, it would drop an item. So I would want to prevent the user from hitting the back button, or keep refreshing, to 'dupe' the item-drop. As item drop is frequent, using a DB to store a unique 'drop-trans...

Share a Connection string between multiple web projects

OK I have two web projects WebProject1 & WebProject2. Both require database connectivity so this is all in a C#.NET project called Common. Now my question is currently the connection string for both is the same and at the moment it's hard coded into the DB class (In the Common project), but I want to move it out to a config file. I wo...

Web application on an iPhone - styling it to look like native iPhone app

Hi, I saw some web pages display diffrently on an iPod Touch (and iPhone) - they pretty much looked like the native iPhone apps. Think this can be done with styles and, optionally, rendering diffrent HTML on the server side, based on the user agent from request. So, how do I get this effect? And, also, is there any emulator of iPhone...

What is a better way to stream audio with Perl CGI?

Stackoverflow: For a cs assigment I am using the following code to stream audio. However, now I would like to add the ability to stream files successively, as in a playlist, how can I modify my code to accommodate this? I would like to have a text file of filenames that my script passes through sequentially streaming each. Is this ...

Storefront solutions for dynamically generated digital content?

I'm looking for the cheapest options available for offering dynamically-generated digital content (a la Carfax.com or those credit report ripoff sites). Paypal would be fine for the payment gateway, but I'm interested in avoiding from-scratch coding for the storefront application. Obviously the content variable capture pages and conten...

How do incorporate a LOCAL MLS (Multiple Listing Service) database into my website?

Has anyone created a website with MLS search/listing functionality? Currently, brain storming how something like this is done and would like to see how others have implemented this. Any advice is appreciated. Thank You. (in ASP.NET 3.5) ...

Commercializing a php application?

Say I have developed a php webapp and would like to distribute it for others to use as proprietary software. Is there anything I can do short of some sort of licence or just trusting the customer to avoid having to provide a hosted solution? Clearly if I just distribute the application to paying customers to host independently, I run t...

How to assign a JavaScript variable to Java

I'm trying to assign a js variable to java's request or session and want to access it from the server side. I dont want the js variable to be passed on in the URL. Help me, I'm seeking for a solution. Thanks in advance ...

File upload and storage handling in a web application

I am currently using php and ajax file upload to develop a web application. in a web application involves getting the files uploaded from user, e.g email client, photo gallery. This is the scenario that i got stuck. When user uploads some files but close the browser without submit, i want to delete those files and only move the releva...

How to deploy a Spring Integration app in Tomcat?

I've gone through the "Spring Integration in 10 minutes" tutorial for setting up a basic Spring Integration application. I'd like to deploy this application in Tomcat and have the input channel live on the server and send the output back to a client, but I'm having a difficult time finding any examples of this. Could anyone provide m...

How can I clean _svn folders/files from 'src/main/webapp' folder when maven2 builds webapp project in netbeans 6.7?

I have created a webapp using maven2 archetype in netbeans 6.7. when I do plain build(removing all the plugin configuration), it copies all the required files including the '_svn' folders. But I don't want those files, how can I clean _svn folders/files from the *.war file and from the exploded target folder which contains the 'src/main...

Debugging web app on the palm pre?

I have a web app that works fine on desktop browsers, but struggles on the palm pre browser (via the emulator). How do I debug the app on the palm pre browser? There doesn't seem to be any error console, dom inspector, etc... I'd expect such tools from a web-app oriented phone. ...

In a database driven web app, what should the user see when the database is unavailable?

If a web application relies on a database to serve dynamic content and that content is unavailable for whatever reason (database server down, etc.), what is the preferred method for handling this scenario? Redirect the visitor to a custom 404 page? Display the page anyway but include some sort of error message where the content would o...

Asp. Net Adrotator Control with Multiple Keyword Filter

Hi there, I have implemented asp.net adrotator control for rotating advertisements with xml file. I am filtering specific advertisements with Keyword using 1 in xml for displaying advertisements. I need to customize my filter with multiple keywords, so my filtration would be something like this 1 or 2. How can i do this? Please provi...

Best way to handle very large http uploads and downloads on the server-side

I've an upcoming project where I will need to handle very large uploads from browsers (either the classic input type="file" or a Java Applet), and looking for the best tool to do the job on the server. Theses are the things I need : low memory consumption on the server ability to save the file in its final destination on the server (n...

How to maintain state in a web app - as HTTP is stateless

I am new in building web apps and just begun learning and setting up Grails. I am planning to build an app which has a flow of 4 to 5 pages. Since HTTP is a stateless protocol, how is the state between the pages maintained usually. I am curious what is the accepted standard here, should I create session scoped objects and use them betwee...