web-development

Sending HTML Form Data to Java

Hi, I have a Java program that I'm trying to interact with over the web. I need to gather form data from the user on a Drupal site that I don't have any control over, send it to the Java program, and send the output back to the user. The Java program needs to load a lot of libraries every time it's run, so it needs to be up waiting for ...

how do i avoid including jquery twice?

i have a service i'm building, which will be included as JS on client web pages. optimally, i want to build the service using jquery. the case may arise, where the page already has JQ included. how do i avoid including JQ twice in the page? how do i make sure i still have the desired JQ functionality, even if the page has already inclu...

what is an effective way to protect mp3 files from download?

Possible Duplicate: Is it possible to protect from downloading a video from a site. i'm looking for a way to allow mp3 files to be streamed using a flash player on a php web page, but to hide and protect these files from download. embedding the file into the swf is unacceptable for this project, since there will be many mp3 f...

How to compare test website and live website

Hi, We have our production server running our website. Then we have a test server which has exact same data but with changes to code to do some new functionality. This web app has over 500 pages. Is there any program that can Login to the test site Crawl through each page and then save the page as html Compare with the same page sav...

Software to stream Video from Server

Are there any out of the box programs / server software that I can install on my server to stream videos? I found XMoov while searching, are there any others? Which one is best? ...

Spam Prevention/Reduction - Contact Form ?

Hi I want to add a simple Contact form to my web site so that customers can contact me easily. <form> NAME <input type='text' name='name' /> EMAIL <input type='text' name='email' /> MESSAGE <textarea name='message' /> <input type='submit' /> </form> This form would simply email me the customers message. B...

C#/.Net: Returning a file to the browser?

Following this question it was recommend that I should create a server side file that can return a file from the file system. How would I go about doing this in c# and .net. I imagine I pass the filename as a query string, this is read by the page and the file returned. Not really sure where to start on this from a codding point. ...

Is ORM fit for complex projects?

I've not started the ORM trip yet, because I'm not sure how it works when the project becomes very complex. What's your opinion or experience? ...

Why can't I reference my class library?

I have a solution that contains a website and a class library in Visual Studio 2008. I then have another web site project outside of the solution that needs to reference the class library. I right click the Bin folder or Project and select Add Reference, then select my Class Library Project, it adds the 15 or so DLLs that the class lib...

Potential issues using member's "from" address and the "sender" header

Hi all, A major component of our application sends email to members on behalf of other members. Currently we set the "From" address to our system address and use a "Reply-to" header with the member's address. The issue is that replies from some email clients (and auto-replies/bounces) don't respect the "Reply-to" header so get sent to o...

IE6 is rendering a period.. totally randomly. This period does not show in any other browsers. HELP!

I just previewed my page in IE6 and for some reason it is rendering a period for absolutely not reason. I looked in my html to make sure I didnt add an extra period on accident or something and was unable to find ANYthing. http://cypresslakesfla.com/models-new.php Take a look, make sure you have IE6 tester and you will see. Anyone se...

How has SoundCloud done that?

Their UI is pure HTML, CSS and JS, so how they're playing the audio? Involving a hidden flash player? ...

How to include in code an unique ID related to a mercurial commit?

I'd like to do the same thing that they're doing here in stackoverflow. <link rel="stylesheet" href="http://sstatic.net/so/all.css?v=6274"&gt; <script type="text/javascript" src="http://sstatic.net/so/js/master.js?v=6180"&gt;&lt;/script&gt; <script src="http://sstatic.net/so/js/question.js?v=6274" type="text/javascript"></script> D...

Was it a big mistake of JavaScript language inventor to use function instead of a shorter word ?

It seems that it would be wise to use def, fn, or fun for function definitions similar to Ruby or other succinct languages. Now that it's too late to change things due to potential compatibility issues, the whole world is forced to suffer using that wasteful long name 'function' everywhere in JavaScript code. ...

Coverage report for ASP.NET web site pages.

I have taken on an ASP.NET web site where the client is using the web server as a code repository, i.e. removing a page from the site involves not linking to it any more. There are a stupendous number of unsused files, and I would like to archive these off and arrive at a lean git repository of only files used by the active site. How c...

How do I implement auto-complete for City / State fields on a form?

I want to implement City and State auto suggest in a form textbox. How do I do this? Weather.com has a great example on this on their front page. Questions: Where can I find a complete USA listing of city and state pairings? And is there an open API for this? Do any existing scripts/frameworks exists that already perform this auto-s...

What is the scope of methods and properties of classes within App_Code in a web site project?

hi First, sorry for poor english writing . If I declare a for example property or enum in a class of App_Code, then what is the scope of that property? ...

Question about CSSTidy

In opposite to most other CSS parsers, no regular expressions are used and thus CSSTidy has full CSS2 support and a higher reliability. I wonder why CSSTidy built their own parser and not utilized the official SAC API (which also includes support for the new CSS3)? Is there any technical or practical reason for not using SAC a...

In a web site, Where do you declare project-scope enums ?

Hi all In an asp.net web site project, Where do you declare project-scope enums ? ...

Learn Asp.Net WebForms or Asp.Net MVC

It might be a dupe but I cannot find a straight answer. If a person is about to start learning web development over .Net framework, which technology should he go for ? Asp.Net WebForms Asp.Net MVC keeping in view these three aspects future scope complexity features Note: has done some WinForms programming using C# Thanks ...