web-development

Please recommend best practice for integrating apache lucene with a MVC/spring web app

I've been working on a web application using Spring/MVC which is coming along nicely. We'd like to now integrate apache lucene to index a lot of the domain objects for a user search facility. I'm undecided if I should create an indexing service that's registered within spring or do it the traditional servlet way and implement a ServletC...

Automatically Populate Objects from HTTPRequest

I have started developing my own web framework which has been coming along quite nicely. It simplifies and cators for all my specific needs. I have tried many frameworks like struts, struts 2, tapestry, spring and the list goes on. There are 2 big problems I find in all of these frameworks. The ability to work with specific business lo...

Using text/html javascript templates in production code

Has anyone implemented John Resig's micro-templating in production code? In particular I'd like to know if embedding the templates with <script type="text/html"> has caused any problems. A bit more information: here's the sort of thing I'm worried about: My users are mostly in corporate environments - could an unusual proxy server man...

What browsers support HTML 5 / CSS3

Was reading that IE9 will support HTML 5/ CSS 3 What other browsers support this? ...

Javascript - focus on calling window after a close

I want to A) open a pop up window via javascript - easy enough B) close this window via Javascript - easy enough C) ensure that the window that spawned the popup in A is focused on again when close in B. Seem to remember can do this but can't remember how. ...

OleDbPermission and ASP.NET medium trust

Hi, I'm following this document in order to run my website in a medium trust environment. My web app uses OleDb, so I need to give it permission in medium trust. I've done everything that is in that article and it's still not working :( In my web_mediumtrust.config I've added the following security class: <SecurityClass Name="OleDbPer...

Is there any way to verify that client side code that is used is the one given by the server?

In a previous question I asked about weaknesses in my own security layer concept... It relies on JavaScript cryptography functions and thanks to the answers now the striking point is clear that everything that is done in Javascript can be manipulated and can not be trusted... The problem now is - I still need to use those, even if I rel...

iPad: How to make a single swipe act like a mouse wheel scroll

I have been reading all the Apple documentation on how to handle various events with their touch screens. My problem is this: I have an iframe in my webpage. Occasionally it is overfilled (this part is handle properly with the overflow attribute) and I cannot scroll the frame. The scroll bar pops up, but a swipe scrolls down the whole w...

Timed Based Events for Website

I was wondering if it was possible to make a small script in Jquery that would change an image at a certain time. For my site, I want the image for the opening and closing of a facility to change when it opens and closes. Is this possible with Jquery or should I go with something else? Actionscript/Flash? I can't use PHP on the site......

SpringMVC - Change view when accessed by Mobile

Hi All I was wondering if someone has already solved this. I have a SpringMVC app and we are adding support to WebKit type mobiles (iPhone and Android basically) so I was wondering someone has found an elegant way of defining specific views depending on the client that sent the request. I know that a simple if in a Controller implement...

IE Javascript error checking on Microsoft virtual PC........

I'm checking IE 6 issues of a xhtml css page on locally using VPC image of Microsoft Virtual PC. IE6 showing a JavaScript error. In VPC image i doesn't have MS Visual Studio installed. Web-page has many JavaScript. How to know from Which script and where in script this error is coming?. I can know on My PC with the help of Visual St...

Is it possible to create custom crystal reports online?

I'm developing an online .Net application and I want to give my client the ability to create their own custom reports templates. Does anyone know any open source to do this or any guide on how I can achieve this? ...

HTML table data wrap

Hi, As the default behavior of a html table data is wrap the data right? But my table cell data does not wrap and when i add long text the whole table getting expand. Thanks. ...

Is a redirect less efficient than returning other types of result?

Is a redirect less efficient than returning other types of result? I ask because if my current request is asynchronous I want to return a partial with only relevant data. Otherwise I need to render the entire page. So I'm thinking of returning a redirect to an action method which will return a View. My understanding is that a redirect wi...

Best Static Photo Gallery Generator

There are a lot of static website generators out there, but most of them seem rather text-oriented (to my knowledge). What are the best image gallery static website generators? ( Note: I realize that a more general form of this question has been already been asked. I think this question is different enough to stand on its own. ) ...

Is there a web app that helps with a web dev checklist?

I was wondering if there is a website that helps with giving you a checklist for your web app, to make sure you don't miss anything!! It could be very tedious when building a large project by yourself! obviously nothing specific, just a guideline for a web app. thanks ...

Reccomendations for a Museum / Inventory management system that is web based and open source

Looking for a content management system that can be used by museum curators to keep track of inventory. Ideally there are a small set of features: Name / Description / Catalog number Searching Tools Does not need a public view. Pure internal is fine Php / Mysql backend So far the one I have found is http://www.collectiveaccess.org/ ...

What are the main disadvantages of Java Server Faces 2.0?

Hi, Yesterday I have seen a presentation on Java Server Faces 2.0 which looked truly impressive, even though I am currently a happy ASP.NET MVC / jQuery developer. What I liked most about JSF is the huge amount of AJAX-Enabled UI components which do seem to make development much faster than with ASP.NET MVC, especially on AJAX-heavy sit...

How to test browser Compatibility in Linux

I used Microsoft XP as operation system for web design and development for 1 year. But now I am switching to Ubuntu (linux). For Windows OS we have Microsoft’s SuperPreview for testing compatibility in different versions of IE. Please specify the list of such utilities or tools which provide such support in Linux, specifically for Ubu...

deploying Java web application in exploded directory outside the Tomcat server, using Eclipse

I have been using IntelliJ IDE (version 5.1) with Tomcat server (version 5.5) to build my Java web applications. I'm now trying to migrate my project to Eclipse IDE. When I run my web application from IntelliJ IDE, it creates a exploded directory inside my web application project folder and then starts the server and runs the web app. (...