web

How do I extract web wiki pages, which are password protected?

I wish to get a few web pages and the sub-links on those which are password protected. I have the user name and the password and can access them from the normal browser UI. But As I wish to save these pages to my local drive for later reference, I am using WGET to get them: wget --http-user=USER --http-password=PASS http://mywiki.mydoma...

Using SSIS Web Service Task with WCF

Hello, I am using SQL Server 2008 SSIS for importing data to the DB and .Net 3.5 SP1 for Creating the WCF service. In the import task I am trying to use the Web Service Task to report to a WCF service. At first I encountered a problem with the WCF WSDL, the Web Service task couldn't get their code generated from the metadata exposed by...

What's your all-in-one web resource optimizer?

I'm working with SmartOptimizer: minify js and css, use css data uris, add far expire headers and other features. (http://farhadi.ir/works/smartoptimizer) It works fine, but i don't know if exists a similiar application with similar or best tools (like Google Closure, CSScaffold,..) If you're not sure witch is better, what's your favour...

How to make a web directory with Desciption Field?

I want to know how to you make web directory like this http://www.ibiblio.org/pub/docs/ It has a description field for each file ...

Getting rid of Value attribute of a textBox when using clone method in jQuery

Hi, Im having problem with this form im working on. Whenever I add, or refresh the page, the values are still there. I believe this is because the clone method copies the value attribute from the textBox. Is there any way I can get rid of them when i add another textBox. <html> <head> <title>JQuery Example</title> <script type...

If an HTML form has two <input type="submit"> buttons, how do I know which got clicked?

Hello everyone! Suppose I have the following HTML form: <form> ... <input type="submit" name="queue" value="Queue item"> <input type="submit" name="submit" value="Submit item"> </form> How do I know which button the user clicked (without using javascript)? I looked at submitted data and it seems that when "Queue Item" is clicked the...

How to make web services secure in asp.net both the asmx and on WCF

How to make web services secure in asp.net both the asmx and on WCF. Currently we have web services and now are in process of converting them to WCF in some modules in our application. Now as upgradation is in process we like to incorporate security on the web services as we intend to open some of them to all our clients via web (they co...

Cross domain requests: Javascript vs Flash

As you might know, browser's security model does not allow a script loaded in a page from http://www.example.com to make cross-domain requests (no AJAX calls to any other domain other than www.example.com). The Javascript file itself could have been served from a different domain altogether (www.javascript.com/myscript.js) and that is ir...

A help system for a PHP web app

Hi, As our new web app gets more complicated, so the need for help docs increases. I am not talking about documenting code, I am literally talking about application help. So myapp/help, or for example, enabling context help from a particular point in the app with a link such as myapp/help/users/create/ etc. Are there apps out there for...

Error on AddWebPart (Sharepoint 2007)

Hi, I am trying to use the AddWebPartToZone web service call within Sharepoint 2007 to add a webpart programmatically to a webpart page. We get a soap exception (Microsoft.Sharepoint.SoapServer.SoapServerException). The webpart i am trying to add is the original version of the Chatterbox app found on codeplex. When i try and add a con...

Automatically export contents of svn repository to another directory?

First, I would like to clarify a quick question I have, am I right in thinking that files in svn repo don't actually exist in the heirarchical structure you see when you check them out? I have tried to use svn export ~/svn/project1 ~/public_html/project1 but it didn't work. What I actually want is to have the export command automatical...

Best practices in using Javascript in ASP.NET in a pre-AJAX and pre-jQuery era

I would like to know what are the best practices in using Javascript in ASP.NET in a pre-AJAX and pre-jQuery era. What I meant by pre-era is not the time before AJAX/jQuery was created, but rather the time before it is popularized and widely adopted (by a significantly large number of programmers). i.e. Is it good thing to store the sc...

Apache axis error cannot find services.xml

When I try to restart the apache tomcat server it throws the error. org.apache.axis2.deployment.DeploymentException: The services.xml file cannot be found for the service: {0} The wsdl generated is actually blank and only contains the description from the services.xml file which does indeed exist under META-INF. I am using eclipse,...

Any ideas to implement list component with buffered "inline edit" and fully searchable?

I am handed a task to implement a (web) list component (in Java, but inspirations may come from programmers using other platform) that would render as a table with following requirements: Database paging. The list could contain several thousands of rows. At one time, the component could only hold a subset of the list in memory. Buffere...

How to make a CSS rule which applied on a div affect another div?

Is it possible to make the following in CSS: #subMenue { //this rule apply to a div with an id of "subMenue" height: auto; width: 113px; position: absolute; background-color: #B3B3B3; visibility: hidden; } #menueLink:hover { //this rule apply to another div with an id of "menueLink" //make the div that is effected by *#subMenue* rule ch...

Different approaches for File upload using Ajax

To upload the file using JavaScript generally iFrame approach is used in which Hidden iframe is maintained and then the file is uploaded using the iframe. However it is said not to be reliable method for the file upload and Flash is used for this purpose. So i am not clear how this is done? I mean by Flash and JavaScript together ? ...

deployment systems with web-interface other than capistrano?

Hi. I'm running production server with 12 projects written in PHP and Python (Django framework). The problem is that every time i commit something to svn i have to ssh to server and do svn update manually. I've made a simple shell script for this, but it's definitenly not an option. I thought about capistrano+webistrano, but for this i'...

I designed an architecture for web app running on single computer

Hi, I am planning to build a web app running on a single computer and exploit the hardware resources as efficient as possible. The logic of app will not be complex. The following is my design: OS: Linux (CentOS 5) Web Server: Nginx Web script: PHP Database: Tokyo cabinet + Tokyo Tyrant Index: Sphinx I am not going to use RDBMS such...

What technology to use to add dynamic external content to web application

I am searching for a pointer to the right direction for the following requirement. We have a web application running on Tomcat, that contains ad-hoc reports based on BIRT. The main application has a few tabs containing various reports. Each tab contains a form based on JSF to gather user parameters and passes this to a BIRT web service ...

Important validations during HTTP request/response

What are the important Validations/Processing which can be done during the http request/response to protect web application from vulnerablities like cross site scripting cross site request forgery and any other security attacks? ...