web

Things to consider when creating a web framework

I am not trying to create yet another web framework. For one of the applications I am working on, I want to create a custom framework. I don't want to use any already available framework. What are the common things to consider? What should be the architecture? Thanks :) ...

WebOS development requirement

Hello All, I have this increasing interest in web OS. I want to start building my own. But I am at absolute zero position. I went to websites of XIN, EyeOS, YouOS to gain some initial idea. Still exploring... Can someone tell me about how can I do scratch start. Like system requirements, technologies one should be using, some referenc...

forward request from a filter

I need to forward my request (to a jsp but I don't think it's matter) from an http.Filter if the URI of the original request pass some validation that my filter runs. I found this page that faced similar task http://mail-archives.apache.org/mod_mbox/tomcat-users/200111.mbox/%3C20011110161313.A24324-100000@localhost%3E Still I need to...

Calling 3 web services async, and waiting for them to complete

In my silverlight page, when the user clicks on a button; the app, calls 3 web services async. It has to either wait for these 3 async calls to be completed or has to be notified when these calls are completed. After these 3 calls are completed, the results will be written to a text file (It is a out-of-browser app with elevated trust). ...

LTPA Token Not Changing

When I log out of an application on WebSphere and back on, the LTPA token is unchanged. I thought it would change because session tokens are supposed to be unpredictable. ...

Seam - EJB3 in Web Module/WAR?

I'm writing an application using Seam 2.2.x which will be deployed on JBoss 5.1. I have an EJB module with all of the business logic en EJB's. However, I'd also like to have statless session EJBs in the web module to act as action classes. Is this possible? Do I need to perform any additional configuration to get this working? I hav...

Where to put ServiceLoader config file in a web app

I am writing a web app in Eclipse. I am trying to use the ServiceLoader class to load some plugins. The docs for ServiceLoader say I need to place a file in META-INF/services. I have placed the file in the WebContent/META-INF/service folder but when I run the JUnit test via Eclipse it does not find any plugins. Is this the correct lo...

Downloading files via a webView

Hi, I am currently implementing a webview that uses the default behavior of opening the browser. When the page loads in the browser and I click the download link that is on the page that was loaded, the download starts, and quickly fails. I guess its an unsupported file type. How would I go about setting the WebView so that I may handle ...

Input text box is not hiding in android browser if user submits a form by pressing enter key of android virtual key board

Hi i am developing a web application for android. i have a search button which will display search form on click.Form is having a input field for search and a submit button for sending ajax request for fetching result. when i submits the form by clicking submit button then it gets the data and hides the form but if i use android virtu...

Best web graph crawler for speed?

For the past month I've been using Scrapy for a web crawling project I've begun. This project involves pulling down the full document content of all web pages in a single domain name that are reachable from the home page. Writing this using Scrapy was quite easy, but it simply runs too slowly. In 2-3 days I can only pull down 100,000 pa...

Replacing spaces with %20 in C

I am writing a fastcgi application for my site in C. Don't ask why, leave all that part. Just help me with this problem- I want to replace spaces in the query string with %20. Here's the code I'm using, but I don't see 20 in the output, only %. Where's the problem? Code: unsigned int i = 0; /* * Replace spaces with its hex %20 * It...

How can I have a frame on a web page constantly updating content without the user having to refresh the page?

I need one of my frames to change its contents whenever the server decides it's time. Is that possible? Can RSS be used for that? Does it demand too much in terms of network and processing? ...

Finding the web address of a Javascript link

Hi all, I am using RCurl in R to try and download data from a website, but I'm having trouble finding out what URL to use. Here is the site: http://www.invescopowershares.com/products/holdings.aspx?ticker=PGX See how in the upper right, above the displayed sheet, there's a link to download the data as a .csv file? I was wondering ...

Difference between differnet web programming frameworks?

I have experience programming dynamic websites using both php and perl driven CGI code, (both on apache web server on *nix systems, though that shouldn't matter). I do not have too much exposure to other technologies for web creation, but I frequently hear hailing and railing towards them from all forms of developers. (The most I've he...

How Can I Design a Very Simple HTML Page?

The image posted below is taken from a word document. I need create a similar one in HTML. Which tags should i use to help structure same way you see it below. Discard the fonts/colors tags. ...

Problem working with jQuery

jQuery for some reason isn't working.I'd like to know what the problem is.Here is my code : <script language="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt; <script language="text/javascript"> function hide() { $("#Layer1").hide("fast"); } </script> <style type="text/css...

Should ajax calls go through as few as possible entry points to an application or many specific methods

I'm building a web app with a lot of ajax calls to be made. Should I be trying to keep a small number of methods, and just pass in information about what type of request it is, and then switch based on that type inside the method or Many smaller methods, so don't have to pass in type, but more code to write setting up each method. Cu...

Magento website server migration issues

Hello friends, I'm currently in the process of transferring my magento instalation, alog with its database, to a new web server. I edited the config files so they would match the new domain's database data, and uploaded the same files to the other server. When I'm trying to run the system, I get the following error: Warning: include_...

Label and input layout using css

I'm trying to line up a label and an input box on the same line in such a way that the label takes up all the space it needs and then the input box uses all of the remaining space. For example if the container was 1000px and the label was 342px then the input should be 658px wide. But if the label changed to 100px the input should resize...

Is it possible to transfer result set between web services?

I would like to know if its possible? Step1: call one web service A which retrieves data from the database and stores in a result set (dynamically) Step2: web service A calls web service B to process the data stored in the result set. Is it possible to share result sets which could be of large or small size between web services. If it...