Cross/Sub Domain Cookies
Hi,
I tried having two webapps
(1) WebApp.domain.c om ==> here i add cookie in respose as follows
Cookie cookie = new Cookie("namedCo okie","test");
cookie.setDomai n(".domain.com" );
response.addCoo kie(cookie);
(2)WebApp1.doma in.com==>Here i tried to access the cookie as follows, but cant able to access
...
User Profile
Collapse
-
Cross-Domain Cookies
Hi All,
I am trying to have two webapps such as WebApp1 and WebApp2.
1. I am setting one cookie in WebApp1 in the HttpResponse.
2. How to read the same cookie from HttpRequest at WebApp2?
I know it sounds weired b'coz cookies are specific to websites, we cant access it from different webapp. But i heard of CROSS-DOMAIN cookies which can be shared across multiple webapps.How to implement this requirement... -
Cross browser issue in createTextRange()
the following code works fine in IE6 but does not work in Mozilla,any idea to fix this cross browser issue???
Code
Code:PastedText = document.getElementById("hiddenText").createTextRange(); PastedText.execCommand("Paste");
Sundar -
fixed using clipboard
This is the requirement,if i let the white space along with the input that will be taken in account for the maxlength,so thr is no any other goes....anyway i have fixed it using clipboard
Regards,
SundarLeave a comment:
-
can u give me some samples?
can u give me some sample code???it would be great if it could get the value while the user pastes it.
Regards,
SundarLeave a comment:
-
How to capture input value while user gives using ctrl+v???
nope,it cant help me,i want to capture the user input when he/she uses ctrl+v,i have given an example
Regards,
SundarLeave a comment:
-
How to capture input value while user gives using ctrl+v???
Hi all,
Is it possible to read the input value given by the user by ctrl+v,how do we use java script to read the input?
example: If the user selects a value using ctrl+c from some where and enters the value in my form's text field using ctrl+v ,how to fetch this value using javascript?
Thanks in Advance,
Sundar -
Hi friend,
window.dialogAr gument returns the reference of parent window,
the problem i face is parent window gets refreshed before the server side code gets executed,so the latest value is not reflected when i use javascript parent window refresh.....
how to fix this?
regards,
sundar...Leave a comment:
-
Refreshing parent window from modal window?
Hi all,
I am using modal window for some update purpose,
the issue i am facing is,i am not able to refresh parent after closing
modal window.
The code i used:
------------------------
For opening modal window from parent window:
Code:showModalDialog("mypage.jsp",window,"dialogHeight:480px;dialogWidth:700px;");
-
-
How to use Jsp Implicit objects in javascript?
Hi,
I am trying use jsp implicit objects in side a java script method.
can any one tell me how to implement this requirement?
<script>
function fun()
{
var path = <%=request.getC ontextPath()%>;
}
</script>
is the above mentioned a valid one,if not wats the right way to achieve this?
... -
scjp1.6 dumps
hi,
can any one mail me the latest dumps for scjp1.6?
<removed>
Thanks in advance,
sundar -
Help me in JMS
Hi all,
I am using Jms TopicPublisher and TopicSubscriber inorder to
process multiple requests.
summary of the requirement:
*************** *************** ***
1.TopicPublishe r.java it posts a message to Topic which will be read
by the TopicSubscriber through a Listener.
2.TopicSubscrib er.java as stated it reads the message from topic,performs
my business logic using published... -
Having problem in org.apache.commons.httpclient.methods.PostMethod?? ??
Hi all,
I am not able to login a site using the following code,
can anyone suggest me the right way?
There is no any https connection.
HttpClient client=new HttpClient();
client.getParam s().setCookiePo licy(CookiePoli cy.BROWSER_COMP ATIBILITY);
String userAgent="Mozi lla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";
String connection="Kee p-Alive";... -
CommandLink problem?
Hi all,
I have a commandLink in my jsp page.
CammandLink:
----------------------
<h:commandLin k action="#{searc hResultBeanCont roller.getProdu ctResults}" >
The commandLink works fine when i click it,but this commandlink is not working when i use Rightclick open in newTab option or open in new window.
I tried to replace commandLink with outputlink but... -
Hi,
I tried a code for disabling cache on any browser,but the safari browser on mac os still caching my page,so that it shows the same items on print priview from its cache.
The code:
***********
[CODE=php]function ae_nocache()
{
header("Expires : Tue, 03 Jul 2001 06:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
...Leave a comment:
-
Problem with mac os safari browser...
Hi all,
The following code is not working properly in Mac os/safari browser.
[CODE=javascript]function newWindow(){
window.open('<j stl_core:url value="/pages/orders/printAllPacking Slip.jsf"/>','jav','width =500,height=500 ,resizable=yes, scrollbars=yes' );
} [/CODE]
The problem i am having is,the above newWindow() will be called inorder to print all items,i can able to retrieve... -
We can expect Java programmers trouble shooting in JavaServerFaces .
I got replies regarding JSF in the recent past.
Anything wrong in it???
Regards,
sundar....Leave a comment:
-
CommandLink mouse right click problem!!!
Hi all,
I have a problem in CommandLink,whe n i use mouse right click open in new tab or open in new window over the CommandLink it shows a previous page instead of actual page.I tried to overcome this using <redirect/> tag in faces-config xml but its a vain eventually.
No request is generated to server while trying open in new tab.
Any of u ever had this issue,any suggestions???.
Awaiting... -
Help me in CommandLink problem???
Hi all,
I am working with jsf framework now,I have a problem in commandLink.
(i.e):When i use mouse right click,open in newTab or open in new window
on the commandLink, it is not navigated to the actual page,it goes to the
previous page of the commandLink page.
commandLink works properly when we click it,not getting the desired
result page on Right click open in newtab and as well as open in new
window....
No activity results to display
Show More
Leave a comment: