web-development

How to Read HTML out of a webpage and use it as body of HTML Auto-Responder E-Mail

I am working on an HTML auto responder email. If there is a simpler way than what i am doing please let me know. So far, i've built "pagename.aspx" and i read this page into a string variable, then use this variable as the BODY of the mail. This works. The page optionally accepts a QueryString called "leadID". This is used to pull data...

How to prevent invisible Firefox requests to RSS feeds linked to pages

Firefox browser always requests feeds linked to page and this requests brings garbage to my development serever logs. It there any way to switch off this annoying requests? ...

Can/should I run my web site against a SQLite database?

I'm about to build a new personal blog/portfolio site (which will be written in ASP.NET), and I'm going to run it against a SQLite database. There are a few reasons for this: The site will not be getting a lot of traffic, and from what I've read, SQLite is able to support quite a lot of concurrent users for reading anyway I can back up...

Running multiple sites from one web application in Java

I'm thinking something in lines of drupal multisite, where every site should have it's folder with themes, plugins and various static files. It turns out it's not quite easy to do with Java: classes must be in one place, tag files in other, static files in third, only jsp files can go wherever. classes and tags can be packed in jars, but...

Encode unc path for firefox in ASP.NET

Hi! I need to encode a path so firefox can open it directly. I've tried HttpUtility.UrlEncode, HttpUtility.HttpEncode and HttpUtility.HtmlEncode but none of these seem to work. Any ideas? ...

How can I stop Google Toolbar offering to translate my app?

How can I stop Google Toolbar offering to translate my web app? I've tried adding this tag to the top of every page: <META HTTP-EQUIV="Content-Language" CONTENT="en-GB"> but it makes no difference. I'm developing a web app in ASP.NET which displays a lot of data from various languages - things like names, locations, etc. If the use...

Regular Expression in XSLT

I have an XSLT function that takes a regular expression as a parameter but the XSLT parser does not like it. Here is the code: <xsl:value-of select='ns:RegexReplace($variable, "", "style=\"\w+\:\s\w+;\"")' disable-output-escaping='yes' /> I found this: http://www.xml.com/pub/a/2003/06/04/tr.html <-- but it is using what I am and seem...

Setting up Dev environment for Java development (Q.1)

Hi, 1st part Never worked on team who uses different IDE for one project.. (But our team right now does that) Never tweaked Ant Script of IDE, or wrote any Ant script.. I am Netbeans user, (since last 2 years) and ultimately want to become independent of IDEs (except for coding and code completion) .. like deploying, building So I ...

Is it possible to write a JavaScript library that makes all browsers standards compliant?

I'm not a JavaScript wiz, but is it possible to create a single embeddable JavaScript file that makes all browsers standards compliant? Like a collection of all known JavaScript hacks that force each browser to interpret the code properly? For example, IE6 does not recognize the :hover pseudo-class in CSS for anything except links, but ...

How does push email/chat work? Can it be implemented easily for small websites?

I am trying to understand how push services work. I believe push notifications are where the server 'pushes' a new item to the client, but I don't know how that works in practice. For example, how does a phone "know" that it has a new email to pick up if it doesn't manually check the server for a new message? Also, how can this be impl...

Why should (or shouldn't) I write my new website in HTML 5 and CSS3?

I am currently in the process of developing a website as a personal project. Normally I am quick to adopt new technologies, even though IE makes it a pain sometimes. However, this one makes me worried because the adoption rate for current browsers is spotty even in cutting edge ones like Firefox, Opera, and Safari. Would you consider ad...

cherrypy vs django

cherrypy vs django, which would you use and why ...

Can I specify a different target tab/window in JSP with a RequestDispatcher

I have a JSP program that displays a form where the user enters some criteria for a report. If the criteria fail validations -- missing fields, invalid dates, etc -- I want to redisplay the form with an error message. If the criteria pass, I want to display the report. But I want the report to be in a different tab or window, like if the...

MYSQL select "all" of the values rather than "any" of them?

Hello this SQL statement "select firstname,lastname from users where lastname in('foo','bar') group by firstname" it means select all records in table "users" where lastname match any of the "foo" or "bar" I don't want this behaviour what I want to retrieve is all records in "users" table where lastnames match all of "foo" and "b...

appfuse: should I configure jdbc credentials twice?

New to appfuse - I like the concept. I configured the username/password to the database in jdbc.properties. It didn't work. So I also configured my credentials in pom.xml Why is it so? Am I doing something wrong? ...

How do I get site usage from IIS ?

I want to build a list of User-Url How can I do that ? ...

Client side logic OR Server side logic?

Hi guys: I've done some web based projects. In those days, I met a lot of difficulties(questions, confusions) and most of them can be figured out with help. But till now a really important question is still there, even with asking some experienced developers. The question is: When one functionality can be implemented with both server si...

I'm an ASP.NET programmer (Webforms). Should I switch to MVC?

I like having control over exactly what's going on under the hood (the MVC way), but I'm also lazy, and don't like writing tons of javascript GUI things. Should I or should I not switch to MVC? Thanks, Nestor ...

web based ide for ruby on rails?

Does a web based IDE exist for ruby on rails development? ...

GUI for creating fullscreen web applications

Desktop GUI builder tools such as Qt Designer and Glade let me easily design a resizable interface with menus, shortcuts, tab order, status bar, etc Is there an equivalent tool for the web? I am not after building a typical web interface where you scroll down to view all the content, but a fullscreen interface with menus at the top and...