web-development

opening site from pc on mobile

I made a web application and I can connect to it some times from another pc on the same wireless network but if i tried to open it on the browser of N95 mobile it gives me alert of "system error" is any one could make suggestions or tell me why I turned firewall off I use static IP for my pc ...

How does this Singleton-like web class persists session data, even though session is not updated in the property setters?

Ok, I've got this singleton-like web class which uses session to maintain state. I initially thought I was going to have to manipulate the session variables on each "set" so that the new values were updated in the session. However I tried using it as-is, and somehow, it remembers state. For example, if run this code on one page: User...

I know the big picture but can't put it in place

Hi, I'm interested in web development and by that I mean the bigger projects like facebook or twitter. I know the basics of java, css, php and mysql. I know there is a lot more out there. I read about it. But I don't know what the purpose is and how to put in place. Things like: Scribe, thrift, casandra, Unix/Linux, shell/perl/python s...

How to clear a bean field with Stripes.

In a JSP I have the following field: <stripes:text name="email"/> This field is in my action bean(snippet): public class CreateClaim implements ActionBean { private String email; public void setEmail(String email) { this.email = email; } public String getEmail() { return email; } public...

Partially select text inside text field

I want my script to select just a part of the text inside a text field (<input type="text"). How can I do this? ...

Looking for a lossles compression api similar to smushit

Anyone know of an lossless image compression api/service similar to smushit from yahoo? Cheers ...

How should I install web server component of our application?

I have an application, part of which is implemented as a web application (the core part is implemented in a usual manner). The serving component is a usual PHP application (it also uses Zend Framework and MySQL as database) and runs on standard Apache installations our team found in modern Linux distributions without any special tuning....

How to start a new session if a user click on the new tab in IE or mozilla on websphere portal?

I have one "user search" portlet on the home page of one application running on websphere portal server which displays the matching user records as per the search criteria filled in the search form. I have a requirement to have a "back to search input" link on the results page which on click should show the filled form on the input jsp. ...

Google Analytics Ecommerce doesn't work with Safari5

My code works with Firefox and Chrome, but not with Safari5. I'm using the Asynchronous version of GA Ecommerce Tracking. Here's the relevant part of my code: var trans = _gaq.push(['_addTrans', productDetails['orderId'], productDetails['affiliation'], rpc]); _gaq.push(['_addItem', productDetails['orderId'], productDetails['sku'], ...

Question on the MVP within GWT. (General Overview)

Hello guys, Could any of you guys give a good explanation of the MVP pattern with regards to use in a GWT application. any example i have viewed, i found it hard to understand the concept of implementing the pattern. Questions such as what is it? what does it achieve, how is it implemented and how can it be extended for future modific...

Are your redirects HTTP compliant (absolute URI)?

In the Hypertext Transfer Protocol 1.1 spec, it states for the Location header: The field value consists of a single absolute URI. Location = "Location" ":" absoluteURI An example is: Location: http://www.w3.org/pub/WWW/People.html I have coded many an app that doesn't include the scheme and domain (i.e., /th...

Execute server side code without full postback

When a user clicks a button I need to create a .bmp file on the server. After the .bmp file is created I will load it into the html page. Would Ajax be the best way to accomplish this? ...

How does Alpha Five Version 10 Rate for Web App Development

I came across this RDMS via the advert on stackoverflow. Seems to be in the vein of MS Access / Filemaker / Apex database development tools but focused on web based applications. It quotes rave reviews from EWeek and a favourable mention from Dr Dobbs regarding its ability to create AJAX web applications without coding. The Eweek rev...

What's the best way to integrate video chat into a website?

I want to make video/audio chat(both one-to-one and chatroom) available on my website through web browser, and no download or login required. My back end is php+mysql. What's the available (and free) solutions out there? What are their pros and cons? ...

Help dealing with data dependency between two registration forms

I have a tricky issue here with a registration of both a user and his/her pet. Both the user and the pet are treated as separate entities and both require separate registration forms. However, the user's pet has to be linked to the user via a foreign key in the database. The process is basically that when a new user joins the site, first...

Aborting jQuery().load()

The .load() function of the jQuery library allows you to selectively load elements from another page (subject to certain rules). I would like to know whether it is possible to abort the load process. In our application, a user can browse a list of items. They may choose to click a button which loads and displays additional information a...

What is meant by A/B testing of a website?

Please explain (with examples) what is meant by A/B testing of a website. ...

Is it Possible to publish two Websites, one in JSP and another in ASP.net with same domain name???

I want to publish two different websites one in JSP and another in ASP.net with same domain name because I am working on asp.net site and i want to add some features of jsp so i will design these features in jsp. ...

Where should I put code that retrieves model information for site-wide pieces of the view?

Background In many of the websites I work on, there's a header/footer/menu that is created from data from the model layer. This piece is present on every page of the site. Usually, it's part of the "layout", whatever that means for whatever framework I'm using at the time An example of this would be a list of categories in the page foo...

Web App for smartphones in ASPX

I have been looking around recently to try and find a good place to learn how to start making my website more smartphone friendly when it is visited by an iPhone, android, or blackberry. This is something like what Digg.com does when it is visited by a smartphone. I have found a few tutorials for PHP but none for ASPX, and all I have is ...