How to enable jsessionid in url with Struts and JSTL?

Hi
I'm developing a struts application that will work with WAP devices. I have to guarantee that the jsessionid parameter is generated in every URL because cookies don't work with WAP 1.0 devices. Specifically in:
1.- Struts forwards that uses redirect.
2.- Using the <c:url /> tag
I sent a message to the struts list and they responded that this is a container feature that has to be enabled. Where can I configure OC4J to use the jsessionid parameter instead of the cookie?

Hi,
This is not the right forum for ur post. Post ur issue at forums.oracle.com/forums/forum.jspa?forumID=82
Regards,
Gyan

Similar Messages

  • How to create a transport request with query and only with its structure.

    HI guru,
                how to create a transport request with query and only with its structure.transport request should not  include any other query items like ( variables, conditions...etc)
    thanks in advance.
    venkata

    Hi,
    Goto RSA1 and then Transport Connection -> In SAP Transports select Object Types-> Query Elements -> Then select Query->Give Technical name of the query and then select for transfer. In the right side you can choose the components which you wanted to transport.
    Regards,
    anil

  • Using url with username and password in URL class

    Hi,
    I'm writting an applet in which I use getAppletContext().showDocument with an URL.
    The problem is that I'm using URLs with username and password (http://user:[email protected]/page) and it isn't working because the browser is getting the URL http://user/page.
    Is this a bug in the URL class? Or in the showDocument method?
    Is there any way to make this work?
    Thanks for any help,
    Pedro Prospero Luis ([email protected])

    I'm not sure whether this is supported behaviour. I've had this syntax fail to work in the Netscape address bar so I can't recommend it as an approach for authentication.
    If you want to authenticate the user before redirecting to the page, though, you could try creating a connection to another page on the same server and sending the authorization information then. Your browser may then be successfully authenticated.
    See http://www.javaworld.com/javatips/jw-javatip47.html for information on this.
    You might not need to read back the page from the server, just connect to it. Might work.

  • Don't know how to sync music on mac with iphone and ipod

    don't know how to sync music on mac with iphone and ipod
    need to also know how to recover original library of ipod as it seems as though
    it has now sync'ed with iphone & lost all my music

    Start HERE

  • How do you deal Iphone 5 with LTE  and at&t

    how do you deal Iphone 5 with LTE  and at&t

    I can make no sense of your message.

  • Using Struts and JSTL together

    I have
    <html:form action="xy.do">
    <c:set var="name" value="shalik"/>
    <html:text property="name" value="<c:out value="${name}"/>"/>
    </html:form>
    How could I put data stored in ${name} to show in the text
    Also, is there a shorter way to access java variables using jstl core
    I would not want to do
    <input type="text" name="name" value="<c:out value="${name}"/>"/>
    which works, because I have to use struts

    No you can't include tags as attributes to other tags.
    Yes, you can definitely use the Struts and JSTL together.
    If you want to use EL expressions with the struts tags, it depends on your server.
    If you have a JSP2.0 container (eg Tomcat 5) its no problem at all. You can use the EL expressions directly with the standard struts tags.
    For a JSP1.2 container, there are specifically written struts-el tags. They let you use EL expressions instead of <%= %> expressions
    <c:set var="name" value="shalik"/>
    <html:text property="name" value="${name}"/>The struts-el tags only have a subset of the struts tags. It is intended for use with the JSTL. For instance the c:if tag easily replaces a lot of the logic conditional ones (equal, lessThan, etc etc)
    The tags are available as part of the standard struts download in the contrib directory.
    However for what you seem to be wanting to do, wouldn't it be more struts-like to have an action that specifically populates the action form, and just have
    <html:text property="name"/>
    The value would then be automagically populated from the form bean.
    Hope this helps,
    evnafets

  • Comparision btw Struts and JSTL tags

    Hi,
    Is there any article or helpful information that any body have come across that have good comparision between struts and JSTL tags? I am trying to find similar JSTL tags to my struts application.
    Any help in this regard is appreciated.
    Thanks,
    -jon

    You can't use JSTL to replace struts completely. The struts tags and the JSTL tags have some overlap in the logic, control flow and formatting bits, but there is a lot that struts does that JSTL doesn't (the input controls).
    Struts-el was a bridge between Struts and JSTL for JSP1.2 containers.
    It has a very limited use nowadays. Most applications should be being written in J2EE1.4 (Servlet 2.4/JSP2.0), and thus the requirement for the struts-el tags is not there - the container understands EL without special tags required.
    As I said before you should only use Struts-EL if
    - You are stuck with a J2EE1.3 (Servlet2.3/JSP1.2) container
    - You want to use EL with struts.
    For myself, I prefer using the EL expression like ${expr} rather than older <%= expr %>, but it comes down to personal preference.
    Cheers,
    evnafets

  • How can we hide the URL with Webdispatcher after SSO redirect

    Repost in correct forum
    We have setup SSO with Kerberos and SPNEGO for NWBC and now we want to expose it to the internet via SAP Webdispatcher.
    NWBC is on a singelstack ABAP system on server1 and we have configured a standalone J2EE system on server 2 for isuing the saplogon ticket.
    This works fine with the redirect from icf NWBC -> Error Pages -> Logon Error -> Redirec to URL (Form Fields) http://server2:port/redirect/redirect.jsp
    on server2 we have a java application (redirect/redirect.jsp) witch has %response.sendRedirect("http://server1:port/nwbc")%
    Problem is that when the webdispatcher calls http://server1:port/nwbc the URL in the browser is hidden with MYDOMAIN.COM/nwbc but when the Logon-error (no saplogon ticket yet) is redirecting to  http://server2:port/redirect/redirect.jsp the browser is showing the actual URL http://server2:port/redirect/redirect.jsp and also when returning to NWBC the browser is showing http://server1:port/nwbc.
    And we don't wan't to expose hostnames (server1 and server2) to the internet.
    I got this answer:
    This question belongs to the SAP NetWeaver Application Server space, this space is for NWSSO topics only, the separately licensed product from SAP.
    Regarding your question you have to configure Web Dispatcher for both AS JAVA and AS ABAP and refer to Web Dispatcher URLs only. That includes ICF node configuration and the redirect servlet. The URL generation in AS ABAP needs to be configured so that URLs are generated to point to the Web Dispatcher. Use table HTTPURLLOC for that.
    But how do I set up webdispatcher for both ABAP http://server1:port/nwbc (this is working fine before SSO config.) and JAVA http://server2:port/redirect/redirect.jsp?
    This is my profile on webdispatcher:
    SAPSYSTEMNAME = SID
    SAPGLOBALHOST = LOCALHOST
    SAPSYSTEM = XX
    INSTANCE_NAME = INS
    DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64
    DIR_EXECUTABLE = $(DIR_CT_RUN)
    #SAP Cryptolib
    DIR_INSTANCE = D:\usr\sap\SID\INS
    ssl/ssl_lib = D:\usr\sap\SID\INS\sec\sapcrypto.dll
    ssf/ssfapi_lib = D:\usr\sap\SID\INS\sec\sapcrypto.dll
    sec/libsapsecu = D:\usr\sap\SID\INS\sec\sapcrypto.dll
    ssf/name = SAPSECULIB
    wdisp/ssl_encrypt = 0
    icm/HTTPS/verify_client=0
    wdisp/add_client_protocol_header = true
    wdisp/auto_refresh = 120
    wdisp/max_servers = 100
    ssl/server_pse = D:\usr\sap\SID\INS\sec\sid2SSL.pse
    rdisp/mshost = <ip for abap server1
    ms/http_port = <ms http port for abap server1
    # Configuration for large scenario
    icm/max_conn = 16384
    icm/max_sockets = 16384
    icm/req_queue_len = 6000
    icm/min_threads = 100
    icm/max_threads = 250
    mpi/total_size_MB = 500
    mpi/max_pipes = 21000
    # SAP Web Dispatcher Ports
    is/HTTP/default_root_hdl = abap
    icm/HTTP/j2ee_0 = PROT=HTTP,HOST=Server2,PORT=5xxxx
    icm/server_port_1 = PROT=HTTP,HOST=localhost,PORT=xxxxx
    icm/server_port_0 = PROT=HTTPS,HOST=mydomain,PORT=xxx
    icm/HTTP/mod_0 = d:\usr\sap\SID\SYS\profile\filter_rules.txt
    icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=$(DIR_DATA)$(DIR_SEP)icmandir,AUTHFILE=$(icm/authfile),PORT=xxxxx,HOST=LOCALHOST
    and this is the filter_rules.txt
    # Rules
    if %{HTTP_HOST}  RegIMatch MYDOAMIN.COM*
    RegIRewriteUrl ^/$ /sap/bc/nwbc?sap-client=200
    if %{HTTP_HOST}  RegIMatch mydomain.com*
    RegIRewriteUrl ^/$ /sap/bc/nwbc?sap-client=200
    if %{HTTPS_HOST}  RegIMatch MYDOMAIN.COM*
    RegIRewriteUrl ^/$ /sap/bc/nwbc?sap-client=200
    if %{HTTPS_HOST}  RegIMatch mydomain.com*
    RegIRewriteUrl ^/$ /sap/bc/nwbc?sap-client=200
    I am new to this area

    You can use Web Dispatcher for multiple systems, in your case one AS ABAP and one AS JAVA. See the documentation, Implement one webdispatcher for multiple systems - Basis Corner - SCN Wiki and Name-based virtual hosts and one SAP Web Dispatcher to access multiple SAP systems.

  • How to enable full autocomplete description with own JAR ?

    Hi there,
    To put my problem simply: I've created a JAR file and wish to utilize it within another Java project. Therefor I've imported the JAR file in my project path (I've done this in Eclipse and IntelliJ) and in both IDEs the JAR file works just fine.
    But... I wish to use the autocompletion (yes, I'm a bit lame) in both IDEs. Now, whenever I import and call a function of a standard class (like java.util.Vector i.e.), the autocomplete pops up when writing the call to that specific function (i.e. add(Object o)). The autocomplete shows:
    - the parameter names & types;
    - the return type.
    Now that's what I like to see also when calling a function of a self written class included in my own JAR. The only thing the autocomplete shows is the parameter types, not their names.
    How on earth do I enable my autocompletion to show also the names of the parameters ?
    I thought the blame could be the IDEs, but it's rather unlikely when two different IDEs behave similar in this matter. And it's not a bug in JAR itself. Perhaps I'm missing a specific argument when I jar up *.class files (I even tried to jar up the *.java files along, but without any results). Or perhaps it is something totally not possible (but I doubt that).
    So, who's got the answer to this matter? Thanks in advance!
    Greetings,
    Naifud

    But I did import the class I'd like the
    autocompletion on.With an "import" statement, or do you mean you added its JAR to the build path? I mean the former. That sometimes helps, and usually works for me.
    An example of how the a.c. looks like with a standard
    Java class/import:
    public object get(int index, String objectName)
    And this is how the a.c. looks like when used on my
    own class:
    public object get(int, String)Aaaaaah. That's what you mean. I thought you meant it doesn't work at all.
    Well... may I safely assume that you neither included the Javadocs nor the source code in that JAR? How would the IDE know what you call your parameters like? The binary code doesn't tell.
    I've posted this already in a forum for the Java
    IDEs, but instead of providing a proper solution,
    they turned the topic into a flaming war about that
    Eclipse would be far superiour than IntelliJ and
    otherwise. So I tried it over here, hoping for more
    civilisation ;).Forget it.

  • How to change WebAs Java URL with which it is called

    hi all,
    I am trying to activate the standard web templated for integration between BI 7.0 and EP 7.0 to execute the BEx report in Web.
    I am getting the following error:
    <b>The URL for ABAP customising table RSPOR_T_PORTAL : http://eimreymdd0.eimskip.net:50000 is not compatible with the URL  with which you call the WebAS Java : http://eimreymdd0:50000</b>
    Now, I want to change the URL of WebAS Java with which it is called.I want to change http://eimreymdd0:50000  to http://eimreymdd0.eimskip.net:50000
    How can I change this ? I want to know the location through which I can change this URL.
    Thanks in advance for your suggestion.
    Best Regards,
    Yogesh

    Hi Yogesh,
    I think you need to change you DNS server mapping.
    You can also try to change to virtual hosts property in the UME
    i.e.
    http://<host name>:<portnumber>/nwa
    Under System Management --> Configuration
    you'll find the virtual hosts.
    Regards,
    Prashil

  • How to enable sound for my center, rear and side speakers using CMSS feature from my soundcard?

    What is CMSS? and how to use it
    The following information are abstracted from our Knowledgebase on CMSS. Please check the case relevant to your sound card below. You can also access the article on directly from the URL below. Knowledgebase article
    How to enable CMSS in Creative MediaSource for Sound Blaster Audigy LS series
    Go Start, All Programs, Creative, Creative MediaSource, and click on the Creative MediaSource Player or the Creative MediaSource Organizer.
    Click on the EAX button to enable EAX. The button should now be highlighted in green.
    Next, click on the little buttons next to the EAX button, which will bring up the Creative EAX Console.
    In the EAX Console, check the CMSS 3D tab, then check the box next to Enable CMSS 3D.
    Select ether CMSS or Stereo Surround and close the EAX Console.
    You can also open the EAX Console by clicking Start, All Programs, Creative Audigy LS, EAX Console.
    How to turn CMSS on and off with the Sound Blaster Extigy?
    Using Remote Center: Press the CMSS button to toggle on and off. Ensure that speaker settings are set to 4., 5. or Auto.
    Using Play Center: In the Play Center mini-view, expand the right hand panel and click on CMSS. Choose On or Off. Ensure that speaker settings are at 4., 5. or Auto.
    Message Edited by Jason-CL on 04-2-2007 2:07 PM
    Admin notes: Updated the links - KokChoy
    Message Edited by KokChoy-CL on 06-27-2008 04:18 PM

    Sound Blaster X-Fi - Enabling Creative Multispeaker Surround (CMSS)
    The following information are abstracted from our Knowledgebase on CMSS. Please check the case relevant to your sound card below. You can also access the article on directly from the URL below.
    Knowledgebase article SID4788
    If you are listening to stereo content like MP3's or CD's and you would like the sound to be played over your surround sound speaker system, you can enable CMSS 3D on your X-Fi card. If you are playing computer games, the X-Fi's Virtual 3D via CMSS gives a highly realistic surround sound over headphones.
    It is important to remember that if you do wish to play a 5. encoded file like Dolby or DTS soundtracks, you will need to turn CMSS off. Otherwise you might not receive each discreet channel.
    Please select the mode: (More information about changing the Mode).
    Entertainment mode
    In Entertainment mode, select the 3D button.
    http://www.ask.asia.creative.com/wwimages/audio_int/xfi/xfi_cmss_entertainment.JPG
    http://www.ask.asia.creative.com/wwimages/audio_int/xfi/xfi_cmss_entertainment2.JPG
    http://www.ask.asia.creative.com/wwi...rtainment2.JPG
    Game mode
    Click the CMSS-3D tab on the left side of the Game Mode console.
    Tick the Enable CMSS-3DVirtual option .
    http://www.ask.asia.creative.com/wwimages/audio_int/xfi/xfi_gamemode_eq.jpg
    Note: CMSS is not supported in Music Creation mode.
    Message Edited by KokChoy-CL on 07-04-2008 04:28 PM

  • How to login owa using URL embedding username and password?

    Hi, guys
    Whether can users login O365 owa using url embedding username and password? Such as  https://mail.mycompany.com/owa/....username=myalias...pwd=password... ?
    I found a post http://blog.leederbyshire.com/2012/10/12/how-to-login-to-owa-2010-by-passing-credentials-in-the-url-querystring/
    But it doesn't work.
    Thanks.

    Hi,
    I don't think we can login Office 365 OWA using url embedding username and password.
    The post you found may be a way to login OWA 2010. As mentioned in the post you provided, we need to use code to support with the URL
    https://yourserver.yourdomain.com/owa/?un=yourusername&pw=yourpassword#sthash.cuiZTz5Y.dpuf, not just a simple
    URL.
    There is a location in the blog you mentioned:
    C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\auth\logon.aspx
    It's a location on a computer which installed Exchange server. As stated in the blog, we need to insert the code into the logon.aspx
    file and then login OWA with the URL.
    However, for Office 365 OWA which uses a cloud based server, we can do nothing to change the logon.aspx file for Office 365 OWA. That's why I don't think we can do the trick.
    Regards,
    Steve Fan
    TechNet Community Support

  • Clean URL in Struts and Tiles

    Hi,
    I was trying to implement an application which will have Clean URL. e.g. http://something/user/john in Struts. I mapped ActionServlet to / (and not *.do). Following is my web.xml entries:
    <servlet-mapping>
              <servlet-name>default</servlet-name>
              <url-pattern>*.css</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>default</servlet-name>
              <url-pattern>*.js</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>default</servlet-name>
              <url-pattern>*.png</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>default</servlet-name>
              <url-pattern>*.jpg</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>default</servlet-name>
              <url-pattern>*.jsp</url-pattern>
         </servlet-mapping>
         <!-- Default mapping to Struts action Servlet -->
         <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>/</url-pattern>
         </servlet-mapping>Hence for every URL entry like http://something/user my /user action config is called:
    <action path="/user"
                   type="myaction.UserAction">
                   <forward name="success" path="/User.jsp" />
                   <forward name="fail" path="/User.jsp" />
         </action>This works absolutely fine. But when I want to integrate tiles with this and change <forward> to:
    <forward name="success" path="/tiles.home" />It doesnt work. It tries to search tiles.home in struts-config.xml as an action. My tiles-config.xml is proper and I have an entry for tiles in my struts-config too.
    Has anybody ever tried to implement such an application with Clean URL and Tiles in Struts?

    Right so these where messages from the JSP compile or from the import process?

  • Performance Issue : Why does ADF Taskflow Portlet (JSF bridge portlet) loading ADF Specific images, css, js everytime from portlet producer with dynamic URL with portlet_id and context parameters?

    Hi All,
    We have used WSRP Portlet in Webcenter Portal Page. The Portlet is created using JSF Bridge out of ADF Bounded Taskflow.
    It is causing Performance issue. Every time static content like js, css and images URLs are downloaded  and the URL contain portlet_id and few other dynamic parameters like resource_id, client_id etc.
    We are not able to cache these static content as these contains dynamic URL. This ADF Specific  images, js and css files  are taking longer time to load.
    Sample URL:
    /<PORTAL_CONTEXT>/resourceproxy/~.clientId~3D-1~26resourceId~3Dresource-url~25253Dhttp~2525253A~2525252F~2525252F<10.*.*.*>~2525253A7020~2525252FportletProdApp~2525252Fafr~2525252Fring_60.gif~26locale~3Den~26checksum~3D3e839bc581d5ce6858c88e7cb3f17d073c0091c7/ring_60.gif
    /<PORTAL_CONTEXT>/resourceproxy/~.clientId~3D-1~26resourceId~3Dresource-url~25253Dhttp~2525253A~2525252F~2525252F<10.*.*.*>~2525253A7020~2525252FportletProdApp~2525252Fafr~2525252Fpartition~2525252Fie~2525252Fn~2525252Fdefault~2525252Fopt~2525252Fimagelink-11.1.1.7.0-4251.js~26locale~3Den~26checksum~3Dd00da30a6bfc40b22f7be6d92d5400d107c41d12/imagelink-11.1.1.7.0-4251.js
    Technologies Used:
    Webcenter Portal PS6
    Jdeveloper 11.1.1.7
    Please suggest , how this performance issue can be resolved?
    Thanks.
    Regards,
    Digesh

    Strange...
    I can't reproduce this because i have issues with creating portlets... If i can solve this issue i will do some testing and see if i can reproduce the issue...
    Can you create a new producer with a single portlet that uses a simple taskflow and see if that works?
    Are you also using business components in the taskflows or something? You can try removing some parts of the taskflow and test if it works so you can identify the component(s) that causes the issues.

  • How to enable social tags options on lists and ability to show the tags in Tag cloud?

    Hi,
         How to enable Social Tags on discussion list? currently this option is only visible in libraries. My requirement is to see all the items tagged with particular tag in my newsfeed using Tagcloud web part.  Thanks
    Br,
    Alam

    Hi,
       I am using sharepoint 2013, the option is not available in the list settings under the managed meta data settings. Yes, in list item the Tags&Notes option is available but that doesn't appear in the Tag cloud webpart which means list items
    are not associated with social tags. I want ability to search for all items with particular tags using Tag cloud webpart.
    Regards,
    Alamzeb Nasar

Maybe you are looking for

  • Value from condition types not to be added to material price

    Hi friends, I have a Pricing procedure for Cross company stock transfers. Supplying plant put some margin on the material price and will supply it. Now My question is how to avoid the value of the margin getting inventorized(adding to the material pr

  • How to format paragraphs in a table cell programmatically

    I am adding three paragraphs to a cell: this.currentTable.rows[0].cells[0].contents =   record[this.GUIDE_LOCNAME_ENG] + "\r" +   record[this.GUIDE_LOCNAME_FR] + "\r" +   record[this.GUIDE_LOCDESC] +"\r" +   record[this.LATITUDE] + "N " + record[this

  • Tables MARDH and MSEG - daily stock position

    Hi gurus of MM. I'm from BW and posted a thread about data from MM: Thread: 1876587 As I understand, I can calculate the stock for a given date directly from tables MKPF (field BUDAT) and MSEG. MSEG has normal movement and also the initial stock valu

  • How does session bean contain in the JSP page

    May i know how session bean contains in the JSP page If the situation is like the following ... if i dont want to put the session bean in the session like this : session.setAttribute("UserBean",userBean); the way i get the session bean is only sessio

  • Directory Service Crashing

    I have been testing leopard server and have run into a problem that puzzles me. I hope that somebody can provide some insights on this issue. Installed 10.5 server, advanced with mobile users and time machine backups. Upgraded mobile accounts from Ti