Error with a hyperlink in a string ...Please help

Hello,
I am trying to print out a string variable in jsp but I get this error a ";" is expected in the following line:
wsDisplay = "<a href=\"member_session_detail.jsp?wsID="+ ws.getID()+"&clientID="+client.getID()+"><%=SMUtils.parseDate(contract.getStartDate()) + " @ " + SMUtils.parseTime(contract.getStartDate())%></a>";
I know that the error is due to a simple syntax error in the html code within the string but I can not seem to find it. Any help would be greatly appreciated. Thanks,

If you do what BnB wrote, you need to then write the link value out:
<%
wsDisplay = "<a href=\"member_session_detail.jsp?wsID="+ ws.getID()+
"&clientID="+client.getID()+ ">" + SMUtils.parseDate(contract.getStartDate()) +
" @ " + SMUtils.parseTime(contract.getStartDate()) +
"</a>";
%>
<%=  wsDisplay  %>What you posted, looks like you really wanted to do this:
<%
... some Java code...
%>
<a href="member_session_detail.jsp?wsID=<%= ws.getID() %>&clientID=<%= client.getID() %>">
<%= SMUtils.parseDate(contract.getStartDate()) + " @ " + SMUtils.parseTime(contract.getStartDate()) %></a>the difference is the second one is not being assigned to a variable, it's just being written out (outside of <% %> markers, that is).

