My goal is to install only one WAR file but to use test or production settings (for example to point to different databases) depending on the context root.
mydomain.com/MyWebApp will use production settings
mydomain.com/MyWebAppTEST will use test settings
Internally the application then should check if the context name ends with TEST...
An iPhone WebApp can be added to the start buttons on the home pages of an iPhone. This is done by pressing "Add to Home Page" within a browser page. I would like to have something that would prompt the user to let them do this via JavaScript. Is this possible?
...
Hi everyone,
Apologies if this is not the right place to ask but here goes...
What should I use to create a simple web application for our website?
I'm the IT guy for a small non-profit. On our website we have a page with a large form in which users can fill out information on an application form. The information gets sent to a MySQL ...
Hi there!
I want to disallow proxies and spambots from posting in my website. What is the best way to do so?
I've downloaded a blacklist and my first idea was to disable each of ips in my .htaccess file, but after downloading the list, I found out that it contained almost 9 million entries.
My other idea was to split each IP in 4 par...
Is it possible to share the App_Code directory and master pages with a nested application? I have a third-party newsletter application installed in my web app and I want it to share the same look and feel as the "parent" application. When I try, though, I get an error saying that the child application can't reference any of the exterio...
We currently have a asp.net website with some modules developed in VB.Net & some in C# (not just classes but also individual aspx pages and code behind). We figured we wanted to move to web application model as we need to implement CI with TFS.
The problem :
When we create a C# web application, copy the files from website & say convert...
Just looking at examples of connection pooling on the web, they all implement connection pooling on a per servlet basis. So each servlet has its own pool of database connections. My question is, why is that preferable to something like a global pool of db connections? Since a global pool is seems more efficient than a per servlet poo...
First,
the set up:
I have a script that executes several tasks after a user hits the "upload" button that sends the script the data it need. Now, this part is currently mandatory, we don't have the option at this point to cut out the upload and draw from a live source.
This section intentionally long-winded to make a point. Skip ahea...
I need to save some data preferrably when the java web application is stopped, or when tomcat is stopped. how can this be done?
Edit:
any drawback if I use the jvm shutdown hook?
...
This seems like a pretty straightforward thing to do, but I can't find anything off the open-source shelf.
Is there a solution already out there that does the following:
can be configured with an arbitrary XSL stylesheet
generates a web form based on an arbitrary XML document and the XSL
creates edit functionality in appropriate place...
Hi there,
We develop a fair number of web-based applications, most of which are hosted on enterprise servers, and not accessible via the internet.
We haven't yet adapted a standard template for our web apps, and we waste a lot of time doing design work when we release an app that is consumed via a browser. I say waste because most of o...
Hi,
Do you know a technology which can provide me a portlet-like interface?
But I do not want to use JSR 168/268 portlet specifications and a portlet container.
The reason is: My web app is a product which can be installed on the client's server (it can be weblogic/websphere/tomcat).
Packing the portlets container along with my applica...
I am building a web application in asp.net MVC and am thinking how I can get certain conditional tests to happen regularly.
Currently I am planning on having a page such as /utility/runJobs that will have a function in it that will test the whole site for dates meeting certain conditions etc..
I would then trigger this page from a serv...
All that I'm trying to do is deploy a simple web application-scoped feature that is activated automatically when you install it. Just to make sure that none of our corporate customizations were doing anything weird I even created a simple test web application feature and built it with WSP builder, but I still get the same results - the f...
I'm having an internal debate about where I should handle checking for changes to data and can't decide on the practice that makes the most sense:
Handling IsChanged in the GUI - This requires persistence of data between page load and posting of data which is potentially a lot of bandwidth/page delivery overhead. This isn't so bad in ...
A client of mine asked if I could help build him an online marketplace. Something were users are able to sign-up, and then upload items to sell.
Just wondering if there are any modules, plugins, or scripts that are available to set something like this up fairly easily.
My clients owns these forums where students trade and sell tex...
Hello,
I want to know one thing, which language Google uses for web application development, because i was discussing with my friends about this and they say that Google uses Python for web applications, but which is it?
Best Regards.
...
Hi community.
We currently have an application built with Struts 1.2. We are currently migrating it to Struts2 and are looking for a nice LGPL library of UI web components that will still exists within the next couple of years :
The cream of the cream would have been ExtJS, but the GPL license (and its subtle move from LGPL to GPL) is...
I'm developing a Java/Spring web application. The problem I'm currently facing is that I'd like to have message from message.resources shown as an attribute in an HTML.
<input type="submit" name="login" value="login" />
So instead of the hardcoded value "login" I need to the value of
<spring:message code="general.submit" /> as the v...
While this question has been asked in a variety of contexts before, I can't find any information pertaining specifically to sites targeting very large audiences - for example on the scale of hundreds of thousands or even millions of users.
When writing sites that target smaller audiences (such as intranet hosted data driven sites that h...