-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Even though it's not part of HTTP 1.1/RFC2616 webapps that wish to force a resource to be downloaded (rather than displayed) in a browser can use the Content-Disposition header like this:
Content-Disposition: attachment; filename=FILENAME
Even tough it's only defined in RFC2183 and not part of…
>>> More
-
as seen on Oracle Blogs
- Search for 'Oracle Blogs'
In the last blog entry I showed a technique for integrating a JMX console with Oracle WebLogic which is a standard feature of Oracle WebLogic 11g. Customers on other Web Application servers and other versions of Oracle WebLogic can refer to the documentation provided with the server to do a similar…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I've got a very simple need and I don't know what are the options available.
If I simplify, users see webpage like this server by a Java webapp server:
[-] red
[x] green
[-] blue
[-] yellow
The selected color is green
And then I want the user to be able to select the yellow color and have the…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I've installed apache2 on Ubuntu 11.04, and localhost is working. I created a simple printenv.pl script and put it in the following directory
$ mv printenv.pl /usr/lib/cgi-bin/
$ chmod +rx /usr/lib/cgi-bin/printenv.pl
However when I go to http://127.0.0.1/cgi-bin/printenv.pl, I get a 500 Internal…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I have a project A (a webapp), depending on project B (B.jar) and this one depending on project C (C.jar).
I would like to create a maven goal named "Rebuild War", that clean all compiled code for these 3 projects and rebuild the whole in order to obtain a fresh War file.
I tried mvn clean package…
>>> More