Can this be done and am I on the right track?

I guess I just need some advice on how to accomplish this - below is what I am trying to work with right now. I am new and trying - so dont laugh if its stupid.
I need to get information out of the table web groups to build the query for the second database call. I was hoping that I would be able to dynamically name the result set as it iterates through. I am having no luck with that . Is that even possible?
Let me know if you need more information.
Statement contentStmt = Conn.createStatement();
     String group = "SELECT * FROM MT."+ newID +"_Web_Groups ORDER BY orderID";
     ResultSet rsGroup = contentStmt.executeQuery(group);
               while(rsGroup.next())  {
               String buildGroupTable = rsGroup.getString(2); // Stored procedure name
               String buildGroup = rsGroup.getString(3); // Heading for section
          CallableStatement cs+"'buildGroup'" = Conn.prepareCall("{call mt." + buildGroupTable + "('"+ areaID[i] + "')}"); // make stored procedure call
          ResultSet rs+"'buildGroup'"  = cs+"'buildGroup'".executeQuery();
          out.println("<tr><td class='reportHeader' colspan=" + colCOUNT + " align='center'>" + buildGroup + "</td></tr><tr>");
               if(rs+"'buildGroup'".next()) {
                    while(rs+"'buildGroup'".next())  {
                         displayContent = "<tr>";
                         for ( int x = 0; x < colCOUNT; x++ ) {
                              displayContent = displayContent +" <td class='reportTxt'> "+ rs" + buildGroup + ".getString(x+1)+"</td>";
               } else {
               out.println("<tr><td class='reportNone' colspan=" + colCOUNT + " align='center'> No Tooling to report. </td></tr><tr>");
               out.println(nextWK + "</tr>");

rg.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 31 in the jsp file: /toolReport.jsp
Generated servlet error:
[javac] Compiling 1 source file
E:\Tomcat 5.0\work\Catalina\localhost\Evendale\org\apache\jsp\toolReport_jsp.java:171: ';' expected
          CallableStatement cs+"'buildGroup'" = Conn.prepareCall("{call mt." + buildGroupTable + "('"+ areaID[i] + "')}");
^
An error occurred at line: 31 in the jsp file: /toolReport.jsp
Generated servlet error:
E:\Tomcat 5.0\work\Catalina\localhost\Evendale\org\apache\jsp\toolReport_jsp.java:172: ';' expected
          ResultSet rs+"'buildGroup'" = cs+"'buildGroup'".executeQuery();
^
An error occurred at line: 31 in the jsp file: /toolReport.jsp
Generated servlet error:
E:\Tomcat 5.0\work\Catalina\localhost\Evendale\org\apache\jsp\toolReport_jsp.java:183: ';' expected
                         displayContent = displayContent +" <td class='reportTxt'> "+ rs" + buildGroup + ".getString(x+1)+"</td>";
^
3 errors
     org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83)
     org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315)
     org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
     org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

Similar Messages

  • TS1315 I have just purchased the new iPad with the camera connection kit. I just want to bewant to be able to insert my SD card into the Pad and only view my photos, not import them to the pad.  Can this be done and how do I do this.  Please advise.  Thaj

    I have just purchased the new iPad with the camera connection kit.  I just want to be able insert my SD card into the Pad and view my photos, not import them.Can this be done and how?  Please advise.  Thank you.

    See this article: iPad: Using the iPad Camera Connection Kit
    No, this canot be done, afaik. When your camera or card is connected, you will see the thumbnails in the camera pane, but not full size preview. So to browse your photos on the iPad you will need to import them to your camera roll. But you need not delete them from the camera or card after importing, so you might simply import selected photos to your camera roll from the camera grid and then delete them again from the camera roll after importing and browsing, without removing them from the card/camera.
    Regards
    Léonie

  • I want to change my security questions.  Can this be done and if so --how?

    I want to change my security questions.  Can this be done and if so --how?

    Click here for information. If you've forgotten the answers to the security questions and can't get them emailed to you for some reason, contact the iTunes Store staff via the link in that article.
    (76248)

  • HT1423 I would like to increase my hardrive from 2tb to 4tb can this be done and how much

    I would like to increase my hardrive from 2tb to 4tb can this be done and how much

    Hi.
    Have you tried the Brazilian Apple Store online? store.apple.com/br
    Or you might try other online retailers like:
    www.americanas.com.br
    www.submarino.com.br
    www.extra.com.br
    But, just as a piece of advice, take a deep breath before you access those websites. Prices of Apple products here in Brazil are absurdly higher than those in the US.
    Cheers.
    JP

  • HT3728 I do not need another wireless network but want to use the airport express for printer access only.  Can this be done and how?

    I do not need another wireless network but want to use the airport express for printer access only.  Can this be done and how?

    You can configure the AirPort Expess to "Join a wireless network" and enable the Ethernet port so that Ethernet devices will be able to connect.
    In order to print from the iOS devices, you will need to have an application like Printopia installed on your Mac. The Mac must be active when you want to print.
    More details here: Printopia - AirPrint to Any Printer - Print from iPad - Print from iPhone ...
    There is a free trial available for Printopia, so make sure that it will work before you buy the AirPort Express.

  • I have just purchased the new iPad with the camera connection kit.  I just want to view my photos from my SD card, not import them to the iPad.  Can this be done and how is it done?  Please advise.  Thank you.

    I have just purchased the new iPad with the camera connection kit and want to be able to view my photos full screen and not import them.  Can this be done and how?  Please advise.  Thank you.

    When connecting the Camera Connection Kit to a camera or SD card all you see are the thumbnails of the photos. I suggest you review those, select the photos you might want to see full screen, then import them to your iPad. After viewing them you can always delete them if you no longer want them on your iPad.
    I also suggest Keeping the photos on your camera or SD card until you import the to your computer and back them up to at least one other location.

  • Hi, I need a video editing software for my Power Mac G5 system. Hunted all over for one! Can anyone help me and point me in the right direction. Everything I come across is for intel based systems. Many thanks in advance.

    Hi, I need a video editing software for my Power Mac G5 system. Hunted all over for one! Can anyone help me and point me in the right direction. Everything I come across is for intel based systems. Many thanks in advance.

    I have Final Cut Studio V1 - the PPC/Intel V5/5.1 cross-grade version, which would suit your requirements perfectly. (I have it for sale at present down here).
    If you keep looking, you're sure to find a similar second hand copy in your area, without the need to upgrade your graphics card.
    I'd go for Final Cut Pro as above over any version of Express. FCP has the full version of LiveType - not the truncated version that was released later on.

  • Can this be done and how?????

    I have a PM G4 AGP with a dual 900Mhz processors and 2 HD's one 80 gig and one 120 gig, I also have an ibook g4, my question is simple, sort of, i want to set up my PM G4 AGP as a server and store it in an out of the way closet in my home and access the HD's via my lap top ibook. both are running the latest version of tiger and i have a wireless network det up in my home, where the PM G4 is connected to the wireless router via ethernet cable and the ibook connects via airport. can this be acheived and how, i have connected to the agp via the ibook by using the "go" portion on the finder menu and selecting the connect to server dialogue, then entering the name of the PM G4 but accessing files is slow and unreliable at best, i believe that this can be done as my office has a room with just desktop towers in it that we all connect to to access all information and files via our laptops or desk terminals, can i do a similar set up with the equipment i have and how?
    Thanks
    Message was edited by: atwisted1
    Message was edited by: atwisted1

    Hello! Sorry you haven't received an answer to your question. I think you would get a better response in the Tiger 10.4 forum. What you are trying to do is certainly possible with networking although I cannot tell you exactly how to get everything working as I have no need for networking myself. The weakest part of your idea is the "in the closet" idea which will certainly cause problems as being shutup in a closet will cause the machine to overheat and fail. Tom

  • I have a new mac pro notebook and wish to transfer microsoft money from my PC, can this be done and how is it done? What is the equivalent app for a mac for micro money? Thanks

    I have a macbook pro notebook and wish to transfer my microsoft money from my PC to the Mac.
    Can it be done?
    If so how?
    What is the equivilant app to microsoftmoney on a mac?
    Thanks
    Brian marks

    Let me see if I've gotten this right! You want to remove an account from BOTH machines? Do this for your new machine first, then for the other.
    Click the Apple logo on the top left of the screen, System Preferences, Users and Groups (under Systems), unlock the lock in the window if its locked (you need to know the password), select the user that you wish to remove, and click the - sign next to the + sign for Login options. A window will pop up with some options. Select Delete this user and securely, and click 'Delete user'.
    After this, do an update from the App Store.
    Thats all there is to it.
    For the other machine repeat the process except for one thing. Before you delete the user in this case YOU, you will have to give Administrator priviledges to your son bu checking the box 'Allow user to administer this computer'.
    Do NOT do anything from Finder ... if you dont know how to fix the consequences of the problems caused.
    There is no need to unauthorize your iTunes account on your new machine. Do it on the old machine though.

  • W IMac OSX v 10.9. Can this be done and if so, how?

    I am

    Jimgable wrote:
    I am
    Uh...no I don't think OS X can make you I am only Dr. Suess can do that.

  • HT1688 I just got an old Iphone 3g with 4.2.1, i would like to upgrade to the ios5. Can this be done and how?

    I just got an Iphone 3g with the version 4.2.1 ios, I would like to upgrade to ios5 so i can run more apps like facebook. The facebook app wants version 4.3 ios and newer. Can i upgrade the 4.2.1 ios to iso5 and how do I do that? Thanks

    Only if you have an older version of the facebook app that will work on iOS 4.2.1.
    Otherwise, use the facebook mobile site.

  • I want to use 2 ipads with garageband and irig and headphones and jam with a friend without annoying the neighbours.  Can this be done?

    HI, my friend and I want to jam silently using guitars, garageband, irig and headphones.  Can this be done? when setting up the leader's metronome can be heard, but that's it.  nothing else is heard bbetween the ipads.  any advice is welcome.  thanks.  Jeff

    stevel
    Please read my work on this topic which involves Premiere Elements Preroll and Postroll settings.
    ATR Premiere Elements Troubleshooting: PE: Preroll and Postroll Options Interpreted
    Especially the section relating to Titler, Roll and Crawl Titles.
    Please let us know if that worked for you.
    Thank you.
    ATR

  • Can this be done? Emailing a completed form without emailing.

    When using a standard html form, a user can fill in the required fields, press post, and abracadabra, the results of the form are emailed to the specified account and the user is redirected to a page that says your form has been submitted.
    Can this be done using a .pdf? The email button is simply retarded. Why do users have to go through the hassle of having their email client opened just to submit the form they just completed? There probably isn't any other way, but would be nice if there was.
    Is it possible to create a submit button that will automatically email the completed .pdf form to a pre-specified email address and then redirect the user to a "thank you" page? I don't want to annoy my customers by forcing them to email me the form. I just want it sent when they click "submit."
    Is this even possible? If so, is it relatively easy?
    Any help is greatly appreciated!

    >Can this be done using a .pdf?
    Sure. The principle is exactly the same: you submit data to a script
    which runs on a web server. You are limited only by what the
    programmer has made the script do. Don't be under any impression that
    it is "magic": if you have a web form which submits and then you get
    an e-mail it's because there is a script on a web server that a web
    programmer wrote to make it happen.
    > The email button is simply retarded.
    I prefer to think of it as a handy tool for testing, but nothing
    anyone would use for the real solution.
    >Why do users have to go through the hassle of having their email client ...
    They don't. Did you know that you can "submit" an HTML form to e-mail?
    But nobody does, because it just isn't a good way of working. Everyone
    expects an HTML form to submit to a web script, but for some reason
    hopes they can use direct e-mail of PDF forms.
    Aandi Inston

  • Form Validation - Can this be done?

    I have a form with several dropdown menus.
    One dropdown menu has two options yes - no
    Depending on which option is selected, i want the following
    'text' field to
    either be greyed out (if 'no' is selected) or editable (if
    'yes' is
    selected).
    Can this be done and if so, how?
    Thanks
    Andy

    Hi Paul
    Just tried your code and it does disable the text box no
    matter what was
    selected from the previous dropdown.
    How do i get the code to only disable the text box if the
    dropdown has a
    particular vaue? i.e. "no"
    it would also be great if you could point me in the right
    direction
    regarding the use of css to grey the text box out.
    Much Appreciated.
    Andy
    "Paul Davis" <[email protected]> wrote in
    message
    news:ftijsu$qq$[email protected]..
    > Yes it can, on the select form field, add:
    >
    >
    onChange="document.getElementById('field1').disabled=(this.selectedIndex==0)?'':'disabled '"
    >
    > Now, this will disable the field and any text in it
    becomes gray, and,
    > depending on the browser, some borders become gray - to
    take it further
    > you would need to assign some CSS changes as well (which
    is a little more
    > complex)
    >
    > Paul Davis
    >
    http://www.kaosweaver.com/
    > Visit us for dozens of useful Dreamweaver Extensions.
    >
    >
    http://www.communitymx.com/
    > Partner at Community MX - Extend your knowledge
    >
    > Andy wrote:
    >> I have a form with several dropdown menus.
    >> One dropdown menu has two options yes - no
    >> Depending on which option is selected, i want the
    following 'text' field
    >> to either be greyed out (if 'no' is selected) or
    editable (if 'yes' is
    >> selected).
    >> Can this be done and if so, how?
    >>
    >> Thanks
    >> Andy
    >>

  • How do I set up two separate iTunes accounts on one MacBook Pro in order to manage the wife's iPhone and my iPhone? Can this be done?

    How do I set up two separate iTunes accounts on one MacBook Pro in order to manage the wife's iPhone and my iPhone (with separate info on each of course) ? Can this be done? A little step by step would be greatly appreciated; just short step by step though, I can follow fairly well.
    Kindest Regards,
    Phil T.

    You would each need to use your own user account on the Mac, you can do this at system preferences > users & groups.

Maybe you are looking for

  • Error occurred while loading Generic extraction using Function module

    Hi all I'm trying to do INIT for Generic Extractor using Function module, but i'm getting error as "Error occurred in the source system" Error message from the source system Diagnosis An error occurred in the source system. System Response Caller 09

  • The case of the disappearing Movies?

    OK, just got a new 22" IMac and Sync'd it up to the Apple TV. It started syncing and I went to sleep as I knew it would take hours.... Well when I checked it in the morning the Apple TV would not show up in the devices. So I updated everything on bot

  • What's connected that my brother has his own apple account but my pictures are still getting sent to his iPod?

    I'm trying to stop the picture connection. I'm getting no pictures from the iPod but he is getting all my pictures what's something I can turn off to end that because he lives out of town no way for me to change anything on that iPod!

  • Newbie: Java FX Resizable Gui Layout

    Dear all, I am trying to create a User Interface for entering address data. The GUI should be resizable so i was experimenting with the jfxtras Grid Layout. With the included code a rudimentary Gui is created. My Problem is that i cannot control the

  • Vanishing file on desktop

    I was moving a file (.jpg) on my desktop and it vanished. It's still there if I search for it with Spotlight, but not with Finder. Weird. Can anyone help please? Colin