Skip to content

Instantly share code, notes, and snippets.

@Programmercito
Programmercito / postRedirect.js
Created February 26, 2018 14:54
Send parameters to URL with out query parameters with JAVASCRIPT
function redirectPost(url, data) {
var form = document.createElement('form');
document.body.appendChild(form);
form.method = 'POST';
form.action = url;
for (var name in data) {
var input = document.createElement('input');
input.type = 'hidden';
input.name = name;
input.value = data[name];
@Programmercito
Programmercito / gist:cc83137152ee6606ae01b56d2bed2dde
Created January 25, 2017 19:47 — forked from kr0nicas/gist:bdea3b2b71cb066f44a2
Weblogic enforce-valid-basic-auth-credentials
Weblogic 11c
Add the <enforce-valid-basic-auth-credentials> element to config.xml within the <security-configuration> element.
:
<enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials>
</security-configuration>
Start or restart all of the servers in the domain.
http://blog.avanttic.com/2011/02/16/problema-drivers-jdbc-al-migrar-una-aplicacion-java-1-4-a-1-6-weblogic-11g/
Weblogic 12C
@Programmercito
Programmercito / xml
Last active October 4, 2016 15:12
Buscando comando en un proyecto Java con ANT
<target name="prueba">
<echo>************************* COMENZANDO BUSQUEDA DE COMANDOS NO PERMITIDOS ****************************</echo>
<delete file="prohibiciones.found"/>
<property name="cabecera" value="ARCHIVO DE ENCONTRADOS"/>
<echo file="prohibiciones.found">${cabecera}</echo>
<loadfile property="file" srcfile="prohibidos.list"/>
<for param="line" list="${file}" delimiter="${line.separator}">
<sequential>
<echo>REVISANDO: @{line}</echo>