Problem with tables -- need help!

I am having problems with table formatting, when using
Preformatted text. The tables look fine in the WYSIWYG editor, but
have lots of extra space above and below the text when looking at
the output files.
I will attach the code from one of the HTML files from my
project, so you can see what I'm talking about.
Thanks.

Well, if you're talking about the single-celled table with
the line:
<p class=Preformatted>[assembly:
Ace.AceAssembly]</p>
</pre>
... you can eliminate the <P> tags. that will give you
one line less. Otherwise, your remaining space is the result of the
<PRE> tag. It, like the <XMP> tag, gives it one line of
space beneath as well.
Your alternative beyond that would be to, when needed, wrap
up the script in Javascript. That line, for instance, wouldn't need
it.

Similar Messages

  • Serious problem with database need help

    hello experts
    i am working with MS-ACCESS and connecting it with java programing
    now the problem with me are
    according to my need i have to create a table that contain Autonumber field
    but when i insert element in this table by query
    String query1 = "insert into Forum (Subject,Author,Date,Reply) values('"+param1+"','"+username+"','"+dateformat+"',"+reply+")";
    st1 = con1.createStatement(); it gives sql exception but when i remove
    autonumber field and make it simple field it works ok but i want to keep autonumber field and thn want to insert it
    is it possible to create a dynamic table in ms-access through java query like
    String query3 = "create table"+"topicId"+"( message varchar(1000) NOT NULL,author varchar(50) NOT NULL, date varchar(30) NOT NULL)";
    here topic id some variable that contain table name
    i think problem is that MS-ACCESS has no varchar data type plz help me
    The complete code i written is as follow
    <html>
    <%@ page language="java" import="java.sql.*,java.text.*"  %>
    <head>
    <title> Processing the post request </title>
    </head>
    <body background ="images/modbkgnd.jpg" bgproperties="fixed" >
    <%
       String param1="",param2="",topicId="";
       Connection con1=null;
       Statement  st1=null;
       ResultSet rs1=null;
       int a=2,reply=0;
       java.util.Date date = new java.util.Date();
       DateFormat df ;
       df = DateFormat.getDateInstance(DateFormat.FULL ,java.util.Locale.UK);
       String dateformat = df.format(date);
       String username = (String)session.getAttribute("forumlogin");
       param1=request.getParameter("Subject");
       param2 =request.getParameter("message");
    try
       Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
       con1 = DriverManager.getConnection("jdbc:odbc:lingua");
       String query1 = "insert into Forum (Subject,Author,Date,Reply) values('"+param1+"','"+username+"','"+dateformat+"',"+reply+")";
       st1 = con1.createStatement();
       out.print("hello i am here");
       boolean posubject = st1.execute(query1);
       out.print("hello i am here");
       String query2 = "select *from Forum";
       rs1 = st1.executeQuery(query2); //retriving table id for creating
        out.print("hello i am here");  //  message table
       while(rs1.next())
           topicId = rs1.getString(1);
       String query3 = "create table"+"topicId"+"( message varchar(1000) NOT NULL,author varchar(50) NOT NULL, date varchar(30) NOT NULL)";
       boolean createtable = st1.execute(query3);
       out.print("hello i am here");
       if(createtable)
          String query4 = "insert into"+"topicId"+"values('"+param2+"','"+username+"','"+dateformat+"')";
          boolean insertmess = st1.execute(query4);
    }catch(SQLException ex){
        out.print("sql exception");
    finally
       st1.close();
       con1.close();
    %>
    </body>
    </html>

    hello experts
    first i change my Date to date and thn try but it was not working.
    and thn i try as dinesh_tcs said
    i change my query as
    String query3 = "create table"+"topicId"+"( message string NOT NULL,author string NOT NULL, date string NOT NULL)";
    but nothing help me
    one more thing actually i don,t want to insert manually the field of autonumber what i want that my query work when i leave the autonumber field to insert values in the table ( or whatever way i want to insert values in that table by keeping autonuber given by MS_ACCESS)
    plz do the change in code i have maintained above or if not possible thn write the query that u have tested

  • Problem with sysdba need help

    I faced a difficult problem with sysdba. The thing is, I don't have a user name " 1/2@3 ". But the moment I connected as 1/2@3 as sysdba, then it connected automatically and to utter surprise I could drop a user.
    If it is so, then how the database will remain secure.
    Definitely there is a solution and I need it urgently.

    Hi
    c:\> sqlplus "/ as sysdba"
    After logging into SQL, check the username using:
    SQL> Show user
    If the above command returns "sys", change the password of the user "sys" using:
    SQL> Alter user sys identified by "yourpassword";
    Thank You

  • Big problems with IMac-need help

    I have an older model iMac G5 that my daughter has been using on week-ends when she comes home from the local college. She said that she was having a lot of problems with Safari quitting, getting weird messages with MS Office and kernel panics. I decided that the best thing to do would be to erase and install Leopard. During the installation process I got a message that Leopard could not install due to a problem with the base system. I then tried to install from the restore discs (which were backups that I had on hand since I couldn't find the originals) and from a Tiger install disc. I got errors each time. Now there was no longer an operating system on the iMac. I took it to the local genius bar. The genius seemed kind of frazzled since he was helping several people, but he seemed sure that it was the hard drive because of the kernel panics and the fact that he couldn't install anything onto the computer from an external firewire drive.
    I purchased a new hard drive from Amazon and a friend who is very knowledgeable about these things installed it for me. We still couldn't install an operating system. We then installed it using Target Mode by putting the Tiger DVD on a Powerbook. I then proceeded with Software Update. I had no problems with applications like iTunes and DVD player. However, whenever I tried to upgrade the operating system I got this message "The digital signature for this package is incorrect. The package may have been tampered with or corrupted since being signed by "Apple". I used Disc Utility with the Tiger DVD and it showed no problems.
    So, there is obviously something really wrong. I have no idea what it is. Any ideas out there? Should I take the iMac back to the genius bar? I don't want to spend a lot more money on it, since it is just used on week-ends when my daughter is home. Thanks.

    It could be any of those things, but likely is the motherboard. Take it in and have Apple look at it.
    Let us know what they say, please.

  • Problem with routing - Need help

    Hello,
    I need a little direction with what I think is a routing problem. Any help will be appreciated. My setup is as follows:
    Cable Modem
    27.177.21.9
    WAN - Gi0/0
    27.177.21.10
    Cisco 2901
    LAN - Gi0/1
    192.168.1.250
    Client
    192.168.1.10
    The Problem
    Router can ping LAN interface
    Router cannot ping WAN interface -X
    Router can ping Cable Modem
    Client
    Client can ping LAN interface
    Client can ping WAN interface
    Client cannot ping Cable Modem -X
    Here is my routing table:
    Gateway of last resort is 27.177.21.9 to network 0.0.0.0 (this is my cable modem)
    S*    0.0.0.0/0 [1/0] via 27.177.21.9
                    is directly connected, GigabitEthernet0/0
          27.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
    C        27.177.21.8/30 is directly connected, GigabitEthernet0/0
    L        27.177.21.10/32 is directly connected, GigabitEthernet0/0
          192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
    C        192.168.1.0/24 is directly connected, GigabitEthernet0/1
    L        192.168.1.250/32 is directly connected, GigabitEthernet0/1
    Here is a portion of my configuration:
    interface GigabitEthernet0/0
     description Cable Internet$FW_OUTSIDE$$ETH-WAN$
     ip address 27.177.21.10 255.255.255.252
     zone-member security out-zone
     duplex auto
     speed auto
    interface GigabitEthernet0/1
     description hbc_staff$FW_INSIDE$$ETH-LAN$
     ip address 192.168.1.250 255.255.255.0
     zone-member security in-zone
     duplex auto
     speed auto
     no mop enabled
    ip default-gateway 27.177.21.9
    ip forward-protocol nd
    ip http server
    ip http access-class 23
    ip http authentication local
    ip http secure-server
    ip http timeout-policy idle 600 life 86400 requests 10000
    ip route 0.0.0.0 0.0.0.0 27.177.21.9
    ip route 192.168.1.0 255.255.255.0 27.177.21.9
     Thanks in advance

    Hello Jon,
    I continue to try different configurations to get my router to connect without success. I am now trying NAT and this is where we stand now. Any help will be much appreciated.
    The problem
    Router now pings everything by ip address or name
    Client PC from inside the LAN cannot ping modem or Internet
    Relevant parts of configuration:
    ip domain name mydomain.org
    ip name-server 24.247.15.53
    ip name-server 66.189.0.100
    interface GigabitEthernet0/0
     description Internet$FW_OUTSIDE$ETH-WAN$
     ip address 27.177.21.10 255.255.255.252
     ip nat outside
     ip virtual-reassembly in
     duplex auto
     speed auto
    interface GigabitEthernet0/1
     description hbc_staff$FW_INSIDE$$ETH-LAN$
     ip address 192.168.1.250 255.255.255.0
     ip nat inside
     ip virtual-reassembly in
     zone-member security in-zone
     duplex auto
     speed auto
     no mop enabled
    ip nat pool HBC-I 27.177.21.10 27.177.21.10 prefix-length 24
    ip nat inside source list 7 pool HBC-I overload
    ip route 0.0.0.0 0.0.0.0 27.177.21.9
    ip route 192.168.1.0 255.255.255.0 GigabitEthernet0/1
    access-list 7 permit 192.168.1.0 0.0.0.255
    #show ip route
    Gateway of last resort is 27.177.21.9 to network 0.0.0.0
    S*    0.0.0.0/0 [1/0] via 27.177.21.9
          27.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
    C        27.177.21.8/30 is directly connected, GigabitEthernet0/0
    L        27.177.21.10/32 is directly connected, GigabitEthernet0/0
          192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
    C        192.168.1.0/24 is directly connected, GigabitEthernet0/1
    L        192.168.1.250/32 is directly connected, GigabitEthernet0/1
    When pinging the modem from a client inside the LAN this is what I get from NAT translations and statistics:
    #sho ip nat translations ver
    Pro Inside global         Inside local          Outside local         Outside global
    icmp 27.177.21.10:40709   192.168.1.8:40709     27.177.21.9:40709     27.177.21.9:40709
        create 00:00:05, use 00:00:00 timeout:60000, left 00:00:59, Map-Id(In): 1, 
        flags: 
    extended, use_count: 0, entry-id: 4, lc_entries: 0
    #sho ip nat statistics
    Total active translations: 2 (0 static, 2 dynamic; 2 extended)
    Peak translations: 2, occurred 00:00:04 ago
    Outside interfaces:
      GigabitEthernet0/0
    Inside interfaces: 
      GigabitEthernet0/1
    Hits: 104  Misses: 0
    CEF Translated packets: 104, CEF Punted packets: 0
    Expired translations: 7
    Dynamic mappings:
    -- Inside Source
    [Id: 1] access-list 7 pool HBC-I refcount 2
     pool HBC-I: netmask 255.255.255.0
        start 27.177.21.10 end 27.177.21.10
        type generic, total addresses 1, allocated 1 (100%), misses 0
    Total doors: 0
    Appl doors: 0
    Normal doors: 0
    Queued Packets: 0

  • Having problems with burning - need help please!

    when I try and burn a disk itunes says no recording
    software found. Everytime I start up itunes it says the drivers associated with burning are missing. It ask me to
    reinstall the software which I do and I have the same
    problem. I have other burning software but cant burn any
    itunes Ive purchased do to the format. Any help would be greatly appreciated.
    The german note is:
    Achtung
    Die Registrierungseinträge für die iTunes Treiber zum Import und Brennen von CDs und DVDs fehlen. Diese kann Folge der Installation einer anderen Software zum Brennen von CDs sein. Bitte installieren sie iTunes erneut.
    Could anybody please help me??

    I need more information about your hardware configuration. Run the iTunes Help menu -> Run CD Diagnostics... command and post the results here.
    I'm assuming that you're not running 64-bit windows.
    It sounds like the driver didn't get installed. You could try doing a repair install on iTunes --
    Windows Start menu -> Settings -> Control Panels -> Add or Remove Programs
    Select iTunes, Select Change/Remove button, Select "Repair" radio button, click OK.
    If that doesn't work, you might try downloading just the CD drivers from :
    http://www.gearsoftware.com/support/drivers.cfm
    Get the first link, not the second one that talks about gearsec compatibility.

  • Problem with ReplaceALL-- Need Help

    I want to replace "&Acirc;" with "& n b s p;" ...
    Here is my code
    String content = "&Acirc; checking &Acirc;";
    content = content.replaceAll("\u00C2", "& n b s p;");
    or
    *content = content.replaceAll("[&Acirc;]", "& n b s p;");*
    *or*
    *content = content.replaceAll("&Acirc;", "& n b s p;");*
    All the above cases works fine in JAVA 1.6 but in JAVA 1.5 its not working so please help
    The only case working for me is the below one
    *content = content.replaceAll("^\\p{ASCII}","& n b s p;");*
    but this code will replace all the ASCII characters which will not solve my problem....

    Works fine on JRockit 1.5_015

  • Problem with ichat, need help reinstalling.

    Hey guys, I'm new to mac so I need a little help.
    I did something last night to my comp and I'm not sure what it was. But when I click on the iChat icon it just comes up with a ? I search in spotlight and it's not there. I must have deleted it while getting rid of some other things. I don't have time machine and I need some help reinstalling. When I bought the mac it had Tiger and I still have those disc, but right now I have upgraded to Leopard. Where can I find iChat to reinstall? I looked on the iLife section of the Tiger discs but I couldn't find it. Any info will help.
    Thanks

    update
    I downloaded pacifist and got ichat to reinstall from my Tiger 10.4.9 disc, however, now when I try to open iChat it says, You cannot use the application “iChat” with this version of Mac OS X. I have leopard 10.5.2. Does anyone know how to update the version I have? I use the mac updater but it doesn't find anything.

  • Blacklight Problem with z61t - Need help!

    I'm at my wit's end with this, so I would appreciate some help.
    I cracked the LCD of my z61t a few weeks ago and I've gone through a number of ebay vendors trying to get a good LCD. The first one I'm 90% sure had a bad backlight. I plugged in the panel and the backlight didn't turn on. I plugged the cracked panel back in and its backlight worked. Returned it. The second panel I ordered was some generic panel even though the seller sold it as genuine. Returned it. The third panel just came in and when I plugged in the panel the backlight didn't turn on. I plugged the cracked panel in and its backlight didn't work.
    So now I ask, what's the problem? When your backlight doesn't work the causes are (1) bad CCFL tube (2) bad inverter (3) bad display cable (4) bad motherboard. All 4 were working fine a week ago, and the laptop has just been sitting on my desk for the last week, so what happened?
    One of the causes of bad motherboard is a fuse pops, which I guess could have happened.
    Another idea is that the laptop thinks the screen is closed. Older laptops had a physical switch for open/closed panel, but I haven't seen it on the z61t. Does anyone know what/where the switch is? I painted the lid and bezels (posted on thinkpads.com), so I'm wondering if the switch is covered or stuck.
    I'd appreciate any thoughts! Thanks!

    It was the inverter. Not sure what happened to it, but I cannibalized my girlfriend's z61t for a working one.

  • Problems with G5-Need Help Narrowing Down Issue

    I have I PowerMac G5 dual 2.0 GHz from the June 2004 bracket and am having issues getting it to turn on. When I press the power button I will get one of three results. One: the light will come on when pressed, the fans will rev and I can hear the hear drive start to work, but the power light will go back out after a second or two while the fans still spin. Second: the power button is depressed and no light comes on but the fans, hard drive start up, etc. Third but least common is that the power button is depressed and it will come on as normal, boot up just fine and I'm able to use the computer-going as far as running apps and games with no problem. I've taken the steps mentioned in other threads such as resetting the PSU, swapping batteries, reseating video card/RAM but the results with start up are varied so much as to I can't tell what (if anything) is helping. I don't know if it's power supply issue (because the fans and other things seem to work fine) or a motherboard issue (but that wouldn't explain why it works fine when it wants to). I'm stuck. Any help is greatl appreciated.

    Hi fiveinchwrench-
    Usually this problem is either a power supply or mother board. It sounds more like a power supply to me but there is no way to tell from here.
    It may be worth taking it to an Authorized Apple Repair Center for a diagnosis. Both a power supply and a mother board will probably be in short supply, but the power supply will by far be the cheaper component.
    Luck-
    -DaddyPaycheck

  • Serious and Sudden Problem with Z10 NEED HELP PLEASE

    I have a z10, one of the first that came out in Toronto (if it makes a
    difference), a couple of hours ago I came across a serious and sudden
    problem.
    I was able to swipe left and right between pages of apps, even drop down
    from the top, but I cannot open anything, not even make a call or settings
    options.
    Any time I try to, for a split second it looks like its about to load
    something then nothing. (image slides to the right quickly and goes back on
    every attempt)
    So I first did a reset, same problem, then I did a battery pull (about 15 minutes) and problem presisted.
    I tried through USB to do a backup on blackberry manager and perhaps do a
    re-install of everything, however when I was prompted for the password of
    my device on my PC it kept telling me it was an incorrect password (I use
    this blackberry on my computer 4-7 days a week, twice a day sometimes for a
    year and I have never miss typed my password nor have i changed it)
    After trying everything to make sure the first letter maybe was upper/lower
    case, even my other possible phone password, nothing worked..
    On the 5th failed attempt my phone prompted me to type 'blackberry', which
    i did, then i typed my password on my phone which i type in about 15 times
    a day becuase I set my phone to a 5 minute lock and still said it was incorrect.... I am no on 9/10 attempts and lost
    for options.
    Please if anyone can give me any suggestions, or even how to backup my phone
    and whipe it now, or I have an earlier backup form 4 months ago that I
    wouldnt mind going back to in worst case scenario.
    Thank you for your help in advance,
    Solved!
    Go to Solution.

    Sorry, no I haven't experienced that. It could be from an app you downloaded but that's just a guess. Wiping the device will tell us a lot. If the device still doesn't work you'll want to reload the OS using BB Link. if it still doesn't work after that then warranty support will be necessary through Rogers.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Problem with script – NEED HELP

    HELP!!! why isn't the script working?
    on adding folder items to thefolder after receiving theAddedItems
    repeat with eachitem in theAddedItems
    set theSender to "me<[email protected]>"
    set recipCommon to "Files"
    set recipAddress to (choose from list {"User 1", "User 2", "User 3"} with prompt "Select a recipient :") as text
    if result is "User 1" then
    set recipAddress to {"User 1 <[email protected]>"}
    else if result is "User 2" then
    set recipAddress to {"User 2 <[email protected]>"}
    else if result is "User 3" then
    set recipAddress to {"User 3 <[email protected]>", "[email protected]>"}
    end if
    set msgText to " type body copy here "
    tell application "Mail"
    set newmessage to make new outgoing message with properties {content:msgText & return}
    tell newmessage
    set sender to theSender
    tell application "Finder" to set theSubject to name of eachitem
    set subject to theSubject
    repeat with eachRecipient in recipAddress
    make new to recipient at end of to recipients with properties {name:recipCommon, address:eachrecipAddress}
    end repeat
    end tell
    send newmessage
    end tell
    end repeat
    end adding folder items to

    HELP......
    !!!Everything works in the below script except it doesn't send the email?!!!
    on adding folder items to thefolder after receiving theAddedItems
    repeat with eachitem in theAddedItems
    set theSender to "me<[email protected]>"
    set recipCommon to "Files"
    set recipAddress to (choose from list {"User 1", "User 2", "User 3"} with prompt "Select a recipient :") as text
    if result is "User 1" then
    set recipAddress to {"User 1 <[email protected]>"}
    else if result is "User 2" then
    set recipAddress to {"User 2 <[email protected]>"}
    else if result is "User 3" then
    set recipAddress to {"User 3 <[email protected]>", "[email protected]>"}
    end if
    set msgText to " type body copy here "
    tell application "Mail"
    set newmessage to make new outgoing message with properties {content:msgText & return}
    tell newmessage
    set visible to true
    set sender to theSender
    tell application "Finder" to set theSubject to name of eachitem
    set subject to theSubject
    repeat with eachRecipient in recipAddress
    make new to recipient at end of to recipients with properties {name:recipCommon, address:eachRecipient}
    end repeat
    repeat with eachRecipient in recipAddress
    make new to recipient at end of to recipient with properties {name:recipCommon, address:recipAddress}
    set eachRecipient to contents of eachRecipient
    end repeat
    end tell

  • Problems with W510 need help

    First problem is since I ran the new updates my laptop will not enter sleep mode by pressing the power button. It used to before now it wont. Ive checked my setting and they are still set to sleep when power button is pressed on the windows setting.
    Second, Ive been noticing that my Internet connection keeps disconnecting at random times for no reason, then it will re-connect. I never had this problem before with other laptops and my router and modem are fine.

    First, Check for updates manually to see if there's any other new updates that is not yet available in ThinkVantage System Update, if possible, update your BIOS.
    Second, try to look for new Wireless or LAN driver. Try to get newer driver from Intel.com if your wireless or LAN card is from Intel.
    Best Regards

  • Using 2006 iMac running Mac OS 10.6.8. My iTunes App (11.3.1) will not launch. Upgraded to iTunes (11.4) but problem persists. Need help.

    Using 2006 iMac running Mac OS 10.6.8.
    My iTunes App (11.3.1) will not launch.
    Upgraded to iTunes (11.4) but problem persists.
    Need help.

    I have no answers for ya, but I do have the same problem, so we are not alone in this.
    My iTunes stopped working after I did a couple of software updates that got my iTunes up to v. 11.4. Since that update, I can't get iTunes to open at all, neither from my dock nor from the Applications menu.
    I'm wondering: Perhaps these latest iTunes updates are simply too advanced for my 10.6.8 operating system? If that's the case, how can I backtrack to an earlier version of iTunes that is compatible with my computer OS?
    Any thoughts?

  • Problem with ALV search help Dictionary Search Help

    Hello experts
    I have a problem with ALV search help.
    I use DDIC table ZXXX with text table ZXXX_T. I created DDIC search help form table ZXXX. In my WD application, in context on COMPONENTCONTROLLER i set on attribute: 'Input help mode' as 'Dictionary Search Help' and in 'Dictionary Search Help' I pass name of new created DDIC search help.
    I create a input field from that atrribute and search help works fine (there was a value and description for value from text table). So I created ALV witch contains that attribute too.
    Next I set column for this attribute in ALV as editable but on Serch help for this collumn I have only value. I DON'T HAVE TEXT DESCRIPTION FOR VALUE.
    Please help me and tell me what I do wrong?
    Miko

    Hello,
    Thank's for your help. I create DDic Search help for all fields from my ALV. Next I changed 'TYPE' for all ALV fields in COMPONENTCONTROLLER from ZXXX-Zfield to Zfield, and I changed 'Input help mode' from 'Automatic' to 'Dictionary Search Help'. Now I see Value and Description for value in Search Help in my ALV.
    Regards
    Miko

Maybe you are looking for

  • IPhoto 2: suddenly won't open library...

    ...and nor will it make a new one. G5, iPhoto 2, Tiger. iPhoto worked just fine yesterday. Today, Software Update reports two updates to d/l and install: Quicktime 7.1.2 and OS X Update 10.4.7. (nothing to do with iPhoto!) Downloaded and installed. N

  • F-30 Posting the difference amount a Customer account

    Hi Experts, I am a Technincal Person looking for answer on transaction F-30 (Post with clearing for incoming payments). I have a requirement in BDC where I need to post the Difference amount to a Dummy/Default Customer. I have to post the items based

  • Firmware improvements & fixes for a single OS on

    Dear Creative Labs, it is to me, personally, a strange behaviour to recognize that you decided to only apply firmware improvements and bug fixes on your device (Zen Touch) for a single OS version, namely Windows XP. I understand all the implications

  • CS5.5 Audition crash on start

    Hi, I just installed CS5.5 and started Audition. It immediately gave me a crash report as follow.  I can't even start the app to change setting from the preference.  I'm running Win7 Ultimate x64 on my iMac 2010 and on this Windows enviroment, everyt

  • Is Acrobat not part of CS5?

    I purchased CS5 Master Collection (Student Edition) and was able to install and use all the software included in it with the serial key provided but I am unable to use that serial key to register Acrobat, is there a seperate serial key i'm missing or