SSL (HTTPS) and SunAppServer and Navigation - NASTY PROBLEM in production

I think I have a problem with 8.1 2005Q1.... it's SSL related...
Over in the Creator forum I was grousing about a problem. Figured this is a good place too.
I have a demo app that I am hosting on a production server (Linux Fedora Core 3) and it exhibits a really NASTY issue...
as in http://swforum.sun.com/jive/thread.jspa?threadID=51252&tstart=0
I have built a demo of this app and it acts in the (same) following way...
on the appserver embedded with Creator Update 6 (App Server 8.0, I think), this app works great, no 10 second problem.
on the Sun App Server Platform Edition 8.1 I get real troubles....
when you get the first page of this app, and wait more than 10 seconds to click the MoveOn... link, you get a hung browser, if you wait less than this, it works.
I believe it shouldn't do this.
Help!!
I'd like to email the URL someone at Sun to help figure it out.
I can also send the (innocent) source code. (or a WAR) No database, no nothing, just a session bean.... 3pages and some Java Server Faces stuff...
-Kristofer

You are right. After 10 seconds the "Move on" doesn't go.
But stopping the browser and clicking "Move on" again it goes to the next page.
Could this be some browser-server interaction? Is the HTTP keep-alive (the socket remains open), but the keep-alive isn't working for some reason with SSL?
In Internet Explorer disable the "HTTP 1/1" option. You will see that the first page never stops loading, whereas a "good" https page will load and stop. So, perhaps the application server has problems with SSL?
To be sure if it is the environment or the application server, you could try using another server such as Tomcat (version 5.0.30, not 5.5.X), or trying the same environment in Windows.