Similar Messages

  • Systemic error with times and dates across all. please help

    So, having recently made the switch to the world of Apple, I am starting to get my teeth into things - however, struggeling on a couple of fronts. The first and most frustrating for me at the moment is the fact that the time on my messaging and calanders would all appear to be the same.
    When I send and receive messages on skype - they all apear with the same time on them.
    When I open my ical (tried to sync calendars with my ipad2 myself - and initially felt very please with myself) only to find that ALL events had sat as the time...throughout the entire day, and within the event box, the time (the same time as that which appears in skype) appears inside and at the begining of every entry.
    I have tried to change the date and time settings - the clock at the top right of my screen is correct and changes as the hours go by......but still no change in the skpye messaging or in ical.....so frustrating - I use skype as a business tool and at present I am not able to copy and paste peoples messages into anythign else as the time is incorrect.
    Please help

    http://forums.macrumors.com/showthread.php?t=1373272
    https://discussions.apple.com/thread/3434340?start=0&tstart=0

  • Error with Web Deployment of Forms 6 - Please Help

    Hello Everyone - here is the issue we are having: We are deploying our app via the web and occaissionally it will hang and lock out the user id (it does this randomly). I have set the sqlnet.expire_time=2 on both the NT web server and the HP box, but that doesn't seem to make any difference. Also, when the app locks the user out, we get an error on the NT box with the following text:
    Assertion failed!
    Program: D:\ORANT\bin\ifweb60.exe
    File: E:\f992w32\src\ix\ixfs.c
    Line: 67
    Expression: window !=(ixobj*)0
    For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts
    (Press Retry to debug the application - JIT must be enabled)
    I know that this is pretty vague, but I was wondering if anyone else has experienced this sort of problem and if there is a solution or work around.
    Thanks in advance for any assistance.
    Nicole Hamre

    all this information is on OTN.
    You need to do some reading though.
    Check out:
    http://otn.oracle.com/products/forms/techlisting.html#internet
    and for sizing check out:
    http://otn.oracle.com/products/forms/pdf/6iscalability.pdf

  • I cannot install Creative Suite 5.5 on my Windows 7 Professional. I keep getting error message: "Exit Code: 15 - Media DB sync failed". I have disabled UAC and Startup items and Services with no luck. Can you please help?

    I cannot install Creative Suite 5.5 on my Windows 7 Professional. I keep getting error message: "Exit Code: 15 - Media DB sync failed". I have disabled UAC and Startup items and Services with no luck. Can you please help?

    I am sorry Erickkasner but there is no longer direct support provided for Creative Suite 5.5 installation issues.
    You are welcome to post any specific errors you are able to discover within your installation log to this discussion.  Since you are using Windows then Exit Code 15 could mean one of the following:
    Installer database is corrupted
    Update pending to your operating system
    Improper permissions set for the Media.db
    The installation log file should provide additional insight into the exact error you are experiencing.  Please make sure to use the find command to look for the words 'ERROR' and 'FATAL' to locate the relevant error messages.

  • Getting error (-1202)  can't add money with i-tunes card...Please help!

    Does anyone know what error code (-1202) means?  I can't add any money to my I-tunes store account with an i-tunes card.  Please Help! Thanks

    Contact the support staff for the stores at http://www.apple.com/emea/support/itunes/contact.html

  • I am unable to update, uninstall, or reinstall iTunes on my laptop.  Windows 7 Ultimate 32 bits.  Error code is 2330.  Can somebody please help me?

    I am unable to update, uninstall, or reinstall iTunes on my laptop.  Everything was working fine until recently when there was an update available for iTunes, and when I tried to update this, I got the message, "The installer has encountered an unexpected error installing this package.  This may indicate a problem with this package. Error code is 2330."  Can somebody please help me?
    System configuration:
    Windows 7 Ultimate 32 bits.
    Version:  6.1.7601 Service Pack 1 Build 7601
    System Directory:  C:\Windows\system32
    RAM:  1.00 GB.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. Thanks.

    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. I am getting lots of spelling errors as the MacBook laptop screen is too small. Thank you so much! .

    Contentmom6 wrote:
    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work.
    Normally, you just connect the monitor to the MacBook using a VGA adaptor that you can buy from an Apple Store.  Now try System Preferences > Displays > Detect Displays.  You should now be able to select a display mode for the monitor.  If it still doesn't work, then I'd check that everything is properly connected.  I've had problems with colours disappearing due to a faulty connection in the VGA adaptor.
    Bob

  • Pass username and password ADFS without using query string, Please help.

    pass username and password ADFS without using query string, Please help.
    I used query string , but it is unsecured to pass credentials over url, with simple tool like httpwatch , anyone can easily get the password and decrypt it.

    Hi,
    According to your post, my understanding is that you had an issue about the ADFS.
    As this issue is related to ADFS, I recommend you post your issue to the forum for ADFS.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding and support.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Hello, i have a problem with this number code  213:19,  please help me!

    Hello, i have a problem with this number code  213:19,  please help me!

    dan
    What version of Premiere Elements and on what computer operating system is it running?
    If you are using Premiere Elements 13, have you updated it to 13.1 yet? If not, please do so using an opened project's Help Menu/Updates.
    What type of user account are you using....local administrator or domain type?
    Please review the following Adobe document on the 213.19 issue. Have you read that already?
    Error 213:19 | Problem has occurred with the licensing of this product
    ATR

  • I updated my itunes and now every time i try to play a song 'internal error' shows up and itunes quits. Please help me....

    I updated my itunes and now every time i try to play a song 'internal error' shows up and itunes quits. Please help me....

    Hi Dance4Life85!
    I have a couple of troubleshooting suggestions for you regarding this issue. First, I would suggest that you reinstall iTunes, according to the instructions in this article:
    OS X Mountain Lion: Reinstall apps that came with your Mac
    http://support.apple.com/kb/PH11201
    To reinstall iTunes, download it from the Apple Downloads website.
    Apple Downloads website
    Note that all you will need to do is download iTunes and install it again, it will install over the version that is on your computer right now without issue. If your issue persists, you may want to see this article about troubleshooting third-party plugins for iTunes:
    iTunes: Troubleshooting issues with third-party iTunes plug-ins
    http://support.apple.com/kb/TS3430
    Lastly, if neither of these resolve the issue, then you may need to recreate your iTunes library. More information on this can be found here:
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/HT1451
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • I have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    i have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    First we need to know which one of the 9 different models of MacBook you have. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info (and then System Report if you’re running 10.7 Lion). When System Profiler comes up check the Model Identifier and post it back here.
    The Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010 model 7,1 White Unibody have a Mini DisplayPort. The Early 2006 model 1,1 through Early 2008 model 4,1s plus the Early and Mid 2009 model 5,2s have Mini-DVI ports. Each would take a different adapter to connect with the TV.

  • I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.

    Hi all,
    I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.
    I have already set the preferences to for page view to low zoom settings, and page fit view settings, but it never opens the pdf. Please check and provide a solution asap.
    Thanks in advance!

    Most of the documents have sensitive info on them.  I will have to do some looking for some that i can share, but will get something to upload (dropbox) as soon as I can.
    Thanks for you help.

  • Everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    Hello there Unicornbarf534,
    Thank you for using Apple Support Communities.
    It sounds like you are unable to successfully install iTunes. I recommend the troubleshooting instructions in this article named:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Here is a general outline of where the troubleshooting will take you:
    General installation troubleshooting
    1. Empty your Temp directory and restart
    2. Completely remove iTunes and related components
    3. Install the latest version of iTunes
    Additional troubleshooting
    After performing each of the steps below, you will need to completely remove iTunes and related components and then install iTunes again to determine whether the issue is resolved.
    1. Make sure you have administrator account access
    2. Make sure your folder names don't contain strange characters
    3. Get the latest Windows updates
    4. Disable other conflicting software
    Additional Information
    If you only need to install QuickTime, or if iTunes installs but QuickTime installation did not complete
    Try downloading and installing the standalone version of QuickTime from http://www.apple.com/quicktime/download/. Be sure you download the version that does not include iTunes.
    If the steps outlined in this article don't help, you may be able to find a solution to your issue by searching the Microsoft support website.
    All the best,
    Sterling

  • Sort a string :: Please help.

    Hello Everyone,
    I am having this very simple problem of sorting a String. please help.
         static String sortString(String str){
              List list = Arrays.asList(str);                    
              Collections.sort(list);
              for(int i=0, n=list.size();i<n;i++){
                   System.out.println(","+ list.get(i));
    The function is supposed to take a String and sort it & print it out. This should be simple. Where am I making mistakes? Please help!!

    Hello Everyone,
    I am having this very simple problem of sorting a String. please help.
         static String sortString(String str){
              List list = Arrays.asList(str);                    
              Collections.sort(list);
              for(int i=0, n=list.size();i<n;i++){
                   System.out.println(","+ list.get(i));
                   return str;
    The function is supposed to take a String and sort it & print it out. This should be simple. Where am I making mistakes? Please help!!

  • I do a movie whith iMovie. I finalize the project and I pass it to iDvd. Then I do a little menu and I burn my DVD. When I play my DVD on a computer or in my TV it ALWAYS begins directly with the movie and not with the menu... PLEASE HELP!!!!

    I do a movie whith iMovie. I finalize the project and I pass it to iDvd. Then I do a little menu and I burn my DVD. When I play my DVD on a computer or in my TV it ALWAYS begins directly with the movie and not with the menu... PLEASE HELP!!!!

    Go to the Map mode in your iDVD project and make sure the blue bin at the left is empty.  That's where you drag slideshows to if you want the DVD to open immediately to that slideshow and bypass the menu. 
    Click to view full size
    If there is an item in there drag it out.
    OT

Maybe you are looking for

  • Forward the mail to more than one agents in User Decision Step

    Hi All, I am referring blog http://wiki.sdn.sap.com/wiki/display/XI/User%20Decision%20step%20in%20SAP%20PI%207.1%20-%20Part%20I But my requirement is to forward the mail to group i.e. more than one agents in User Decision Step How to do this. Regards

  • Can't start macbook air osx maveriks

    can't start macbook air osx maveriks

  • Drag and Drop not working properly in Query

    Hi, In my Query, I have Material and Segment as characteristics in the rows. I have Calendar day in Free char. After executing the query, If I drag Calendar day and drop it between material and segment, Instead of coming in between the two characteri

  • Does the 8GB touch get the OS upgrade if it was sold as 3G?

    The way I understand it, the 8GB model of the Ipod touch was unchanged from 2G to 3G. Since the iOS5 page says the upgrade is for 3G Ipod Touch, will my ipod get the upgrade if its 8GB? Or does it count as a 2G? Or am I not understanding something?

  • Crashing Safari -- Missing Widgets -- Help!!!

    Since I upgraded my Quicktime yesterday Safari won't boot (so I'm using Firefox) and I tried to load my widgets and after a minute or so they didn't load info, but started vanishing form the screen. Any suggestions other than contacting a Catholic Pr