Cookie support in a JSP provider
Hello,
How can I set the cookie from a JSPProvider channel? The standard way (response.addCookie) does not seem to work. I'd say the response wrapper just ignores it.
Regards,
Valera
Hi,
Please check the log files for any errors. Also, If the JSP is on a different webserver, his the domainname added in the (Gateway Management | Manage Gateway profile)"Forwardcookie URL list" and Server Management | Manager server profile |"Cookie domain list".
Regards,
Raj_indts
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support.
Similar Messages
-
How to use getContent() method in custom JSP Provider to display a HTML Pag
Hi,
If anybody knows how to use getContent() method to use in custom jsp providers (developed by ourselves) so that it can be used to retrieve a jsp page (a simple html page) ..
I want the code in the provider java file to for the getContent method...
Pls. get back to me asap....if any body has implemented a custom jsp provider...as it's urgent...
I have alreday placed the JSP file in the directory structure /etc/opt/SUNWps/desktop/default/channel_dir..But still the jsp is not being displayed..
Pls get me the getContent() method code to retrive the JSP file..
satyabrataHi,
You don't have to do anything in the custom JSPProvider's getContent method except the call { return super.getContent(request,response); } . If all you want is just to show your jsp, then create a channel from the default JSPProvider, and edit the property contentPage of that channel from samplecontent.jsp to your jsp name, save the changes and login again. You should see your JSP.
Sanjeev. -
OracleJSP: oracle.jsp.provider.JspCompileException
Hi,
when i try to compile a report in web layout format in 10g DS R2, i get following error
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:C:\Documents and Settings\Administrator\Local Settings\Temp\1\docroot\3000\default\defaultWebApp\persistence\_pages\\_MODULE1000803760.java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Any idea how to solve this problem?
Regards,
WaqasI am having this same problem. Any solution?
-
Adobe AIR for Playbook - Cookies supported?
Adobe AIR for Playbook - Cookies supported?
Following a discussion on - http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Cookies-supported/m-p/6 36455
Has anyone here or at Adobe seen this thread to consider if it is an AIR issue?
Sorry if this is the wrong forum to post in.
TIA
-SRHi SR,
I wanted to let you know that while we typically don't handle Playbook issues on this forum (the RIM forum you linked to is the correct place for these discussions) I have forwarded this question along to the team to see if anyone has encountered this. I'll post more info when I hear back.
Thanks,
Chris -
I don't have personal hotspot in my iPhone 4s settings and i beleive it's supported by my Internet provider how can I fix that ?
My cellular provider is mtc touch in Lebanon middle east . As for the FaceTime issue it's banned in some countries not all not in lebanon at least but since my phone is from the UAE I don't have FaceTime on it.
-
Which versions of Microsoft exchange server supports Exchange OLE DB Provider (ExOLEDB)
Hi everyone,
Can anyone tell me which versions of Microsoft exchange server supports Exchange OLE DB Provider (ExOLEDB)? Is Exchange server 2007, 2010 and 2013 support it?
ThanksExchange OLE DB was removed from Exchange Server 2010 in Jan 2010. So, it is only available with Exchange
2007, 2003 and 2000. You can visit http://blogs.msdn.com/b/deva/archive/2010/01/13/update-technologies-not-available-with-exchange-2010-their-migration-reference-s.aspx
for more info. -
How can I activate the Billing Timer icons (Go, Pause, Stop)
in MacFreeLance 3.13? They are "grayed out" and unresponsive. MacXware Support Suite has not provided a solution.Lack of support from that company seems to be a non-uncommon problem. But it's not a problem you will be likely to get help with in the Communities, and definitely not here in the "Using Apple Support Communities" forum which is for questions about the Communities themselves. If MacWare can't or won't help you, you may be stuck, though there was an email address posted in this thread:
http://www.facebook.com/Macware/posts/327848817260562?comment_id=4108331
that may get you a response.
Regards. -
Cookie support planned in UIX?
Is it planned to support cookies in UIX?
e.g. read a cookie and in a null eventhandler and write it into page property or versa.
Would be nice e.g. for storing the username in a cookie for login handling ("remember me").
Thanks, Markus
Btw. I know that i can do that in a java eventhandler, but doing it declarative with UIX tags would be nice.Great to hear :-). We have to use JDev 9.0.3.3 until a stable 9.0.5 production release is out.
So i have to wait for next year to come or some nice person at Oracle will provide a 9.0.3.x backport for UIX 2.2 ;-).
Thanks for reply, Markus -
Hi,
We are running an 9.0.4 Application Server (J2EE and Web Cache) on a Windows 2003 Server Machine. Web Cache is not being used.
D:\Oracle\ora10g\opmn\bin>opmnctl status
Processes in Instance: elixirtest.elixirtest.seepz.mastek.com
----------------------------------------------+---------
ias-component | process-type | pid | status
----------------------------------------------+---------
OC4J | Elixir-Home | 196 | Alive
OC4J | home | N/A | Down
WebCache | WebCacheAdmin | N/A | Down
WebCache | WebCache | N/A | Down
HTTP_Server | HTTP_Server | 1312 | Alive
dcm-daemon | dcm-daemon | 3224 | Alive
LogLoader | logloaderd | N/A | Down
Our application is in the Elixir-Home instance seen above.
We are randomly getting the following error when we try to access some of the JSP pages in our application.
============
Errors compiling D:\Oracle\Ora10g\j2ee\Elixir-Home\application-deployments\Elixir-AMS\elixir-ams\persistence\_pages\_estimation\_AmsEstimationAuthorizeCapture.java
package com.orionserver.http does not exist public class _AmsEstimationAuthorizeCapture extends com.orionserver.http.OrionHttpJspPage {
package com.evermind.server.http does not exist com.evermind.server.http.JspCommonExtraWriter __ojsp_s_out = (com.evermind.server.http.JspCommonExtraWriter) out;
many more.....
============
We get this error randomly, a page might give this error after a particular build, but if we bounce OC4J and HTTP_Server, this problem goes away sometimes.
But then we get it on some other page which was working fine earlier.
If we rebuild(without changing source) and deploy, sometimes this also makes the problem go away temporarily.
As far as we can observe, this error occurs completely at random.
Can anyone please help us in resolving this error?
Any inputs would be appreciated.
Some more info....
D:\Oracle\ora10g\dcm\bin>dcmctl listApplications -co Elixir-Home -v -d
Error: Failed to find CACHE element that matches host name ind-mhp1w3s0054 and Oracle Home D:\Oracle\ora10g
Error: Failed to find CACHE element that matches host name ind-mhp1w3s0054 and Oracle Home D:\Oracle\ora10g
1 Elixir-AMS
(We are not sure if the cache element error above has anything to do with the compilation exception)
D:\Oracle\ora10g\j2ee\home>java -jar oc4j.jar -version
Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) (build 040317.1838)
D:\Oracle\ora10g\j2ee\home>java -jar ojspc.jar -version
Oracle JSP Translator 10g (9.0.4.0.0) - Production
(c) Copyright 2004 Oracle. All rights reserved.
TIA,
regards,
LibinI do not know if Libin has solved the problem or not. There are two ways forward.
1. add java option "-Dbuild.debug=true" to your oc4j process. The output of oc4j console should provide information as to the classpath used by the compiler. See what is happening.
2. contact oracle support to run a full simplified testcase. Hopefully,the problem can be reproduced. -
Hi,
i created one web page. in this i set ChartClickEvent and i get querytemplate of that chart. then i click button to send result of querytemplate to Minitab. i set alert messages to display value of query template and SQL query that is going to send for conversion. i got these values via cookie in javascript. this page is working fine when i call this via browser i.e directly i typed as
http://<server name>/Illuminator/PortalLogin.jsp?target=/minitab.htm&IllumLoginName=<user name>&IllumLoginPassword=<pass word>&session=true
but in xMII paotal i add one link to this page via navigation. when i click button to export, it display null messages in alert and it wont convert anything. but the same page working fine outside xMII portal. what is the problem? Is it problem in cookie? because it display values when i call this from browser but displaying null when i call from xMII protal. how to solve this? please help me.
-senthilAre you setting the values in your cookie when you access the page from the portal? I havent used them in a long time, but I'm pretty sure cookies are Domain specific. So if you set in while in one Domain, its not avilable via another. Maybe acessing the page thru the portal puts it in a different Domain?
-
Cookie support in JWeb Toolkit
Hi,
I have a big problem! I can't find any support for handling
cookies from the JWeb Toolkit for OAS 4.0. I need functionality
to SET and GET cookies in Java.
I have tried writing 'Set-cookie: xxx=yyy' in the HTTP header
with HtmlStream but the page never arrives to the browser, like
if the server halts the page.
One solution is to use the WRB Services but then you must invoke
the WRB services in C and it seems to be a lot of extra work.
Thanks
nullAre you setting the values in your cookie when you access the page from the portal? I havent used them in a long time, but I'm pretty sure cookies are Domain specific. So if you set in while in one Domain, its not avilable via another. Maybe acessing the page thru the portal puts it in a different Domain?
-
Is SSL authentication supported by WinNT ADSI provider?
I have a Windows XP machine on which I have not setup any SSL certificates. From my C# program i tried creating directory entry using the following code :
de = new DirectoryEntry(Path, AdminName, Password, AuthenticationTypes.SecureSocketsLayer);
This is working fine and it is not throwing error even when the Machine is not configured for SSL.
So I wanted to know if SSL is supported with WinNT provider?I think you should review the forums in MSDN. I think that is a better location for questions such as this.
Paul Bergson
MVP - Directory Services
MCITP: Enterprise Administrator
MCTS, MCT, MCSE, MCSA, Security, BS CSci
2012, 2008, Vista, 2003, 2000 (Early Achiever), NT4
Twitter @pbbergs http://blogs.dirteam.com/blogs/paulbergson
Please no e-mails, any questions should be posted in the NewsGroup.
This posting is provided AS IS with no warranties, and confers no rights. -
Struts Support: Parsing Portlet JSP File failed
I've manually edited a my .portlet file to contain a strutsContent element (copied
from the struts.porlet in the JSR 168 and Struts Support sample). When I run my
portal I get an error message:
java.lang.RuntimeException: Didn't find TagInfo for tag:strutsContent
Can anyone help?
Thanks in advance,
--AndySubbu,
Thanks for the tip - netuix_taglib.jar was indeed the not the correct version.
Interestingly, this file is not mentioned in the "JSR 168 and Struts Support"
install docs. I have replaced this file and the struts-example webapp now starts
(after setting up an action to forward to the index page).
However, I am having problems with the message bundle properties files ApplicationResources.properties
and AlternateApplicationResources.properties as neither of these files are being
picked up.
These files are located in org/apache/struts/webapp/example in WEB-INF/src and
WEB-INF/classes of my webapp (i.e. <WEBAPP>/WEB-INF - my struts-example resides
in <WEBAPP>/struts-example).
I've also tried adding <init-param>'s to the <WEB-APP>/WEB-INF/web.xml file for
the action servlet as follows:
<servlet>
<servlet-name>action</servlet-name>
<init-param>
<param-name>application</param-name>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>alternate</param-name>
<param-value>org.apache.struts.webapp.example.AlternateApplicationResources</param-value>
</init-param>
</servlet>
When I use the logon action as the starting action for the portlet, I get:
Error opening /struts-example/logon.jsp.
The source of this error is javax.servlet.ServletException: Cannot find message
resources under key alternate at weblogic.servlet.jsp.PageContextImpl.handlePageException...
Any help would be appreciated.
--Andy
Subbu Allamaraju <subbuATbeaDOTcom> wrote:
Andy,
Does this webapp contain the patched versions of netuix_servlet.jar and
netuix_taglib.jar? Also make sure that the patched netuix_system.jar
is
in the system classpath.
Subbu
Andy Hull wrote:
I've manually edited a my .portlet file to contain a strutsContentelement (copied
from the struts.porlet in the JSR 168 and Struts Support sample). WhenI run my
portal I get an error message:
java.lang.RuntimeException: Didn't find TagInfo for tag:strutsContent
Can anyone help?
Thanks in advance,
--Andy -
Would anyone know if Weblogic has a class/method you can call to determine if the
current client supports cookies?Rich,
There unfortunately isn't a 100% sure mechanism for this. You essentially
have to try to set a cookie and see if it comes back. If you are using
sessions you can try the method:
HttpServletRequest.isRequestedSessionIdFromCookie()
this will tell you if the current session is being maintained using cookies.
This will always return false on the first request in a session (because
that request wouldn't have been accompanied by a session cookie), but should
return a useful value after that.
Cheers!
Adam
"Rich" <[email protected]> wrote in message
news:3ae6fedf$[email protected]..
>
Would anyone know if Weblogic has a class/method you can call to determineif the
current client supports cookies? -
Cookie handling with using JSP pages
How can I use cookies in JSP pages.. Can you send me sample codes or explanations ...
Ergin DEMIREL
Thanks in advance..http://www.google.com/
Maybe you are looking for
-
I installed adobe digital editions but when I want to authorize a device (an e-reader) it doesn't work, I receive an error message that digital editions cannot connect with the activation server. what can I do?
-
Best Practices for VidConf with external parties
We currently use Sony Video conference units for our end units. On the backend, we use a Cisco 3515 for multipoint conferences. We now need to be able to do video conferences with external parties using our MCU. Since there are many ways of doing thi
-
Hi, Why do we need to take a lock before invoking wait()/notify() on an Object? i know that we shud take otherwise illegalstateexception is thrown. what is the reason to take a lock bfefore invoking the above methods. why does jvm expects from the pr
-
How do u change the number for your i message
my email shows up when i send a i message and i have another number thats saved in sending/receiving that isnt my number. I need to add my new number. Can u help?
-
The newsletter we publish, would not print the third page in the PDF version we published. I exported as an interactive PDF, and once I exported as a PDF for print it resolved the issue. My problem is that I'm not sure why it would print the first tw