web-applications

GAE User registry without Google Accounts, want to restric to specific domain

Hello, I am planning on creating an application for the students of my school, and I want to restrict user registration to emails of the form [email protected]. I would prefer to not manually create the user table and do the password hashing and such. Are there any libraries you can recommend for this? Thanks for the help. ...

What to do in "Error 404--Not Found" situation created by weblogic URL handling ?

I have a J2EE Struts app deployed on Weblogic 10.3. When clicking on one of the link it throws "Error 404--Not Found" however the same link works fine when the app is deployed on Weblogic 8.1. I have checked there is no change in the JSP code recently and JSP is copied correctly in the application directory. Please advise what I am miss...

Any web services with APIs for outsourcing webapp email?

My webapp needs to send customized messages to members and I'm wondering if there is an inexpensive and easy to use web service that would meet my needs. The types of mail I will be sending include: New account activation email (sent ASAP) Daily status report of user's account (sent anytime) Event reminders (sent at specific time) Sp...

Where is class files are used ?

Where is .class files are used ? In C#.net or ASP.net or in VB.net or only in Windows applications or only in web applications or in only console applications ...

Eliminating boilerplate codes for web applications. Is it rocket science?

Year 2010 and we still have to write boilerplate codes. Lets assume we are building an online application (it doesnt matter wherter it is fancy or not but a funtional one). We first make database design and put some business logic on it (stored procedures, unique or not etc) then we code server side and write most of the business logic o...

Graceful maintenance of web applications...

Yesterday's Stack Overflow downtime got me thinking about this a bit... I live in Australia (though this is probably true for most people in a non-US timezone) and am constantly greeted with "... is down for maintenance" right in the middle of my work day. In fact, in the last week we've had Google Wave, SO and Campfire all take turns ...

List of web apps and services utilized by startups

Startups often prefer to leverage 3rd party web services for features that are not central to the service they are providing. I would like to assemble a categorized list of these services and am hoping the SO community can help. For instance: Get Satisfaction User Voice MailChimp Campaign Monitor GitHub Codaset It would be nice to c...

HTTP Status 503 - Servlet action is currently unavailable

I am using spring source dm server version 2.0.0. I developed one application in spring/struts/hibernate. When I am running my application in spring dm server with http://localhost:8080/PatniTEMgt-v3/ it gives me error like: HTTP Status 503 - Servlet action is currently unavailable type: Status report message: Servlet action is curre...

ASP.NET Web application Initialize (First hit) takes over 15 Mins . .

I have a Web application (http://www.holidaystreets.com), it has around 120,000+ pages. Whenever we restart the server it takes more then 15 minutes for the site to warm up. I built it as 'Release', do not have any heavy stuff initilizing (i.e. Control Adapters or in APPInit). Any tips? Mystery Solved Well I spoted the problem today. T...

Is there a way to catch all keyboard input in a browser?

Is there a way to catch all keyboard input in a browser? Im guessing it would have to be JavaScript. My problem is that I have a USB Bar Code Scanner which the computer treats as a second keyboard. I dont want the user to have to click on the input box for bar codes to be entered in it. But I also want them to be able to hit key short c...

100% cpu usage in xml/xslt driven asp.net web app

The web app uses XML from a web service, which is then transformed to HTML using XSLT. The app uses a HttpModule to get the XML using AddOnPreRequestHandlerExecuteAsync. Classes Used: XmlDocument - stores the xml. XslCompiledTransform - stores the transform, is cached in Application. Asynchronous HttpWebRequest using BeginGetResponse/E...

Obtaining a new session from Hibernate for a background thread.

I'm working on a web application. Usually at the beginning of a request (through the architecture code), a Hibernate session is opened to work with DB transactions. At the end of the request the session is closed. This works great for all of our transactions, except that in one particular instance, I want to fire a thread from a request....

Hidden Features of Google Web Toolkit 2

I'm curious to find out what the obscure and hidden features of Google Web Toolkit 2 (GWT) are. If you know of any tricks/features - that are uncommon, undocumented or hidden in the Javadocs then what are they and why are they useful? My personal favorite was the StyleSheetLoader which is buried in the ShowCase application bundled with...

Download multiple files with a single action

I am not sure if this is possible using standard web technologies. I want the user to be able to download multiple files in a single action. That is click check boxes next to the files, and then get all the files that were checked. Is it possible - if so what basic strategy do you recommend. I know I can use comets technology to create...

Is it possible to complie Java 1.5 source Web Applications to 1.4?

I tried compiling my webapplication with javac – source 1.5 – target 1.4 I end up with the error: javac: source release 1.5 requires target release 1.5 Since I’m using generics and other features; when I try compiling with –source 1.4 I end up with the errors: (use -source 5 or higher to enable generics) (use -source 5 or higher to en...

Web-application configuration outside or inside war file?

A web application usually has at least one configuration file, that contains jdbc configuration and other settings. You can put such file(-s) inside a .war file or outside it. What are the cons and pros of these approaches? What is your approach and why? ...

How to change WebProjectOutputDir default location?

Hi Guys, Does anybody know, on a per project bases, whether you can set the WebProjectOutputDir in visual studio. I want to be able to have it so that when i hit Ctrl + Shift + B it automaticaly builds my web project to a specific directory, but I also need to be able to override this in my build script. Many thanks Matt ...

Using an existing database of another Rails application in a new Rails application

I'm new to Rails. I had created a Rails application earlier and also collected a few data records in the development database. Suppose, I create a new Rails application and I prefer to use the existing development database of the 1st Rails application in my newly created Rails application, how do I do that? ...

Making a facebook app

I plan to make an pretty big application on Facebook. Would it be a wiser choice to get the code working on any hosted site before actually modifying it to be used in FB? or would it be too much of a pain to make the code compatible with FB? ...

Email id in URL?

Is there any issues with having one's email id in the URL for a web application? a) Technically, is this an issue? b) Or is it some kind of convention to NOT have the email id in the URL? And rather have something like /user/:id? ...