web-applications

What is the quickest and easiest way to just build a email html page? and subscribe page?

We just want to build a very quick webpage that has two pages. One page where there is a form where a user can fill out a form and email us. Another page for users to put in their email address to subscribe to our newsletter. What is the quickest way to build this? We are familiar with most web app technologies (asp, php, jsp, perl etc...

Upgrading Visual Studio web service project says to "convert to web application."

I have a Visual Studio 2003 web service project that I have to upgrade to Visual Studio 2008. After I have run the conversion wizard, I get this message: You have completed the first step in converting your Visual Studio .NET 2003 web project. To complete the conversion, please select your project in the Solution Explorer an...

Creating a Calendar/Planner Application - Ruby on Rails...

I am considering developing an application using Ruby on Rails that is a planner of sorts. I would like to give a user the ability to see a list of days, click a particular day, and then add things like: Meals, Expenses, Events, Todos, and Exercises. Really I am doing this for me and my growing family. I am curious with how best to imp...

Get list of authenticated users in glassfish

Is it possible to get a list of all the currently logged in users in an application running on glassfish? I'm user container managed authentication, so I know the information is somewhere. I would like to display this information on my own JSP page as opposed to finding it in the admin console, but either will work fine. ...

implementing security with session variables, how it is insecure

I am doing web based projects in dotnet. Currently I am implementing security using session variables. I keep current user id and user type in session and authenticate user from these session variables (say Session["UserId"],Session["UserName"] and Session["UserType"]). Please help me understand how this could be insecure. I've heard th...

.NET: Split web application into multiple DLLs?

Is it possible to compile some code-behind (.cs) files (eg. all .cs file under a particular folder) into one DLL, and the rest into another DLL? We have some common codes and pages (aspx + cs files) that we want to use across many websites. We want this to compile into a DLL (eg. Common.dll). The rest of the files will be website-speci...

Address already in use: JVM_Bind java

Some times whenever I restart the application, which is built on Java Struts Mysql and Jboss 4.05 Version I get the error as Address already in use: JVM_Bind Only fix that i know is to restart the machine and try again, it will work. Else Some times I do Ctrl-Alt-Del and Stop all the process related to Java, some times this also works....

PHP Performance Question (readable code or not, web app)

I wondered if I should write my code clean and readable or rather small and unreadable... Or should I write it readable and then compress it afterwards when I'm publishing it on the web? Ps. I'm building a web app, the faster, the better! Thanks_ ...

How is it possible to limit download speed?

Lately I've asked this question. But the answer doesn't suit my demands, and I know that file hosting providers do manage to limit the speed. So I'm wondering what's the general algorithm/method to do that (I do mean downloading technique) - in particular limiting single connection/user download speed. @back2dos I want to give a particu...

Is there a work around for setAppCacheEnabled on WebView for an Android 2.1 application causing the app to fail?

We have an HTML 5.0 web application that we ported to Android. It's our intention to run this in a Native Wrapper. Our application uses the ApplicationCache to run offline. This works find when running under the browser. While being hosted in a WebView within a native application, after the last file is downloaded and stored in the...

Can I send a POST form in an encoding other than of its body?

Hi gang, I've Html page that looks like: <HTML> <meta http-equiv='Content-Type' content='text/html; charset=gb2312'> <BODY onload='document.forms[0].submit();'> <form name="form" method="post" action="/path/to/some/servlet"> <input type="hidden" name="username" value="麗安"> <!-- UTF-8 characters --> </form> </BODY> </HTML> As you can ...

How to initialize a web app?

My Web App will be deployed as a WAR package in a Jetty instance. It needs to perform a lot of caching before serving requests. How do I call the caching method before anything else? is the a static void main() in the web app standard? ...

"Best" language /architecture for browser-based app with ODBC and sockets? (subjective)

Sorry to ask a subjective question, but I would welcome some advice. I am an experienced programmer of embedded s/w, but haven't done much network programming, although I have done a fair bit of hobbyist PHP. Anyway, I have to develop what is probably a fairly general type of app, as shown in this crude diagram -----------------------...

Is it possible to exclude folders from a web application project in vs 2010?

I had previously asked this question. At the time I was working with VS 2008. To restate the question. I have a web application that generates 1000's of small xml files in a certain directory. I would like to exclude this directory from the web application project in visual studio 2010. With vs 2008 it was not possible. Has anything ch...

Where should i save my images that user uploads? java web application

Hello, I am saving the image at this location :- private static String photoGalleryPath = "/Common/PhotoGallery/"; I save the image at context.getRealPath(photoGalleryPath) Everything works fine, but when i clean and build my project. The whole folder of PhotoGallery gets deleted. This looks very funny to me :). Why does it delete my...

How can I add a link to an iPhone native app from website IF POSSIBLE

I have a link to a Facebook page from a website. I know I can use the URL scheme href="fb://" to open up the Facebook application from within an iPhone, but if the iPhone user does not have the native application installed, an ugly error message pops up. I would rather just send this user to the Facebook website. There's gotta be a way ...

Tools for website/web application load testing?

Before going into production, our client demands actual numbers of how many users our web application can handle. We have all kinds of features implemented including asset management (file uploads/downloads), documents import/export, various statistics, web-services etc. I guess we need tool which could emulate users form submission be...

How to get the measures of an object from far away?

I am working on an App that intends to give an accurate measure of any object (building, desk, chair, people, etc.) Using the camera (either phone's or laptop) but I'm unsure as to how to do this without using a lot of resources, would someone mind giving me some options? I'm looking for a lightweight one that can be quickly processed by...

Guide need to build a JSP based webapplication

I want do a web-application that consists of the following pages: Main, Inventory, Shopping, Login, and Report. All will be JSPs and all will be called using the MVC pattern where one of two servlets uses the RequestDispatcher to call the appropriate JSP. This uses server-side forwarding and not redirection. I have ER diagram: http://ti...

Implementing Multilingual web site using ASP.Net

Hi all, I am implementing an multilingual web site using ASP.Net. The languages are English,French and Arabic. Please note that Arabic's direction is RTL. What is the best way to implement the multilingual support. I am planning to use the .Net localization feature but the website texts are stored in DB. For the controls ( form controls...