When the application is loading on a EAR re-deployment you get a 404 error, how do we trap this issue and provide a user friendly message to the end user accessing the application.
HTTP Status 404 - /myapp
type Status report
message /myapp
description The requested resource (/myapp) is not available.
JBoss Web/2.1.3.GA
...
I'm currently working on a location-based app and I'm not sure whether I should use the Google Maps API for Javascript or the Google Places Web Service. For argument's sake, assume that both are technically feasible within the context of my app. Given that, what are the pros/cons of each? Is there a reason to use one over the other?
Tha...
I have a class that must be initialized with an absolute pathname. The thing I want to initialize it with the pathname of is a file sitting in WEB-INF.
I am using the ContextLoaderListener from Spring to set this all into motion, so I can't run Java code to obtain the path from the context and stick it where a ${whatever} could find it....
Below is an action class - I guess similar to what STRUTS uses - which is called from my servlet controller (btw, I am not using STRUTS). I am hung up on a few things.
1) Should I be passing a CommitmentItem BO/DTO/Javabean (whatever it is called) to my CommitmentItemForm instead of the request object inorder to stay MVC compliant?? c...
in Report viewver in website im not getting the print option.
i have used
ReportViewer1.ShowPrintButton =true;
but still no print option came. how to get print button over here in website reportviewer in asp.net
...
Hello,
I'm developing a web application for mobile browsers. Right now most of development is done on local machines (with local apache) and I'd like to test how it behaves in low bandwidth and even high latency environments. I don't need to use apache as there is little server side things for the moment. Do you know any good tool?
...
Here are my METAs
<META name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;" />
<META name="HandheldFriendly" content="true" />
and this is my JavaSCript supposedly hiding the URL bar (which is quirky)
window.onload = function () {
setTimeout(function(){window.scrollTo(0, 1);}, 100);
insert...
New to WAP, are there any good resources out there for WAP on Smart phones IE: Android/iPhone/WebOS/Etc...
Looking to do some dev work but don't know where to get started
...
My mate and I are designing/implementing a web based media application. It will provide media management and distribution abilities.
Long story short, as much as we want a web based GUI for users to be able to perform site functionality (CRUD) and also have an administration area to control various aspects of users there is another c...
Is there a way to expose my Spring applicationContext via a servlet or webapp so that I can manipulate and inspect the beans in the appcontext.
...
I've been looking into a legacy application with a web-based user interface. Given its age (nearly 10 years some parts) there's a lot that needs updating and re-architecting, but I'm wondering about a small point regarding how user sessions work.
In a nutshell:
The entire UI is served via HTTPS.
Users are authenticated unremarkably by...
I have a spring web application that runs in Tomcat. I must set the date and number format for my application to a special format.
Can I set the format in any descriptor to the special in my application or I can set the all system format only?
...
Hello,
I need to move my application from tomcat6 to tomcat5. The application is deployed, but I can't access it with web browser.
And now step by step:
1) Folders "work/Catalina/localhost/", "conf/Catalina/localhost/" and "webapps/" are free from files connected with my project.
2) Using tomcat-maven plugin I deploy my application a...
Hi,
I'm well aware of how to get files from the client to the server using standard ASP.NET techniques, however, I have a need to be able to retrieve data from a third party web page written in basic html and process the file data in an asp.net web application.
So if the basic html looks like this...
<form id="form1" action="WebForm.a...
I would like to understand the full meaning of the @SessionScoped annotation in a JSF ManagedBean.
I guess it is related to the http session, but still, it's not very clear to me when it starts, when it ends and if it can be interrupted.
If I leave a browser open, without activity, during 2 hours. Is the session still open?
Is ...
Specifically, are there any non-Java tools (which were mentioned here) for this purpose? Perhaps a pre-built AJAX library or deployable app?
...
I am thinking of a certain application. It should have a database driven back-end and clients can be: Browsers (Via HTTP/S and XHTML/JS), Applications (windows, mac, mobile devices) via Web-Service SOAP requests.
I thought about designing the back end in layers.
the initial layer would be the database, of course. Above it, Web Service ...
Hi guys,
I am looking for a plotting library that can be used in web applications (point and line plots are must - antyhing else is a bonus).
It might be either server-side (Python) or client-side. The more interactive graphs are the better.
I have found some solutions of course, but none of them are good enough for volume of datasets...
Im trying to create a 'tree' using and xml source with dashcode for a webapp.
My record set (as an example) is similar to a Used Car Lot:
*where I have 100 cars
*I have multiple of the same kinds of cars, but still varying makes and models
What I'd like to do is have a stacklayout/dataArrays with a a table handle something like
*Ford...
Mint.com has possibly the best category/subcategory control I've seen. It is a combination of autocomplete and a two-level menu - complete with keyboard support.
Does something like this exist as a jQuery plugin or stand-alone javascript control? If not, what approach would you use to make one. It looks like they are using YUI.
He...