web-development

Set and get values in session - Web Applications with PL/SQL

I have two web applications: a based in web pl/sql and another in jsp My login web page is in pl/sql from this application to access through a link on my jsp page. I want to keep the user session connected in web pl/sql and then I take it in my application jsp. In jsp for set and get values session I use: HttpSession session = request.g...

Which is the best platform to develop an external corporate website - .Net or Sharepoint.

The website needs to be equipped with a content management system and should provide for social media integration and localization. What are the pros and cons of each technology platform and when should we opt for sharepoint? ...

Exception while starting application using CouchDB

Hi! I'm starting learning some about CouchDB by the Definiteve Guide. There is example - blog system Sofa. I'm downloading it, but when I try push it, I catch exception.2010-09-19 14:38:15 [CRITICAL] 'str' object has no attribute 'update' Traceback (most recent call last): File "C:\Program Files\python\27\lib\site-packages\couchapp\d...

How can I convert CGI input to UTF-8 without Perl's Encode module?

Through this forum, I have learned that it is not a good idea to use the following for converting CGI input (from either an escape()d Ajax call or a normal HTML form post) to UTF-8: read (STDIN, $_, $ENV{CONTENT_LENGTH}); s{%([a-fA-F0-9]{2})}{ pack ('C', hex ($1)) }eg; utf8::decode $_; A safer way (which for example does not allow bog...

Pros and Cons of an all Ajax Site?

So I actually saw a full ajax site somewhere (I forget where) and thought it would be something new and fun to try. I used an old site I had built and put it on a new server. With a little bit of jquery and ajax, I was able to make the entire site work on one page load. My question is, what are some pros and (more likely) cons to this m...

Share Code between multiple PHP sites

Good evening. I found a few questions that seemed to ask the same thing I am asking, but none of the answers seems to work for me. Basically, I have a few generic PHP files (mostly classes, but some are not) that I want to be usuable by multiple PHP sites. Here is an example of my folder structure: Site A Root C:\Personal\WebSites\S...

How to make tinymce work with iframe?

When I input <iframe> with its HTML Source Editor, it's just filtered. Is there an option to make it work with <iframe>? ...

How can I structure CGI programs that move page to page?

I have a general question about Perl CGI programs. For a few applications, not using MVCs, developers write CGI programs, may be using CGI.pm or some other way they like and for moving from screen to sceen, a new CGI program is written, (with - CVS TAGS, Perl headers etc etc..). But what I feel is if there is some stuff (subroutine or b...

Form positioning problem

I have a Windows program which generates forms. It takes the Top/Left properties at form design time in the Windows program and generates HTML to display the form, using position: absolute and the original Top/Left. Now I want to split my HTML page into three panes/sections : 1) a menu bar across the top 2) the form, as designed in ...

How to upload, extract, store .csv data to server and transfer to mysql.

In short: how to put a zipful of csv data into mysql? Long: I have to create a functionality for an admin to upload bootstrap data for a java web application. The administrator should be able to upload a single zip file of csvs on the admin page. The code needs to unzip csvs and the data must be transferred saved in a mysql DB. I know ...

Handwriting recognition engine for web application

Hi friends, I am developing web application using PHP.Client wants to integrate the hand writing recognition engine to our application(Like whatever you written it needs to convert into text format).I don't have any idea on this.Could you please give some suggestion and ideas on how to integrate the engine to PHP. P.S:Open source is pre...

JSF Confirmation

Hello jsf friends, My application looks and works great so far. My users will have a lot of crucial decisions to make, like deleting or editing entities or accepting applications which causes an email. For that reason I want to integrate a common form of confirmation. And that's why I ask you: What's your favourite way of confirmation ...

How to retrieve images stored in file server?

I have a java web service through which I upload images to a file server. I want to access these images from my java web app. How can I make the image files (and eventually other static files) available from this file server? The only thing I could think of was to use Apache Http server as a proxy to my web app for these images, but th...

Direct users to web page, based upon their city.

Hii, We want to redirect our users to one of our web pages corresponding to the users city (location based upon the users ip address and using some ip location databases) My question is, how to make it work fast? for example in website gropoun, whenever the user visits, it instantly takes the user to its city page. Thanks. Edit: We ...

Pick random messages from a .txt file or a PHP page which contains the messages in a variables, and post them to another page

Hello, I'm creating a humble web browser-game in PHP. I'm making a "robbery" section... I want to greet the user if he succeeds at a robbery. Some messages like "You're the man!", "A piece of cake, it was" etc. I want more than, like, 5 different messages/notifications like this. How could I do this? how could I pick them from a .txt f...

How to get client's Geolocation (Latitude & Longitude) extremely QUICKLY ?

I am using Google Map's ClientLocation to retrieve the users geolocation (via their IP address). This is very slow because you first have to download and then load Google Maps, before it can even begin to geolocate the users IP address. Then I came across http://fwix.com/. They are doing exactly what I want, but super fast without havin...

Why doesn't this site have a Google logo for their use of Google Maps? I want to do this. How?

How can I remove (assuming it's legal) the Google logo and "terms of use" wording from my Google Maps like this site did: http://fwix.com/ UPDATE This is in fact the standard Google Map as well. Fwix calls for the map the standard way, by using http://maps.google.com/maps/api/js?sensor=false as well as the map itself even states that ...

Browser or plugin with state snapshot

Are there any browsers out there where you can save a whole window's session in a snapshot so it can be restored later (something like a Virtual Machine would do)? By "snapshot" I mean mostly saving cookies and possibly also the open tabs and their positions. A cached version of the open tabs would also help greatly. The sessions must...

Java framework that requires fewest change to html/xhtml

We are trying to find a java framework that requires the fewest changes to html/xhtml when we get it from the designer. So far to me it seems Sitebricks is the least intrusive, but it is still in alpha it seems and has been that way for a long time. Wicket seems to come in a pretty close 2nd. JSF, Stripes, and Struts requires a lot, w...

Coldfusion Error Handling Problem

In my Application.cfc, I have an onError function that works great for all errors except when the page being called has a missing closing tag. The error being thrown is InvalidEndTagNestingConfigurationException. I would like to catch these types errors as well in the application. Why doesn't onError catch a missing closing tag error? ...