Similar Messages

  • SSL (HTTPS) and SunAppServer and Navigation - NASTY PROBLEM

    Well, I'm convinced it ain't my code, because I have a bug in a jar (metaphorically speaking)
    as in http://swforum.sun.com/jive/thread.jspa?threadID=51252&tstart=0
    I have built a demo of this app and it acts in the following way...
    on the embedded appserver, everything works great, no 10 second problem. on the Sun App Server Platform Edition 8.1 I get real troubles....
    when you get the first page of this app, and wait more than 10 seconds to click the MoveOn... link, you get the hung browser,
    if you wait less than this, it works.
    Help!!
    I'd like to email the URL someone to help figure it out.
    I can also send the (innocent) source code. No database, no nothing, just a session bean....
    -Kristofer

    well, as much I had hoped to go production with SunAppServer (if not just for the admin interface), I had to do it with Tomcat 5.5.7 (whose admin iface is worse than bad). (it's emacs for me).
    on Tomcat, these problems do not exist. That's Right, I tried the exact same WAR file on 5.5.7, no delay or troubles. It's fairly serious to me, because I tend to think that everything between my client's browser and me should be under SSL. (but that could be me, I was at Netscape for the whole time and learnt the need for keeping things under wraps)
    So, in conclusion, to the 8.1 team, something they're doing Tomcat doesn't and it's a real handicap for people who run with SSL listeners.
    I'll email the project, BUT remember you need to be running it under a valid SSL cert with SSL turned on, this doesn't happen with non-SSL connections. also, to my knowledge nothing in the log indicates exceptions, but then, I've seen many "snowball" exceptions (something that happens back there, that cause something up here to fail and it's bloody hard to track down.)
    As for trying to mess with this under 8.1, I'm afraid I had to move on. It's only in the production environment it happens, and to that end, I have to make the customer work, whatever the technology. I wish I had the $$ to keep trying, but there it is.
    It's definitely in the "JSF crossed with Creator crossed with 8.1" realm and while no one group has responsibility for it at Sun, this type of problem will be endemic in these kinds of technologies - we're simply incapable of handling them without real money being put into the support pipeline - money that can't be enabled because the business ain't there to force it. Sigh.
    None the less, press on Valiant Sun, without it, your stock (and my investments) will continue to sink. (I was once an employee, a very long time ago) and while a True Believer (tm), it's stuff like this that cause the whole model to falter a bit.... But Creator is great stuff, (although I wish some higher leve abstraction were available, "next time in the cycle" they will be.
    cheers,
    Kristofer

  • E3200 - https and mac cloning problem

    Took me one whole day to get it working. 3 different Linksys tech supports worked with me in chat sessions for 5-6 hours. Eventually, figured out a trick that would get it working every time: I had to do mac address cloning manually, because somehow this router doesn't work with my cable modem with default mac address?
    The funny thing is that the first 2 tech support guys already helped me find out we should do manual mac cloning to get it working, yet the 3rd tech support guy insisted that Cisco Connect software already took care of mac cloning, there's no need to manually do it, and the only thing to blame is the intermittent network connection of my ISP. But my old D-Link works fine with the cable modem and the ISP. It's just this new E3200 router kept having problem, unless I manually clone mac address...
    Another funny thing is that, the setup page of the router allows you to enable https, yet https apparently doesn't work on this version of firmware (as of Mar 23 2012). I disabled http and enabled https only, hoping that it'd be more secure to access the setup pages that way, only to find out that since https doesn't work, there's no way to log into the router any more, unless I reset it...

    To set the router all it requires is a proper physical connectivity between your modem, router and computer. There are 2 way to setup the router.
    1)      Setting it up through Cisco Connect software.
    2)      Setting it up through manual configuration.
    Here is the link for setting up the router through Cisco Connect Software: http://www6.nohold.net/Cisco2/ukp.aspx?vw=1&docid=e30f926604334d538668529cb50ad174_21463.xml&pid=80&...
    Here is the link for setting up a Linksys router with Cable Internet service
    http://www6.nohold.net/Cisco2/ukp.aspx?vw=1&docid=0ff4c94586a345d082828ec2161aaecf_3686.xml&pid=80&r...
    Second, I would like to ask few question. Like did you try opening up the router management page by “https://192.168.1.1” in Internet Explorer 8. If not, then try to open the Router Management page in the same manner in any other browser and check whether it opens or not.

  • Smartform working fine in DEV and Quality But Problem in Production server

    Hi
    i had done a smartform ..that is working fine in devlopement and
    quality server  but the data in few of the column not appearing in production
    server.i had debug it and found prolem in S0RT Syntax ..Had not faced this kind of problem before i had 20 records in my itab.
    iam sorting it by vbeln and posnr ....
    and deleting the adjacent duplicates ....comparing veln and posnr...
    both are same ..in 20 records .
    but iam fetching the adrees number at first in the loop.
    so the first record of table is with adrs number...
                                                       vbeln          posnr
    a1       a2      a3            a4    a5     a6              a7              a8          a9
    ARE1 2006 1000029708 1   2011 513009012 CIS/M08607 471403  290644
    ARE1 2006 1000029708 1   2011 513009012 CIS/M08607              290644
    ARE1 2006 1000029708 1   2011 513009012 CIS/M08607              290644
    ARE1 2006 1000029708 1   2011 513009012 CIS/M08607              290644
    ARE1 2006 1000029708 1   2011 513009012 CIS/M08607              290644
    if i sort the above table in devlopement and quality ..it will be in the same way
    as above but in production it gets sorted in this way
                                                       vbeln          posnr
    a1       a2      a3            a4    a5     a6              a7              a8          a9
    ARE1 2006 1000029708 1   2011 513009012 CIS/M08607              290644
    ARE1 2006 1000029708 1   2011 513009012 CIS/M08607              290644
    ARE1 2006 1000029708 1   2011 513009012 CIS/M08607              290644
    ARE1 2006 1000029708 1   2011 513009012 CIS/M08607              290644
    ARE1 2006 1000029708 1   2011 513009012 CIS/M08607 471403  290644
    and when i delete duplicate only i get
                                                       vbeln          posnr
    a1       a2      a3            a4    a5     a6              a7              a8          a9
    ARE1 2006 1000029708 1   2011 513009012 CIS/M08607              290644
    in this where i dont get the adrs number so cant get adrs detail...
    Can anyone theie tell me what is the problem with it ONLY IN PRODUCTION SERVER..
    ITS WORKING FINE DEV  AND QUALITY SERVER...
    REGARDS....

    are u using my DELETE keywords ?
    if yes , then use
    delete adjacent duplicates from itab comparing all fields.
    Regards
    Prabhu

  • Crystal Reports export and print fails with SSL / https but works with http

    Windows 2008 Server, 32-bit (IIS7)
    ASP.NET 2.0
    Ajax 1.0
    Crystal Reports version 10.5.3700.0
    http:  printing works, export works
    https:  printing not working, only export to MS Excel and MS Word work.
    I am able to generate reports using both http and https, and the toolbar icons are all showing.  However, I am unable to print or export properly with SSL.
    Printing prompts me with a select printer window, and then a window 'Retrieving Page 1' follow by two messages from Crystal Print Control both stating:
    A communication error occured.  Printing will be stopped.
    Exporting generates various errors depending on which export method is being selected (however Excel and Word work over https).
    I've found the same problem on this site and other forums, but never a resolution to get exporting and printing to work with SSL.  Will someone please provide me assistance or possibly relay what settings they're using if they have Crystal Reports export or printing working over SSL in IIS7?  Everything works fine when I change the address from https to http.
    Please let me know if I can help by providing further information.  We've gone through a great deal of possible solutions with code and I'm currently looking in to IIS settings again.
    Thank you.

    Thanks Ludek. I got it by searching KB number.
    Unfortunately, it didn’t fix my problem even my IE (IE8 and IE 9) has correct setting.  I double check my version. PrintControl.CAB is version 10.2.0.1146. we use VS 2005 Crystal report and VB .NET. It works fine on HTTP. But when we use HTTPS (SSL Certificate from go daddy).
    1: Crystal report export
                Export to MS Excel, Word: pop us “File download”, then click “Save”. It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
                Export to RPt, Rich text format: It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
                Export to PDF : nothing happened.
    2: Print:
                Pop up dialog to select printer, click “Print” “. Shows windows “Crystal Report Viewer” and pop us error message box. Title is “Crystal Print Control”. Message is “An communication error occurred. Printing will be stopped”. Click “OK” and pop up error message box again.
    Please advise.
    Thank you very much!

  • CSS SSL and link modification problem

    Hi all
    We have a problem using our CSS to offload SSL for a site. The offload works for the first connection, but the web application seems to be rewriting relative links as absolute links.
    For example, a user hits the site at https://www.mydomain.com. The CSS is configured to terminate the SSL traffic, and then send HTTP to the internal web server on TCP/81.
    What we're seeing in the client's browser is that all links are being returned as http://www.mydomain.com:81/... instead of https://www.mydomain.com/...
    Any idea of how we can do this without messing around with the web server too much? I.e. is there a way on the CSS to do link translation?
    Thanks

    If the link are indeed hardcoded like this, there is nothing the CSS can do.
    Bad server design.
    If the server is returning a redirect to http://... the CSS can intercept it and rewrite it to https.
    Please verify if there is a redirect.
    Gilles.

  • Both http and https on struts in tomcat using SSL

    I want to apply both http and https as need, on a single web application on struts. My server is tomcat. I need a complete documentation. Some help me please.

    If you are terminating SSL on ACE then there is no way to do it with one policy because of ssl-proxy command. However it is possible to use same serverfarms with two VIP like this:
    access-list ACL line 10 extended permit ip any any
    rserver host TEST
      ip address 20.20.2.11
      inservice
    serverfarm host TEST
      rserver TEST
        inservice
    ssl-proxy service SSL_SERVER
      key KEY12.PEM
      cert CERT12.PEM
    class-map match-any SSL
      2 match virtual-address 10.10.2.101 tcp eq https
    class-map match-any HTTP
      2 match virtual-address 10.10.2.101 tcp eq http
    policy-map type loadbalance first-match L7_POL
       class class-default
         serverfarm TEST
    policy-map multi-match L7
       class SSL
         loadbalance vip inservice
         loadbalance policy L7_POL
         loadbalance vip icmp-reply
         ssl-proxy server SSL_SERVER
        class HTTP
        loadbalance vip inservice
        loadbalance policy L7_POL
        loadbalance vip icmp-reply
    interface vlan 210
       ip address 10.10.2.1 255.255.255.0
       service-policy input L7
       access-group input ACL
       no shutdown
    interface vlan 220
       ip address 20.20.2.1 255.255.255.0
       no shutdown
    ip route 0.0.0.0 0.0.0.0 10.90.15.1
    However, if you are not doing SSL termination on ACE and you are just doing L4 load-balancing, you will most likely need to configure SSL stickiness, which again leads to having separate policies because of the sticky serverfarms which need separate loadbalance policy lines.

  • Configuration SAP EP systems in HTTPS and SSL

    Hi,
    Can anyone tell me the regarding the configuration SAP EP systems in HTTPS and SSL.
    The scenario is  Client -->Application gateway( Web Dispatcher) -->EP6
    Regards,
    Moulinath Ray

    Hi,
    I am giving to you the steps we do for our securization (EP 7.0):
    Prerequisites:
    -Download SAP Cryptographic ToolKit at http://service.sap.com/ swdc and -> SAP Crypto-graphic Software -> SAP JAVA CryptoToolkit (J2EE Engine as of Release 6.30)
    -Unzip it with SAPCAR
    Logon in SDM and deploy the file
    Check in Visual Admin -> Dispatcher/Server -> Libraries -> core_libs iaik_jce.jar is included
    Loof for SSL Service in Config Tool in Server and Dispatcher, it should be "always"
    Steps:
    -Asking for a certificate
    Visual Admin -> Cluster -> Server (central instance ) -> Services -> Key storage -> Service_ssl -> Create
    Fill in all the data, and be careful with the common name:
    -It shouldn´t have "http" or "https" on it
    -It shouldn´t have port number on it
    For example: "https
    www.myportal.domain:port", the common name should be "www.myportal.domain"
    Visual Admin -> Key Storage -> service_ssl -> Select your certificate and u201CGenerate CSR Requestu201D
    Send the file to a CA
    -Importing the validated certificate:
    Visual Admin -> Key Storage -> Import CSR Response
    In each Server, under SSL Provider, assign the certificate to port 50001, in each Dispatcher
    Now, the portal is secure, and you can check it now.
    A last step would be export the certificate and send it to your Network Team, so they can export it in the load balancing server, reverse proxy, etc.
    You can have a look at this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    Some of the threads link:
    /message/5568001#5568001
    /thread/853387
    Regards,
    Niraj
    Edited by: Niraj Kumar on Jan 22, 2009 3:59 PM

  • HTTP and HTTPS (SSL) at the same time?

    Hi
    In our company we will use SAP Portal as a external facing portal and as portal  that uses authorisation and authentication (logon) . The question for us is: Is it possible to run the EFP without SSL and the “securede  portal” with SSL? Where do I find documentation?
    Thanks
    Christian Thulstrup

    Hi Christian,
    yes, you can run the portal with HTTP and HTTPS at the same time - it's just a question of the URL you are entering in the browser...
    <b>BUT:</b>
    If you access your portal with HTTPS <b>all</b> content provided by the portal should be accessed with HTTPS too - otherwise you will get security warnings in IE and maybe some strange behavior of the integrated content. Session Management to SAP backend systems will not work also...
    Vice-versa: if you access you portal with HTTP all content should be accessed with HTTP... obviously...
    So if your content for the external facing portal is completely seperated from the internal content - yes you can access the portal with differen protocolls.
    If it is not seperated - and that includes KM objects also - then better use one protocoll for both only!!
    Hth,
    Michael

  • HI i have macbook pro with OSX 10.8. I am facing typical problem with Wi- Fi , in school wi-fi it does'nt connects to http sites and connects only https  but in home wi-fi it connects to all all http and https sites. How fix this problem as I am new this

    HI i have macbook pro with OSX 10.8. I am facing typical problem with Wi- Fi , in school wi-fi it does'nt connects to http sites and connects only https as no security/proxy settings done but in home wi-fi it connects to all  http and https sites. How to fix this problem as I am new this operating system. Please any one help me in this as I have installed Delicious Library which is not working in school becoz it searches amzon http site.

    I would imagine that at school, you're required to connect through an HTTP proxy.
    From the menu bar, select
     ▹ System Preferences ▹ Network
    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the Proxies tab. Enter the proxy settings given to you by the network administrator. Click OK and then Apply.
    You may wish to create separate network locations for home and school. See the built-in help for instructions.

  • ActionListener and Navigation PROBLEM

    Hi , I haveing problme wiht ActionListener and Navigation ,
    I am using ActionListener and after getting values I am forwarding the
    page, but its getting to same page, below is my bean code.
         * this method edit the survey
         * @return
         public String doEditSurvey(ActionEvent event){
              //first get the question ID,questionType ,Question and Releated Answers
              String surveyQuestionID = (String) event.getComponent().getAttributes().get("surveyQuestionID");
              System.err.println("the question id is :"+surveyQuestionID);
              String surveyQuestionDesc = (String) event.getComponent().getAttributes().get("surveyQuestionDesc");
              String questionType = (String) event.getComponent().getAttributes().get("questionType");
              ArrayList surveyQuestionList = (ArrayList) event.getComponent().getAttributes().get("surveyQuestionList");
                   Iterator it = surveyQuestionList.iterator();
                   while(it.hasNext()){
                        SelectItem selectItem = (SelectItem)it.next();
                        setAnswer(selectItem.getLabel());
                        setAnswer("\n");
                   setQuestion(surveyQuestionDesc);               
                   setSelectedType(questionType);
              System.err.println("the question id is :"+surveyQuestionID);
              //System.err.println("the surveyQuestionList id is :"+surveyQuestionList);
              System.err.println("the surveyQuestionDesc id is :"+surveyQuestionDesc);
              System.err.println("the questionType id is :"+questionType);
              FacesContext facesCtx = FacesContext.getCurrentInstance();
              facesCtx.responseComplete();
              return "questionTemplate";
    so when I return this string , Its not getting their, any idea .
    Thanks
    Srikanth

    Check your faces-config.xml file for the navigation rule questionTemplate.
    SirG

  • HTTP and HTTPS connections time out--only one computer on the LAN has this problem. Also affects Internet Explorer

    For the last few days HTTP and HTTPS connections on one computer on my LAN usually time out or fail to load completely. This also affects Internet Explorer on the same machine, but email, FTP, etc. seem to be working normally. The URLs that do not load in the browsers ping normally, and load normally on another machine on the same LAN. Running Firefox in Safe Mode does not help.

    A possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox.
    See [[Server not found]] and [[Firewalls]] and http://kb.mozillazine.org/Firewalls

  • C2901, SSL_VPN and iPad/iPhone problem

    Hello,
    I've got C2901SEC/K9 and SSL-VPN licence. I've got problem with connectin to SSL-VPN from iPad via AnyConnect Secure Mobility Client 2.5.5112. In log II've got message:
    Apr 24 2012 10:27:55.563: %SSLVPN-5-SSL_TLS_ERROR: vw_ctx: UNKNOWN vw_gw: SSL_GW i_vrf: 0 f_vrf: 0 status: SSL/TLS connection error with remote at 178.180.86.42:56562
    It looks like context is unknown??? It's strange because sh webvpn context returns:
    WABAGRTGW001#sh webvpn context
    Context Name: SSL_USER
    Admin Status: up
    Operation Status: up
    Error and Event Logging: Enabled
    CSD Status: Disabled
    Certificate authentication type: All attributes (like CRL) are verified
    AAA Authentication List: default
    AAA Authorization List not configured
    AAA Accounting List not configured
    AAA Authentication Domain not configured
    Authentication mode: AAA authentication
    Default Group Policy: SSL_POL
    Associated WebVPN Gateway: SSL_GW
    Domain Name and Virtual Host not configured
    Maximum Users Allowed: 10
    NAT Address not configured
    VRF Name not configured
    Virtual Template: 10
    Virtual Access  : 2
    If I'm trying login via browser I've got login page to SSL-VPN.
    VPn config
    WABAGRTGW001#srs webvpn
    crypto vpn anyconnect flash0:/webvpn/anyconnect-win-2.5.3055-k9.pkg sequence 2
    crypto vpn csd flash0:/webvpn/sdesktop.pkg
    webvpn gateway SSL_GW
    ip interface GigabitEthernet0/0 port 443
    http-redirect port 80
    ssl trustpoint local
    logging enable
    inservice
    webvpn context SSL_USER
    title "Centrum Medyczne MML SSL-VPN"
    login-photo file flash:/webvpn/mml_o-nas01.jpg
    logo file flash:/webvpn/logo.jpg
    secondary-color white
    title-color #6060FF
    text-color black
    login-message "Authorized users only!"
    policy group SSL_POL
       functions svc-enabled
       timeout idle 600
       timeout session 43200
       svc dns-server primary 10.1.1.81
       svc wins-server primary 10.1.1.81
    virtual-template 10
    default-group-policy SSL_POL
    aaa authentication list default
    gateway SSL_GW
    max-users 10
    logging enable
    ssl authenticate verify all
    url rewrite
       unmatched-action redirect
    inservice
    For me it's confusing. It works before IOS upgrade. Currently I'm using :
    Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.2(3)T, RELEASE SOFTWARE (fc1)
    Thanks for help
    Marcin

    Marcin,
    Anyconnect from mobile devices to IOS headend (unlike ASA) is not something that Cisco supports (yet). Some people have reported it to work, but we have never claimed that it would.
    We're tracking this under following enhancement request:
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtx24822
    You can get in touch with your account team to discuss this, for now it's due for March 2013 (tentative).
    M.

  • XSLT and XML integration problem

    Hi there,
    Got a problem that I dont understand why its happening. I have an XML document (produced by the JDOM ResultSet Builder).
    And I run it through a stylesheet and the data comes up normally. When I now add the banner and navigation bar details to the stylesheet document leaving all the transformatio stuff the same, but there is no longer an output in my browser.
    Checking catalina.out shows a
    java.lang.nullPointerException
    which occurs just when Im about to do the transformation .....
    Transformer transformer = template.newTransformer();
    Any ideas why this is so.
    Many thanks
    JS
    Here's my code FYI
    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <result>
         <entry>
              <StudentID>9917217</StudentID>
              <DCSCentralID>1</DCSCentralID>
              <FirstName>Jason</FirstName>
              <LastName>Smartt</LastName>
              <DateOfBirth>10 June 1976 00:00:00 o'clock BST</DateOfBirth>
              <TermTimeAddress>25 Oakwood Close, Burton, London</TermTimeAddress>
              <TermTimePostCode>SE5 3LS</TermTimePostCode>
              <PermanentAddress>15 West Wickham Road, Bromley</PermanentAddress>
              <PermanentPostCode>BR4 5TT</PermanentPostCode>
              <PermanentPhoneNumber>02074556789</PermanentPhoneNumber>
              <MobileTelephone>07987 654664</MobileTelephone>
              <EmailAddress>[email protected]</EmailAddress>
              <EntryQualifications>AAC</EntryQualifications>
              <YearOfEntry>1999</YearOfEntry>
              <YearOfGrad>2003</YearOfGrad>
              <CurrentStage>3</CurrentStage>
              <CandidateNumber>E08956</CandidateNumber>
              <LecturerID>TC01</LecturerID>
              <UCASCode>G4N2</UCASCode>
              <Photograph />
         </entry>
    </result>
    XSL Document
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="/">
         <html>
              <xsl:apply-templates select="result/entry"/>
         </html>
         </xsl:template>
         <xsl:template match="result/entry">
         <head>
         <title>MyDetails</title></head>
         <body bgcolor="#FFFFFF">
    <table border="1" width="100%" height="82" cellspacing="0" cellpadding="0" bgcolor="#FFCC00" bordercolordark="#666666" bordercolorlight="#CCCCCC">
    <tr>
    <td width="22%" height="90" bordercolor="#0000FF" valign="middle" align="center"><!--mstheme--><font face="Arial, Arial, Helvetica">
    <h1 align="center"><i><font face="Arial Black" color="#000000">my</font></i><font face="Arial Black" color="#000000">DCS</font></h1>
         <!--mstheme--></font>
    </td>
    <td width="61%" height="90" bordercolorlight="#000000"><!--mstheme--><font face="Arial, Arial, Helvetica">
    </td>
    <td width="17%" height="90" bordercolorlight="#000000"><!--mstheme--><font face="Arial, Arial, Helvetica">
    </td>
    </tr>
    </table>
    <!--mstheme--><font face="Arial, Arial, Helvetica"><!--mstheme--></font>
                   <table border="0" width="100%" cellpadding="0" cellspacing="0" height="355">
                        <tr>
                        <td width="100%" colspan="2" bgcolor="#FFFF00">
                             <p align="center"><font face="Verdana"><b>MyDetails</b></font></p></td>
                        </tr>
                        <tr>
                        <td width="50%"><b>Personals</b></td>
                        <td width="50%"></td>
                        </tr>
                        <tr>
                        <td width="50%"><font face="Verdana">Student ID</font></td>
                        <td width="50%"><font face="Courier"><xsl:apply-templates select="StudentID"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%"><font face="Verdana">DCSCentralID</font></td>
                        <td width="50%"><font face="Courier"><xsl:apply-templates select="DCSCentralID"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%"><font face="Verdana">First Name</font></td>
                        <td width="50%"><font face="Courier"><xsl:apply-templates select="FirstName"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%"><font face="Verdana">Surname</font></td>
                        <td width="50%"><font face="Courier"><xsl:apply-templates select="LastName"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Date Of Birth</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="DateOfBirth"/></font></td>
                        </tr>
                        <tr>
                             <td width="50%" height="21"></td>
                        <td width="50%" height="21"></td>
                        </tr>
                        <tr>
                        <td width="100%" colspan="2" height="21"><b>Address Information</b></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Term-Time Address</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="TermTimeAddress"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Term-Time Postcode</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="TermTimePostCode"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Permanent Home Address</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="PermanentAddress"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Permanent Home Postcode</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="PermanentPostCode"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Permanent Phone Number</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="PermanentPhoneNumber"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"></td>
                        <td width="50%" height="21"></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><b>Contact Details</b></td>
                        <td width="50%" height="21"></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Mobile Phone Number</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="MobileTelephone"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Email Address</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="EmailAddress"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"></td>
                        <td width="50%" height="21"></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><b>Academic Information</b></td>
                        <td width="50%" height="21"></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Entry Grades</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="EntryQualifications"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Year of Entry</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="YearOfEntry"/></font></td>
                        </tr>
                        <tr>
                             <td width="50%" height="21"><font face="Verdana">Year of Graduation</font></td>
                        <td width="50%" height="21"><font face="Courier"><xsl:apply-templates select="YearOfGrad"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><font face="Verdana">Current Stage</font></td>
                        <td width="50%" height="21"><font face="Courier"><xsl:apply-templates select="CurrentStage"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><font face="Verdana">UCAS Code</font></td>
                        <td width="50%" height="21"><font face="Courier"><xsl:apply-templates select="UCASCode"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><font face="Verdana">Candidate Number</font></td>
                        <td width="50%" height="21"><font face="Courier"><xsl:apply-templates select="CandidateNumber"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><font face="Verdana">Tutor Code</font></td>
                        <td width="50%" height="21"><font face="Courier"><xsl:apply-templates select="LecturerID"/></font></td>
                        </tr>
                   </table>
         </body>
         </xsl:template>
         <xsl:template match="StudentID">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="DCSCentralID">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="FirstName">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="LastName">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="DateOfBirth">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="TermTimeAddress">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="TermTimePostCode">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="PermanentAddress">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="PermanentPostCode">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="PermanentPhoneNumber">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="MobileTelephone">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="EmailAddress">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="YearOfEntry">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="YearOfGrad">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="CurrentStage">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="UCASCode">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="CandidateNumber">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="LecturerID">
         <xsl:value-of select="."/>
         </xsl:template>
    </xsl:stylesheet>
    Thx again.
    J

    Thanks dvohra
    But in my servlet, I already have the transformer factory defined as follows
    public class JDOMServlet extends HttpServlet {
         private TransformerFactory tFactory = TransformerFactory.newInstance();
         private ResultSet rs = null;
         private StreamSource xsltSource;
         private Templates template;
         public void init(ServletConfig config) throws ServletException {
              super.init(config);
              ServletContext ctx = config.getServletContext();
              try {
                   //Want to cache the stylesheet for future resuse
                   //then it doesnt have to be loaded constantly
                   URL xslURL = ctx.getResource("/WEB-INF/viewStudentDetails.xsl");
                   System.out.println(xslURL);
                   xsltSource = new StreamSource(new java.net.URL(xslURL.toString()).openStream());
                   //xsltSource = new StreamSource(ctx.getResourceAsStream("/Web-inf/viewStudentDetails.xsl"));
                   template = tFactory.newTemplates(xsltSource);
              catch (Exception e) {
                   e.printStackTrace();
    I think the key point is that, this transformation servlet worked fine, when all it was outputting was the xml data, styled in a table. As soon as I enter more table info, (i.e. for the banner and navigation bar), the null pointer exception pops up.
    ....a lost and puzzled jase....
    Thanks again.
    JS

  • Web-building my site. FIREFOX and NAVIGATOR is great but not SAFARI. Why?

    Hi,
    I am building my web site http://www.philthesecurityguard.com/ everything works great on FIREFOX and NAVIGATOR but not SAFARI. Example: on my web site, I click on REAL LETTERS in SAFARI and HALF of orange squares appears outside of my letters. FIREFOX and NAVIGATOR have FULL orange squares on the outside of my letters. Another example: The vertical thin partitions on my web is red on FIREFOX and NAVIGATOR, but there is no red line on SAFARI. How come SAFARI is "short circuiting?" (I have Adobe GoLive web builder.) [email protected]

    > Tim G" <[email protected]> wrote
    in message
    > news:gha37j$7lg$[email protected]..
    > "jus2sho" <[email protected]> wrote in
    message
    > news:gha2rf$74r$[email protected]..
    >> Thierry,
    >> Can you elaborate a little on what you said. I'm a
    complete noob that
    >> knows a
    >> little about how to use DW. Will adding the .html
    extension fix my
    >> problem? I
    >> have yet to change it because I don't have access to
    Firefox to try out
    >> right
    >> now. I will in the morning.
    >
    >
    > You absolutely need to have an HTML-compatible
    extension. Whether that is
    > your only problem... well, fix that, and then see.
    Configuring the server would allow the OP to use file names
    with no
    extension [1], which imho would be a better approach [2].
    Cool URIs don't change...
    [1]
    http://www.w3.org/Provider/Style/URI
    [2]
    http://www.w3.org/Provider/Style/URI#remove
    Thierry | Adobe Community Expert | Articles and Tutorials ::
    http://www.TJKDesign.com/go/?0
    Spry Widgets |
    http://labs.adobe.com/technologies/spry/samples/
    [click on
    "Widgets"]
    Spry Menu Bar samples |
    http://labs.adobe.com/technologies/spry/samples/menubar/MenuBarSample.html

Maybe you are looking for