|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object BodyTagSupport weblogicx.jsp.tags.EncodeTag
public class EncodeTag
The encode tag checks to see that the user has a session and the session id did not come in via a cookie, if these are both true the body of the tag is searched for relative URL references and they are replaced with versions that contain the session id. In addition, forms are modified with an addition hidden form parameter that is the session id. Here is an exhaustive list of those html tags that are modified: <a href="xxx"> -> <a href="xxx?_LINKSTRING_"> <img src="xxx" lowsrc="yyy"> -> <img src="xxx?_LINKSTRING_" lowsrc="yyy?_LINKSTRING_"> <form action="blah"></form> -> <form action="blah">_FORMSTRING_</form> <frame src="xxx"> -> <frame src="xxx?_LINKSTRING_"> <object src="xxx"> -> <object src="xxx?_LINKSTRING_">
Constructor Summary | |
---|---|
EncodeTag()
|
Method Summary | |
---|---|
int |
doAfterBody()
|
String |
getCookieName()
|
String |
getSessionId()
|
void |
release()
Reset properties. |
void |
setCookieName(String cookieName)
This value can override the cookieName pulled from the session. |
void |
setSessionId(String sessionId)
This value can override the sessionId pulled from the session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncodeTag()
Method Detail |
---|
public void setSessionId(String sessionId)
public String getSessionId()
public void setCookieName(String cookieName)
public String getCookieName()
public void release()
public int doAfterBody() throws JspException
JspException
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |