So far as possible configurable .jsp/sql application

Hi together!
Hope you can help me...
I like to develop an jsp/sql application, which is so far as possible configurable.
I mean, it should be possible to choose which database should be connected,
which table should be displayed.
Which fields at the front-end are editable, which Buttons should be displayed and so ...
What for possibilities are there to build such a parametrisable application?
Thanks...

there are many possiblities, one way in which i have done something similar in the past is to use XML as definition. for example if you have a user role stored in an xml doc and the user logged in is of that role then your xml doc can also hold values such as the db name, table name, sql query that is applicable to that user.
Make sense? if you have more specific questions post them here...
hope this helps.

Similar Messages

  • Is it possible to include JSF into JSP-Servlet application?

    I have an existing JSP-servlet application. I am wondering if it is OK to add new pages to this application in form of JSF?
    Thanks

    Just learn JSF and it will all be clear.
    They can perfectly co-exist and you can perfectly link or redirect from one to other (plain GET requests), you can perfectly share the same session and application scoped attributes, but for POST requests (forms submits) from JSP to JSF or vice verse you just need to understand how the one handles/expects the request parameters and that kind of stuff.

  • Help required in Weblogic 6 - Creation & Configuration of Web Application

    Forum Home > Enterprise JavaBeans[tm]
    Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
    Duke Dollars
    2 Duke Dollars assigned to this topic. Reward the best responses to your question
    using the icons below, or transfer additional Duke Dollars to this topic.
    Welcome moinshariff!
    Watching this topic.
    Previous Topic Next Topic
    This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
    Author: moinshariff Jan 22, 2002 4:55 AM
    Hi,
    I am using Weblogic 6. I have created a new Web
    Application called Web (I have not used the DefaultWebApp_myserver).
    And I have the following settings:
    Name : Web
    URI : Web
    and Path : C:\Web
    and placed my JSP files under c:\Web\
    I am able to access the first page, but after that I am not able to access the
    second page.
    I get "Error 404--Not Found" on the browser. Basically the class file is not getting
    created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
    I tried a work around for this. I copied all my files under one more folder called
    web and placed this under C:\Web
    The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
    copy under c:\web\web\.
    If I have the files under DefaultWebApp_myserver and have the setting as
    Name: DefaultWebApp_myserver
    URI: DefaultWebApp_myserver
    Path: .\config\mydomain\applications
    everything works fine.
    Can any one please let me know if there is any configuration which has to be done
    so that I do not duplicate the code in 2 directories
    Thanks in advance.
    Regards,
    Moin

    Forum Home > Enterprise JavaBeans[tm]
    Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
    Duke Dollars
    2 Duke Dollars assigned to this topic. Reward the best responses to your question
    using the icons below, or transfer additional Duke Dollars to this topic.
    Welcome moinshariff!
    Watching this topic.
    Previous Topic Next Topic
    This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
    Author: moinshariff Jan 22, 2002 4:55 AM
    Hi,
    I am using Weblogic 6. I have created a new Web
    Application called Web (I have not used the DefaultWebApp_myserver).
    And I have the following settings:
    Name : Web
    URI : Web
    and Path : C:\Web
    and placed my JSP files under c:\Web\
    I am able to access the first page, but after that I am not able to access the
    second page.
    I get "Error 404--Not Found" on the browser. Basically the class file is not getting
    created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
    I tried a work around for this. I copied all my files under one more folder called
    web and placed this under C:\Web
    The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
    copy under c:\web\web\.
    If I have the files under DefaultWebApp_myserver and have the setting as
    Name: DefaultWebApp_myserver
    URI: DefaultWebApp_myserver
    Path: .\config\mydomain\applications
    everything works fine.
    Can any one please let me know if there is any configuration which has to be done
    so that I do not duplicate the code in 2 directories
    Thanks in advance.
    Regards,
    Moin

  • Having issues after installing Essbase V9.3.1,configuring the SQL interface

    I am having issues after installing Essbase V9.3.1 and configuring the SQL interface. we are using UNIX/AIX box for our Essbase server and UDB DB2 9.1 SP6 as our SQL Interface.
    When tried to run an ESSCMD script to perform BUILDDIM operation on Essbase application using the load rule (with the SQL interface), got the error as recorded in the application log file and is attached at the bottom and the .odbc.ini file on the server looks as follows.
    Can somebody tell me whether .odbc.ini needs any correction or what else should I do to correct the issue and able to work thru using SQL interface? Appreciate any help provided in this regard. Thanks,
    .odbc.ini
    [ODBC Data Sources]
    DOLU003=IBM DB2 ODBC DRIVER
    [DOLU003]
    Driver=/home/db2inst1/sqllib/lib/libdb2.a
    Database=DOLU003
    [ODBC]
    Trace=0
    TraceFile=odbctrace.out
    InstallDir=/home/db2inst1/sqllib/odbclib
    [Mon Apr 20 15:16:29 2009]Local/New_Bud/Budget/Olapadm/Info(1021020)
    Cannot read SQL driver name for [] from [home/hyperion/.odbc.ini]
    [Mon Apr 20 15:16:43 2009]Local/New_Bud/Budget/Olapadm/Info(1013091)
    Received Command [SQLRetrieve] from user [Olapadm]
    [Mon Apr 20 15:16:43 2009]Local/New_Bud/Budget/Olapadm/Info(1021020)
    Cannot read SQL driver name for [] from [home/hyperion/.odbc.ini]
    [Mon Apr 20 15:16:43 2009]Local/New_Bud/Budget/Olapadm/Info(1021004)
    Connection String is generated
    [Mon Apr 20 15:16:43 2009]Local/New_Bud/Budget/Olapadm/Info(1021041)
    Connection String is [DSN=DOLU003;UID=...;PWD=...]
    [Mon Apr 20 15:16:43 2009]Local/New_Bud/Budget/Olapadm/Info(1021006)
    SELECT Statement [SELECT * FROM DB2OLADM.BD_DIMENSION_DEF_PC WHERE DIMENSION_ID
    = 12 ORDER BY TREE_NODE_NUM, PARENT_NODE, CHILD_NODE] is generated
    [Mon Apr 20 15:16:44 2009]Local/New_Bud/Budget/Olapadm/Info(1021013)
    ODBC Layer Error: [7] ==> [[DataDirect][ODBC 20101 driver]6013]
    [Mon Apr 20 15:16:44 2009]Local/New_Bud/Budget/Olapadm/Info(1021014)
    ODBC Layer Error: Native Error code [0]
    [Mon Apr 20 15:16:44 2009]Local/New_Bud/Budget/Olapadm/Error(1021001)
    Failed to Establish Connection With SQL Database Server. See log for more information
    --------------------------------------------------------------------------------------------------------------------------------------------

    I had similar errors when first setting up the SQL interface. Are you on a 64 bit operating system on the essbase server? If so Essbase needs to use the 32 bit odbc driver, not the default 64 bit driver.
    The 32 bit driver is still available here SysWOW64\odbcad32.exe <-----This is the 32 bit (Use)
    The Administrative tools by default uses system32\odbcad32.exe <----This is the 64 bit (Don't Use)
    Once I opened the 32 bit driver interface directly and set it up the errors went away.

  • IDOC and ALE Configuration with cross application with SD

    Hi Sap Gurus,
    Please send me some document on IDOC and ALE Configuration with cross application with SD.
    Please send me the material on my mail id [email protected]
    Regards
    shekhar

    Dear Shekhar,
    concerning EDI concept in SD: the EDI concept is intended to realize the sales and distribution process completely automatically with the help of electronical documents. These documents are sent from one customer to another, are processed mostly on the background and give a possibility to realize the sales process extremely efficiently.
    If MM-customer would like to purchase the goods then he creates the IDOC of type ORDERS and send it to SD-customer. On the SD-side the IDOC is processed via the function module IDOC_INPUT_ORDERS and creates the sales order. As confirmation the SD-side can send to MM-side the Order-Response IDOC (function IDOC_OUTPUT_ORDERS). The MM-customer can every thime send a change to the existiong order, then on SD side the ORDCHG IDOC will be processed. It can change the order like in VA02. The creation of the invoice can be made via IDOC of message type INVOIC (function IDOC_OUTPUT_INVOIC).
    So, the process can be realized completely automatically between SD and MM partners with the help of IDOCs: ORDERS, ORDCHG, ORDRSP, INVOIC.
    That's all concerning the SD-EDI.
    Additional processes in SD, where EDI are used:
    1) application of delivery schedules to the scheduling agreement: IDOC of type DELINS
    2) creation of a delivery order to the scheduling agreement: IDOC of type DELORD
    3) creation of external agent service delivery to scheduling agreement: IDOC of type EDLNOT
    4) creation of credit advice / credit memo in the frames of self-billing: IDOCs of type GSVERF, SBWAP and for external invoice creation SBINV.
    It is all processes which are realized in the SD module via EDI.
    I hope this info helps.
    Kind regards,
    Akmal Vakhidov
    Development Support SAP, Walldorf/Germany

  • Best way to manage images on jsp web application

    Hi,
    Am developing a jsp web application, in that project, the user will upload the image files, now I created an image directory in the context root and when the image is uploaded by the user it is saved in the /images directory and the image path is saved in the database. I can display this image using the <img src="images/a.jsp" > tag.
    but when I rebuild the project all the images in the /images directory get deleated but the image path is remained in the database, is there any method that I make /image dir outside my project context root so that when I rebuild the project the /images dir can get changed and my project will save images outside the context root that is in the /images dir which is now outside the project context root. and is it possible to display those images using <img src""> tag. because this time my /images dir is at D:/images . what could be the best method or way to handle images with the web application.
    any suggestion will be helpfull

    Well my friend as per your given case there are to two ways of approaching your problem.
    Case 1:
    How to save the relevant data ??
    .Create a backup folder Workstation on which you are hosting your application where you can store all the uploaded files which is outside the scope of webserver(However we can write a dedicated servlet which can access that file) and make sure we pickup from any the folder path from a specfic MessageResource bundle or an context/servlet init parameter in web.xml.
    .Write a Upload servlet/Backing Bean which saves all the files in the discussed folder using utility packages like Commons FileUpload,Oreilly MultipartRequest & etc and then register saved fileName in the database user specfic table specific to user.
    How to display the Image ??
    .Write a dedicated servlet which can pickup user related fileName specfic information from the database and the read the file from backup folder by constructing the path from the entry made as a init param in web.xml or any other custom MessageResource bundle and then stream the Image data using the ServletOutputStream.
    NOTE: do not forget to pickup & setImage file ContentType & Set the content length.
    .Just try to render the JSP view file where we are displaying the displaying the images by calling the dedicated ImageServlet.
    <img src="ImageServlet?userid=2345" align="center"/>Try to refer below posts to get a better understading.
    Dedicated Image Servlet:
    http://forum.java.sun.com/thread.jspa?threadID=5208858&messageID=9840042#9840042
    Uploading Files Using Servlet:
    http://muimi.com/j/jakarta/commons/fileupload/
    Case 2
    The second method would more or less the same but here we would save the uploaded file
    content is saved in the Database as a Blob and we would retrive it back using a dedicated image servlet again.
    However,in terms of performance the second case implementation is very costly.
    Try to refer below posts to get a better understading on the second case.
    http://forum.java.sun.com/thread.jspa?threadID=5193481&tstart=50
    http://forum.java.sun.com/thread.jspa?threadID=5211649&messageID=9853670#9853670
    Hope this might help :)
    REGARDS,
    RaHuL

  • POSSIBLE TO SELECT SPECIFIC APPLICATIONS WITH MIGRATION ASSISTANT?

    Is it possible to select specific applications to transfer from a Powerbook to an iMac? So far I've only found the given option, which imports the entire folder.
    Thanks for helping.

    http://discussions.apple.com/thread.jspa?threadID=1876275&tstart=0
    That question was answered not more than an hour ago...

  • Error "Invalid or Could not find module configuration" and "Required application module HyperionPlanning.planning is not configured

    Dear
      I use version 11.2.1, try to open an application one by planning and workspace is the error below.
      "Invalid or Could not find module configuration" and "Required application module HyperionPlanning.planning is not configured"
    I checked the oracle site, but the suggested solution is not possible because using the OHS and found the file HYSLWorkers.properties.
    Solution
    On the server que hosts the Apache component:
    1. Navigate to HYPERION_HOME%% \ common \ httpServers \ Apache \ 2.0.59 \ conf
    2. Edit the file named HYSLWorkers.properties,
    3. Locate the entry starting with "worker.HP__8300.port"
    4. Set its value to the value of the Planning web application's listening port incremented by two,
    5. Save and close
    6. Restart Apache only
    Anyone have any suggestions?

    If restarting the services does not help, run the EPM configurator again and configure foundation web server again then restart services and try logging into workspace
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Configuring Simple monitoring application

    Hi
    We have a requirement to to create the following
    Configure simple monitoring application that will check for the number of concurrent  BOBJ sessions used
      send out alerts to  team and manager when reaching a threshold. 
      Also if threshold is reached, we should also be restarting one or more CMS in the cluster to get rid of the inactive sessions.
      The same application should also have the ability to send out the usage summary by day, week and month as well.
    Please assist if there is any possibility of configuring the following in BusinessObjects applications
    Thanks & Regards,

    Have you got any chance to check here?
    SAP BusinessObjects 4.0 Monitoring Configuration - Part(1)
    SAP BusinessObjects 4.0 Monitoring Configuration - Part(2)
    SAP BusinessObjects 4.0 Monitoring Configuration - Part(3)
    You can get most of questions  answered here

  • JSP Sample Application

    We installed the SQLTAGLIB application from JSP sample application publish on TECHNET.
    Compiled and Run it successfully.
    Now we are trying to develop some Page using
    sqltaglib.tld but while compiling,
    on this line
    <%@taglib uri="sqltaglib.tld" prefix="sql" %>
    get this error message
    [ Start of root element ]
    pl. give the solution.
    Thanks
    null

    Here is some info from the docs:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Note the following requirements for using SQL tags:
    Install the file ojsputil.jar and include it in your classpath. This file is provided with the OracleJSP installation.
    Make sure the tag library description file, sqltaglib.tld, is deployed with the application and is in the location specified in the taglib directives of your JSP pages, such as in the following example:
    <%@ taglib uri="/WEB-INF/sqltaglib.tld" prefix="sql" %>
    For general information about JSP 1.1 tag library usage, including tag library description files and taglib directives, see "Standard Tag Library Framework".<HR></BLOCKQUOTE>
    Please post follow-ups in the OTN Sample Code forum.
    Thanks,
    -rh
    null

  • Is it possible to execute an application using threads in oracle db 11g?

    Hi all, I would like to know if it is possible to execute an application using threads in oracle database 11g. Actualy, I would like to know if is is possible to execute a pl/sql program in a similar way as I run threads in a java application.
    Thanks in advance.
    Edited by: user4073561 on 24/11/2010 05:19

    In oracle there is parallel execution/servers,and this is analogy java threads.Refer
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/manproc006.htm

  • Is it possible to run an application from a user or container login script?

    Is it possible to run an application from a user login script or a container login script?
    A "Force Run" application object works fine if the user's workstation is setup to auto-load "Application Window" or "Application Explorer" but in this case I'd like to run an application when someone does a manual login (ie. they right-click red "N" and choose "Novell Login...")
    Using a User Package's "Scheduled Action Policy" and the Event=Login also does not work when a user logs in manually. This type of Event seems to only apply when the user first logs into the workstation, not at a manual login.
    Thanks,
    Marc

    > Is it possible to run an application from a user login script or a
    container login script?
    Yes, see the documentation:
    http://www.novell.com/documentation/...a/a7q6999.html
    Regards
    Rolf Lidvall
    Swedish Radio (Ltd)

  • I was going to install Rosetta Stone Spanish onto my Macbook but am concerned about it taking up space on my 2GB hard-drive.  I have an external WD hard-drive; is it possible to put the application onto the external hard-drive to save space on my mac?

    I was going to install Rosetta Stone Spanish onto my Macbook 10.6.7 but am concerned about it taking up space on my 2GB hard-drive.  I have an external WD hard-drive, and I was wondering if it is possible to put the application onto the external hard-drive to save space on my Mac? 

    I think you're confused about how much hard drive space you have.  You probably have 2 GB of RAM...  there hasn't been a Mac shipped with only a 2 GB hard drive in a while.  At the bottom of any Finder window, how much space is available?
    If you're actually running low on space, you should move documents to the external drive, since many applications want to be on the system drive.

  • Is it possible to install sql server 2008 standard edition in windows server 2008 enterprise edition?

    hi,
    Please help me..
    is it possible to install sql server 2008 standard edition in windows server 2008 enterprise edition?
    will any problem arise?

    Hiya,
    Yes it it possible. No there will not be any problems.
    Short and simple :)

  • How to configure the JMS application in WSAD 5.0

    hi
    i need to configure an JMS application in WSAD 5, but while configuring the application i am checked with intial context exception. but i have configured the jndi in the server. but i cant able to run the application.
    can anybody help me like how to configure the JMS application in WSAD (can we configure it without MQ simulator if yes i need the steps)
    thanks in advance

    Hi,
    did you check the WebSphere documentation or ask a question on an IBM forum?
    Frank

Maybe you are looking for

  • Hard Drive Advice Needed.. Much Appreciated

    So I'm in the market for a new HDD for my Mid 2010 Macbook Pro 15". I'm currently looking for 1tb HDD, however I have come across 4 models of HDD's which seem to be the norm for 1TB HDD on the market today, and would like everybody's opinions on whic

  • Can external ADF application write to BPM Payload structures?

    Hi all New to BPM and trying to understand the best practices here. We have Oracle BPM 11.1.1.6.0. We have an external ADF application that will be used for online data entry, that comes in via public user. This data then needs to be reviewed and app

  • ComponentBean cannot be cast to ComponentBean

    I am receiving the following error message when trying to deploy my application on jboss: javax.faces.FacesException: Can't parse configuration file: jar:file:/C:/jboss-4.2.2-1-jsf/server/default/deploy/pims.ear/lib/jsf-facelets.jar!/META-INF/faces-c

  • PLEASE HELP ME....DOWNLOAD MOVIE VIDEOS FROM ITUNES STORE

    Hi, I am trying to buy and download movie's from the itunes music store. Is this possible or can you only purchase music? How do I do it? I went through the full tutorial for itunes and it only talks about music and podcasts...Can someone help me...t

  • Clean Install of Win7 64 bit

    I have several questions concerning what are the proper drivers to use to attempt a clean install of Win 7 64 bit using Boot Camp. I see that there are (2) documents explaining installation with Boot Camp,they are: plugin-BootCampInstall-Setup.pdf an