web-development

Need to incorporate Timezone Selection (UTC) within Web App

Hi, I need to incorporate a Timezone dropdown selection within my web app, which I need to use within an Oracle database. I basically require the user to select their timezone and I then need to use this against time stamp info stored within the Oracle tables. Unsure where/how to build this Timezone selection list within my page - exa...

appfuse: Embedded error: java.sql.SQLException: Field 'x' doesn't have a default value

appfuse: Embedded error: java.sql.SQLException: Field 'x' doesn't have a default value ...

ActiveIndex error - suggessions needed

I have a activeindex naviagtion error, while i navigate pages using the next button. This issue is happening, when user goes to the last page again come to the front using back button and go the last page using “next “button. (Multiple iterations causing this issue) Website is acting strange. It gives following flow.. Page1-->page2-->...

Help! I get OutofMemory while Retrieving web pages.

I am retrieving the HTML from the web. I get "java.lang.OutOfMemoryError: Java heap space (repl-1:3)" ;; fetch: URL -> String ;; fetch returns the string of the HTML url (defn fetch [url] (with-open [stream (. url openStream)] (let [buffer (BufferedReader. (InputStreamReader. stream))] (apply str (line-seq buffer))))) ...

How could I post an XML file in a web context

We have a local database of our products without the price. To get the price, we need to POST an XML file containing the product ID and the credential of our company to the manufacturer. The manufacturer will send back the same XML file and will add the price in a new tag. I need to parse that file to get the price. Here is a part of t...

Should a PHP coder move to Python for scalable applications?

I am a PHP and PERL coder and lately I have started feeling that things would have been little easier had I chosen Python or Ruby as the language for implementation, more so when I think of scalability. I know about 60% of all web application are still written in PHP and includes biggies like Yahoo and Facebook. But still I would like t...

Having several data access logical components vs having just one

Hi, Say DB has three tables: Customer, Order and Products. DAL layer could use just one class ( aka one data access logical component ) to perform CRUD operations on all three tables, or it could use three different classes (aka three different logical components): 1) Customer Data Access Logic Component 2) Order Data Access Logic C...

Teaching a layperson to write a website

Background. An intelligent marine ecologist student would like help with her University-hosted project website. Proposed Solution. I installed an open source website authoring tool (Amaya) on her Windows-based laptop and began to teach her to craft websites. Result. Amaya is too complicated, too buggy. CSS and HTML are too complicated ...

Should I care about HTML 5?

Should I care about HTML 5 for my web application ... and why? Or to put it another way, what are some of HTML5 new features that I should be aware of? ...

website structure and division? Who plans that?

Hi, I want to know, In an organization who handles planning of the website structure and function for every section? What are the Steps or Workflow? I am sometime amaze with big sites that are well structure and is easy to access. As a freelance designer I have created some small sites but doesn't really need a big planning. The clien...

IE7 Absolute element appearing behind relative one

I know there is the bug where absolute elements appear above relative ones. However I am getting the reverse of this issue. The z-index on the "bottom" element is 1 and has a position:relative assigned. The top element has absolute positioning and a z-index of 99. This works fine in Firefox, Webkit based browsers and IE8. Any ideas ab...

3-Tiered Web Architecture: Are Layers on Seperate Machines Beneficial?

A client I'm working for has a standard in which they require the data layer of new applications to be wrapped into a web service, and placed a machine seperate from where the business/presentation layer will be hosted. Could someone tell me what the benefits of doing this are? It seems to me that this causes more problems than it solv...

Removing characters from a PHP String

I'm accepting a string from a feed for display on the screen that may or may not include some rubbish I want to filter out. I don't want to filter normal symbols at all. The values I want to remove look like this: � It is only this that I want removed. Relevant technology is PHP. Suggestions appreciated. ...

Is it possible to "read" a mercurial repos from a browser using javascript?

I want to be able to list the files and directories of a mercurial repository in a web browser using javascript. ...

Looking for web development tool: (firefox plugin, etc) that lets you browse to IP and inject your own URL?

Is there any such thing that would allow me to use an IP address to browse with HTTP but then give it a URL to use for the web app to pick up on? This would allow me to test multiple server locations of a web app (think dev, QA, live) without having to change my hosts file or manage a bunch of sub-subdomains. So for example if the site i...

jQuery IE7 - Click only registers to first element in path

$('div#Categories > div.categories a#showhide').click(function(){ // Get the subManufacturers list var subCatList = $(this).parent().find('ul#hiddenSubCategories'); // If collapsed do expand if (subCatList.css('display') == 'none') { subCatList.slideDown('slow'); $(this).f...

Simple XSLT Question: setting inner HTML node attribute values such as <div id="something">

Hello all, I'm having a hard time find an answer to the following question, which would seem pretty common, so I must be missing something fundamental. Could you please help me out? Given the contrived XML schema, sample XML input, and sample XSLT below used to transform XML to HTML. How do I set attributes within tags? For example...

Deploying xbap in a full trust mode

I have xbap which needs to run on a full trust mode because my application needs to upload a file from the client machine to process. I have to provide a installation steps to install. If i do it as a click one instillation, do i still get a security error? If so what is the best way to resolve it? If i install it in remote server, I sa...

PHP includes and POST

I'm developing a website and in my attempt to make friendly URLs without recurring to mod_rewrite (because chances are my client's server doesent allow it), I came up with this system: index.php expects a variable called $seccion, which should contain a relative path to a second file with a particular section. That way I keep the static...

ASP.NET Saving Customer's Shipping/Billing Addresses

I'm looking for the simplest solution to this situation: I have a pre existing web store with a shopping cart using .NET (vbscript) I customize what products my customer's see based on the subdomain they use to come to my site (customer.mysite.com) What my customer's are requesting is, instead of typing in their billing/shipping addre...