Ok here I go with my bizarre problem.

I'm creating a webapp with JSF. There is a JBossSX based security with a form 
type login. This is the index.jsp file:
-----
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
<c:redirect url="/main.faces" />
-----

the main.jsp file is a secure resource.

this is the login.jsp file witch is the login page:

-----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                      "http://www.w3.org/TR/html4/loose.dtd";>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
<c:set var="full_header" value="true" />
<f:view>


    <link href="<c:url value="/common.css" />" rel="stylesheet" type="text/css" 
/>

    
    
        <h:outputText value="login" /> 
        <input type="text" name="j_username" value="<h:outputText 
value="password/>
        <h:outputText value="password" /> 
        
        "/> 
    


</f:view>
-----
if there is no stylesheet added to the login.jsp file everything works fine. 
But whenever I'm using the stylesheet - as it is above, when i press the submit 
button i'm being redirected to some weird resource - an image or common.css 
file...!!!

I've already spent half of my day with that issue and I still can't find any 
clue on how to fix it.... 







View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926822#3926822

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926822


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to