web

Creating REST Web Services with Python

Hi guys, Is it possible to create REST Web Services, that returns JSON or XML, using Python ? Could you give me some recomandations ? Thank you. ...

prettyPhoto Loading Photos in Reverse

For some reasons, unknown to me, prettyPhoto is loading images in reverse. It opens the last picture first and then as you can guess, you're given the option to see the previous photo all the way back to the first photo. I've setup prettyPhoto according to the documentation however I'm not getting the desired effect. Not sure what I'm do...

uiwebview can not open link

In the sdk sample code UICatalog, if i build in iPhone 3.2 or iPad, it can not open some link in www.baidu.com, but it work in ios4. Is there someone know why and how to fix it? ...

What is the recommended strategy for input box hint text (such as "Search" overlayed on a search box)?

Many pages have a search box to them which will typically have the overlayed text "Search" which disappears when one focuses the element and reappears when focus is lost. I'm curious to know what people recommend as the best strategy for this. The strategy I've employed is to use the focus/blur events of the input element and test the c...

i m using web parts in asp.net i have issue when i click desgn,catalog and properties mode?

The specified display mode is currently disabled on this page. Make sure personalization is enabled for the current user. Parameter name: value ...

How to set up Git as VCS on windows workstation/server for web projects(ASP)?

Hi Guys! We have 5 people in the team working on some ASP projects. There's one local server in LAN running Windows Server, we don't use it much just make it as a storage for backup. And we also have a remote server running Windows Server as well. We publish our final product there and use Remote Desktop Connection to work on it. Our...

Large web projects created in Python

Please list large projects that are made using Python that you know. Please give urls of sites. ...

django with twisted web - wgi and vhost.

I have a project which has a directory setup like: myproject someapp sites foo settings.py - site specific settings.py - global I am using twisted web.wsgi to serve this project. The problem am I running into is setting up the correct environment. import sys import os from twisted.application import internet, s...

CSS - "Reverse" Floating of Elements - how keep them at the bottom?

Hi there I'm currently facing an interesting CSS issue for which I couldn't find anything related on the web. I know it must be solvable, perhaps you guys crack the nut.. (?) Following problem: I need to display some icons in front of an image positioned at the bottom left. As the number of icons can vary, the icons are floated next to...

Importing WAR file in Eclipse. Name's cannot be empty.

I need to create an web app and was following this tutorial at IBM: http://www.ibm.com/developerworks/data/library/techarticle/dm-0509cline/ However, whenever I try to import the LowFareAir.war file in Eclipse I keep getting the message "Name's cannot be empty" and it doesn't let me continue. I'm a complete beginner to this, am I doing...

Java servlet as proxy for Apache web server

I have an apache webserver that is used to serve php and static web files. In order to use active directory authentication i've written some code that can connect to AD through JNDI and authenticate usernames passwords and groups. What I would like is to map all requests to pages in apache through my servlet in order to make sure that a...

parameters names are appearing as string,string0,string1 on weblogic webservice standard testing home page

Hi I have webservice which takes 2 input string and dispalys them. I have created webservice in eclipse with axis 1.3 (using a simple java class) I am testing this web service with weblogic 8.1 on weblogic webservice standard testing home page. But when i test this web service : test page comes up with 3 columns Parameter Java Type ...

What is the cleanest way to center a div absolutely (H+V) inside a browser window?

I need to build a webpage of just a humble content (a logo and some text) to be show in the center of a browser window. How do I best achieve this effect targeting today web browsers? ...

Custom JSP Tag processor is caching a dated property, so the page shows old data and don't update, how to avoid this?

I made a custom jsp tag that search a historical value on a database an render it on the page. The attributes that the tag requires are the variable name and the date. The problem is that the 'date' property changes according clock move on ('date' points always to the last hour), but the JSP Tag processor's (jasper2) pooling system don'...

Spring WebFlow: Problem recording in several stages with Spring WebFlow

Hi all, I realized the registration process into several steps of a user in a site with Spring WebFlow, but that does not work well. The Problem is, when the user being in the second form the button "return" (first form) clicks, all data from the first form, which have been entered disappear, ie are no longer there. Someone can have an...

Is it good practice for a website to use its own API?

Is it good practice to develop the API while developing the site so the site itself actually uses the API? Or is there a performance hit if choosing to do this? For example, does anyone know if mature sites such as Facebook or Digg use their own API to CRUD (Create, Read, Update, Delete) or do they have their own backend? Thanks ...

Design choice when implementing an EXE in a web execution model

I'm designing a component to be run as a backend of a website. The component will take care of some AI logic, and I'm building it under C++. Would it be best if I let each session start a new EXE address space, or the EXE would be up and running and each session will start a new thread? Or is there is any better suggestions alltogether...

What kind of role does static class play in web application?

Hi all, if I have the following class, will I run into a problem if 100 people are requesting the page at the same time? If there is only one copy of UpdateUser, will all the requests have to queue up and wait for their turns? Thank you. public static UserManager { public static void UpdateUser(int UserID) { // this...

Authentication of web part page in web 2.0

Hi everyone, i am new for creating web part page.Recently, i am facing a provlem in developing web part page. in my local, all my web part page is running smoothly, but while i copy my web site and run in a IIS, all my web part is missing and the display mode only "browse". FYI, the scenario is in the web site, all public user is allo...

JAX-WS return empty lists

I'm new in web services. I have faced some problem. At the server side i'm using spring-ws. At the client side i'm using jax-ws. With wsimport tool i have generated java classes according to my wsdl. Everything works fine, but for some reason jax-ws does not parse arrays and list correctly, all lists are empty I'm absolutely sure, that...