How to configure "JSP SMART UPLOAD" in "j2ee 1.2.1"?

hi there,
i am doing a project in JSP.in that the user can upload files in to the server, for doing the upload thing i have downloaded "JSPSMART UPLOAD" bean . but i dont know how to use it in j2ee 1.2.1, can any one tell me how to configure it in j2ee 1.2.1. please can any one help me.

Hi,
Given below are the guideline to use jspsmartupload
1) Copy the jspsmartupload folder(extracted) under the folder webapps of ur servlet container
2) Edit the server.xml under the <conf> folder to add the context path for jspsmartupload by adding the following
<Context path=�/jspsmartupload� docBase=�webapps/jspsmartupload� defaultSessionTimeOut=�30� isWARExpanded=�true� isWARValidated=�false�
isInvokerEnabled=�true� isWorkDirPersistent=�false� />
3) Add in the classpath
<.....>/webapps/jspsmartupload/WEB-INF/classes
And to use it in ur jsp code u have examples provided along with the download u have made. chk with them. Hope this helps.
Peekay.

Similar Messages

  • In dreamweaver mx 2004 and dreamweaver cs4, how I configure, when download/upload do not ask me to include DEPENDED FILES but act without including ?

    in dreamweaver mx 2004 and dreamweaver cs4, how I configure, when download/upload do not ask me to include DEPENDED FILES but act without including ?

    Open the Preferences panel (Edit menu on Windows, Dreamweaver menu on a Mac), and select the Site category. There are two checkboxes there for dependent files. Make sure both are selected. The Dreamweaver default is NOT to upload/download dependent files. You need to click Yes, if you want the dependent files to be included.

  • How to configure Engine/SDM for SAP J2EE  Server

    Hi Experts,
    I deployed the EAR file on J2EE Server.
    This EAR file is linked to WebModuleProject (xyz)whic has a WAR file.
    This WAR file contains one JSP. (test_jsp.jsp)
    Then on following the URL
    <a href="http://server:port/xyz/test_jsp.jsp">http://server:port/xyz/test_jsp.jsp</a>
    i m getting the following error message:
    Nov 29, 2007 11:01:40 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !
    How do i configure engine/SDM?
    What is SDM engine?

    I configured the SDM/Engine successfully
    but still following the url
    <a href="http://server:port/xyz/test_jsp.jsp">http://server:port/xyz/test_jsp.jsp</a>
    i m getting the following error
    404   Not Found
      The requested resource /WebModuleProject/test_jsp.jsp is not available
      Details:   File [WebModuleProject/test_jsp.jsp] not found in application root of alias [/] of J2EE application [sap.com/com.sap.engine.docs.examples].
    Please experts help me to dig out this problem
    Can anybody suggest me why i m getting the error?

  • How to configure Lockbox file upload (FLB2) in Canadian Currency?

    Hello Experts!
    My company has a requirement to set up a new lockbox with a Canadian bank.  Our Business Analyst asked me to post this question on this forum.  How does one go about configuring the lockbox to specify Canadian Currency?  We will need to upload files via FLB2 but there doesn't seem to be a place where we can designate the currency as CAD instead of USD.  Any help would be most welcome.  Thanks!
    Best Regards,
    Nik von Ruden

    Renan,
    Thanks for the reply!  So does this mean that the currency (in this instance CAD) is not configured in SAP?  It is handled because it's a Canadian bank, therefore they expect to deal in Canadian dollars?
    Best Regards,
    Nik von Ruden

  • How to configure Oracle jsp engine on OAS4.0.8.1

    1. How to configure Oracle jsp engine on OAS4.0.8.1 for linux
    2. How to set the parameter on OAS. The Ojsp document only give examples depict the syntax used when running in an Apache/JServ 1.0 environment

    Anyone?

  • How to configure java.security file to run j2ee programs

    Hi,
    I am using Sun one application server to run my j2ee programs.
    plz tell me how to configure java.security file inside my appserver so that i can run my servlet program that is using jsse API to create SSL sockets.
    I am not able to follow whats there in java.security file.Kindly tell how to configure it.
    Waiting for ur replies!
    Thanks,
    Akshatha

    Hi,
    I am using Sun one application server to run my j2ee programs.
    plz tell me how to configure java.security file inside my appserver so that i can run my servlet program that is using jsse API to create SSL sockets.
    I am not able to follow whats there in java.security file.Kindly tell how to configure it.
    Waiting for ur replies!
    Thanks,
    Akshatha

  • How to configure .ocx file in a JSP page

    Hi i am doing a project which involves data retrival from a Swipe card. I am going to retrive the id from the card and this data has to be sent to a JSP page. After retriving the ID from the card, we access the database and retrieve all the information required. The latter part is done thru JSP, STRUTS and EJB.
    The swipe card reader is programmed in VC++ and an OCX file is created. Now i need to know how to configure this OCX file into Java technology thru web.
    If anyone could help me, i'll be more thankful.

    out.println("<br/>"); or use of
    tag

  • How to upload ESS.sca in to  WAS server and how to configure it

    How to upload ESS.sca in to  WAS server and how to configure it.
    If business package ESS.epa how to deploy and configure it.

    Hi
    Configuring The Business Package For Employee Self Service (ESS)-mySAP ERP 2004
    contains a helpful guide on
    CONFIGURING THE BUSINESS PACKAGE FOR EMPLOYEE SELF SERVICE (ESS)-MYSAP ERP 2004
    Thanks & regards
    Arun Singh

  • How to configure rules in J2EE application

    Please tell me how to configure rules in J2EE application. Configure rules in the sense before a page gets loaded a set of rules has to be fired automatically. A general idea how you would have been configured set of rules using java classes.
    If any one would have worked on rules. Please post the code snippets as well to get the idea on how to configure rules. Thnx a lot in advance.

    user13490100 wrote:
    ya I know wht am I doing..jt asking for suggestions on using hibernate and configuration files...rules generally on load of the page for example the update address page..the user is elibigible to edit this page only on certain conditions depends on the policy..is there any other ways of doing these?
    suggestion from side not necessary to take if u dont understand the question dont pass on the comments or type wht ever you want..You are not going to get an answer unless you clearly explain in standard English what your problem is.
    Things you might want to cover:
    --What these rules are (i.e. are they business rules, for example to check if a trade is fraudulent, or to decide if a plane has radar coverage in a particular location)
    --Where these rules are currently stored, if anywhere
    --What you're trying to do with these rules.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to configure smart card login in sunray 2fs??

    Hi all,
    Please help me to configure smart card login using Sun Ray Server Software 4.0... How to assign a smart card for a particular user? Do I need to flash th smart card for user information or any other method exists?

    I'm not sure what you know or don't know about this so I'll give you what I know:
    1. Create a token reader and a token
    * Plugin a Sun Ray DTU/client
    * Check the MAC address of the Sun Ray you just plugged in
    * Access the Sun Ray admin GUI
    * Choose the 'Desktop Units' tab
    * See if your Sun Ray DTU is listed (if it isn't listed you have Sun Ray Server configuration issues...)
    * If it is listed click the identifier
    * Check the status of the DTU to see if this particular unit is already a token reader (normally it is not, i.e. by default a Sun Ray DTU is not)
    * Click 'Edit'
    * Check 'Token Reader'
    * Click 'OK'
    * /opt/SUNWut/sbin/utrestart (I'm not sure if a warm restart is OK or a hard restart is necessary)
    Now insert a shiny new Java card into your token reader's slot
    * In the Sun Ray admin GUI choose the 'Tokens' tab
    * Search for currently used tokens
    * You should see a token identifier such as 'Payflex.blah' under your desktop unit (i.e. the token reader)
    * Click the token identifier and click 'Edit'
    * Assign a username (i.e. Unix username) to the token under 'Owner'
    * Click 'OK' and remove the smart card from the token reader
    2. Assign the Token
    * Insert your smart card from step 1 into the token reader
    * In the Sun Ray GUI click 'Tokens' and 'New'
    * Under 'Identifier' you should see 'Read Identifier from Token Reader' checked
    * Click 'Read Token'
    * Assign an owner (i.e. Unix user account) and a session type (Kiosk or Regular)
    * Click 'OK'
    Item 2 from the notes I used for this looks alot like item 1 so I can't say that it is strictly necessary.
    I don't have a Sun Ray Server accessible to me at the moment to confirm but this procedure should help I hope.

  • How to configure MySQL to be used with J2EE 1.3.1 -- Very Very URGENT.

    Hi All,
    I have downloaded Sun's J2EE reference implementation 1.3.1. I want to use MySQL as my database instead of the default database Cloudscape that comes with J2EE SDK 1.3.1. Can any one help me configuring in doing the same.
    Thanks and regards,
    Venky.

    Hi! I had the same problem, too. I�m Brazilian and I�ve been learning the English language yet, but I�ll try to describe how to configure J2EE with MySQL.
    I am using MySQL version 4.1.7 with J2EE version 1.3 on Windows XP Professional. The driver version of MySQL is 3.0.16.
    You have to configure the following two files:
    - <J2EE_HOME>\bin\setenv.bat
    - <J2EE_HOME>\config\resource.properties
    Do the following steps:
    1) Copy the JAR file of MySQL driver (mysql-connector-java-3.0.16-ga-bin.jar) to <J2EE_HOME>\lib directory.
    2) In <J2EE_HOME>\bin directory open the setenv.bat file and analize the code. It is not hard to understand the code, it is just the classpath configuration of J2EE. After understand it, add a reference of MySQL driver (mysql-connector-java-3.0.16-ga-bin.jar), that was copied to <J2EE_HOME>\lib directory.
    3) Run the <J2EE_HOME>\bin\j2eeadmin.bat to configure the resource.properties file.There are two command lines to be executed, as below:
    - j2eeadmin.bat -addJdbcDriver <CLASS NAME OF THE DRIVER>
    - j2eeadmin.bat -addJdbcDatasource <JNDI NAME> <URL>
    For example:
    - j2eeadmin.bat -addJdbcDriver "com.mysql.jdbc.Driver"
    - j2eeadmin.bat -addJdbcDatasource "jdbc/mysql/test" "jdbc:mysql://localhost/test?user=username&password=pass"
    4) After run j2eeadmin.bat, the resource.properties file will be modified. But when I did it and when I executed the verbose command to start J2EE, some error messages was exhibited. So I decided to open the resource.properties file and I noticed that the character "\" was added erroneously in a lot of places of the code. It did not seem correct, so I decided to remove these characters replacing them. Bingo!!! After I did it, I run verbose again and no more message error ocurred. I think it is a bug of J2EE.
    Finish! I modified the datasource JNDI to access MySQL and then I run my EAR application. No problems occurred. My application is running succesfully.
    Good luck!

  • How to configure the .EAR to the OC4J server step by step ?

    I have configured the JavaBean of the OC4J server with the following step:
    1.create the eosp.ear with the JDeveloper's wizard
    2.copy the eosp.ear to the OC4J Server with the Path:
    J2EE_HOME/applications/
    3.modify the server.xml and add the following words:
    <application name="eosp" path="../applications/eosp.ear" auto-start="true"/>
    4.restart the OC4J server and show the information:
    Auto-deploying eosp (New server version detected)...
    5.create the new JSP and this source code is:
    <%@ page import="com.beautybeard.eosp.common.*"%>
    <%@ page import="com.beautybeard.eosp.constant.*"%>
    6.visit the JSP and show the error information:
    Error parsing JSP page /eosp/usr_profile/login.jsp
    Syntax error in source/eosp/usr_profile/login.jsp.java:5: Package com.beautybeard.eosp.common not found in import.import com.beautybeard.eosp.common.*; ^/eosp/usr_profile/login.jsp.java:6: Package com.beautybeard.eosp.constant not found in import.import com.beautybeard.eosp.constant.*; ^2 errors
    why?
    why can not find the package?
    please help me out

    Hi Sky-
    It looks like you have a web application only.
    You need to create a war file as described above. A war file is a jar'd file containing your web components, including your javabean class files, etc. JDeveloper 9i can do this for you. You've already done the hard work. Suppose that the project you have created that contains your javabeans, etc in JDev 9i is called myproject (with myproject.jpr as the project file). Right click on the myproject.jpr in the JDev navigator and select 'new...', go to Deployment Profiles and select J2EE Web Module (WAR File) - a general screen will pop up asking you to save the deployment profile (you can just use the default if you want). Once you select OK on that, you will get a screen that calls itself the J2EE Web Module Deployment Profile Settings. This is the screen that you can use to enter your information.
    Your servlet and javabean classes will go into WEB-INF/classes subdirectory that you see to your left in this window. Simply select the WEB-INF/classes entry and it will display a list of your java sources (it will only place the compiled output in this directory - there is a toggle for it).
    Once you have specified that your javabean and servlet classes go in this directory, you should be set. Go ahead and save / close. In your navigation screen under your project (myproject.jpr or whatever your project name is) you will see your files, jsps, etc and something called webapp1.deploy (if you accepted the default). If you right-click on that, you will get a menu that asks a number of things, one of which is to Deploy to EAR file. Select that entry and it will create an ear file for you. You can play with the various settings to change the name of the ear file, but that's about all you have to do. Once this is completed, you can put the EAR file on your linux box or wherever you want, adjust your server.xml and default-web-app.xml files and launch the app!
    Good luck!
    Ray
    Hi,Ray
    Thank you for giving me the detail information!
    I'm sorry that I can not give the detail and clear problem ,which make you delusoried.
    ok,now I give you my aim.
    1. I will construct my application system with JavaBean(not EJB),Servlet,JSPs (linux+IAS+JDeveloper+Oracle8i database)
    2. I will package business function with JavaBean. example:
    * CheckLogin.java
    package com.beautybeard.eosp.javabean.usrprofile;
    import com.beautybeard.eosp.common.*;
    import com.beautybeard.eosp.data.*;
    import java.io.*;
    import java.lang.*;
    public class CheckLogin{
    public CheckLogin()
    //do nothing here
    public boolean getCheckLogin(){
    3. I will control the request and response with Servlets.
    example:
    *CheckLoginSevlet.java
    package com.beautybeard.eosp.servlet.usrprofile;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import com.beautybeard.eosp.servlet.*;
    import com.beautybeard.eosp.javabean.usrprofile.*;
    public class CheckLoginServlet extends DefaultServlet
    public void service(HttpServletRequest req,HttpServletResponse res) throws IOException, ServletException
    //use the JavaBean
    CheckLogin cl = new CheckLogin();
    if (cl.getCheckLogin){
    res.sendRedirect("login.jsp");
    }else{
    res.sendRedirect("err.jsp");
    4. I will display the result with JSPs:
    example:
    <%//login.jsp%>
    <%@ page import="com.beautybeard.eosp.common.*"%>
    <%@ page import="com.beautybeard.eosp.data.*"%>
    5. I have success on running the above steps in the 9iJDevelper(pure java) environment(OS:Windows 2000 Server), and now I will move the JSPs ,Servlets,JavaBeans to the Server(linux) without the JDeveloper's deployment wizard.
    how to configure the IAS to carry my point?
    thank you!
    Sky liu

  • Pls help!  How to put JSP import statement...

    Hi, I just created a simple iView JSP that imports htmlb classes and now I'd like to import my own java classes onto it.  For example, in my other projects, my JSP's have <%@ page import="project28.practice.contextClass" %> on top of the page.  I currently have a file called practice.jar 
    If I want to put this import statement into my simple iView JSP and use it, what would I have to do/configure?, do I have to transform it into a .par file?  Or can I  transport the jar file to the portal?  Any changes on NetWeaver?
    I am new to this so any detailed help or suggestions are greatly appreciated!
    Thanks again,
    Baggett

    Hi Detlev, thank you for your response!  I'd like to include more details of my situation right now:  I have 2 projects on NetWeaver:
    Project#1: Java Web application Project. (jar files, WEB-INF, WEB-INF/web.xml, JSP's...)
    Project#2: Portal Application Project. (JSPDynPage, sap plugins, PORTAL-INF/portalapp.xml, JSP)
    I'd want my JSP file in Project#2 to call some classes from the jar files of Project#1. 
    From my understanding, to do this I need to make a .par file out of Project #1 and then upload the par file to my SAP EP6.0 so that my future JSP's can import classes from it.  Am I correct?
    I am confused right now as to how to really do this.  On Netweaver, I am getting a Error when I try to do: File --> New --> Project --> Portal Application --> Create a Portal Application Project > I then enterProject Name: TestProject28, Project root folder: c:\TestProject\webapps\project1 
    --> "ERROR: Invalid project description, Reason:An error has occured while trying to create the project structure"
    If possible can you please provide detailed instructions on how to configure or build a par file out of my java web application stated above?
    Thank you so much for your time and help!
    Baggett

  • Configuring JSP's in Weblogic server 7.0

    Hi,
    I'm trying to port my web application from weblogic server 6.1 to weblogic
    7.0. I'm having a little problem with jsp pages in weblogic 7.0. Some of the text
    box controls which are populated dynamically in my jsp pages are getting populated
    with
    "null" value in WL 7.0 e.g. in the following case
    <%
    String claim_id=null;
    %>
    <input type=text value=<%= claim_id %> >
    on weblogic 6.1 an empty string is printed but in wl 7.0 null is printed as the
    value for the text field.
    I used the domain configuration wizard in wl 7.0 to make a WLS Domain and then
    deployed my application. If I deploy the same application in one of the examples
    domain which is installed with Weblogic 7.0 then everything works fine. So its
    definity a configuration issue.
    Could someone please help me with this.
    Thanks,
    -Taqdees.

    As per the j2ee 1.2, jsp 1.2 specification mandates that the expressions
    default must be "null".
    We have introduced a new flag in weblogic.xml called printNulls which is
    true by default meaning that "null" will be the default.
    Setting this to false makes sure that expressions(<%=expr%> ) with "null"
    results are printed as "" (earlier behavior)
    Here is how to configure the printNulls from weblogic.xml :
    <weblogic-web-app>
    <jsp-param>
    <param-name>printNulls</param-name>
    <param-value>false</param-value>
    </jsp-param>
    </weblogic-web-app>
    Regards,
    Eric
    "taqdees malik" <[email protected]> wrote in message
    news:3daaff99$[email protected]..
    >
    Hi,
    I'm trying to port my web application from weblogic server 6.1 toweblogic
    7.0. I'm having a little problem with jsp pages in weblogic 7.0. Some ofthe text
    box controls which are populated dynamically in my jsp pages are gettingpopulated
    with
    "null" value in WL 7.0 e.g. in the following case
    <%
    String claim_id=null;
    %>
    <input type=text value=<%= claim_id %> >
    on weblogic 6.1 an empty string is printed but in wl 7.0 null is printedas the
    value for the text field.
    I used the domain configuration wizard in wl 7.0 to make a WLS Domain andthen
    deployed my application. If I deploy the same application in one of theexamples
    domain which is installed with Weblogic 7.0 then everything works fine. Soits
    definity a configuration issue.
    Could someone please help me with this.
    Thanks,
    -Taqdees.

  • How to configure trex name server

    hi all
      while creating index i am getting the error
    Index could not be created; creating index failed: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)
    for the above error i need to configure the trex name server using  TREX Configuration in the J2EE Engine  in j2ee visual administrator .
    can any one tell me the clear path that where to configure the above and where j2ee visual administrator installed how to configure the name server
    awaiting for replies
    regards
    ganesh

    Hi Ganesh,
    In order to access the Visual Administrator, go to Start > Programs > SAP J2EE Engine > Visual Administrator. After you login, you will see 2 nodes i.e. Dispatcher and Server. Expand the Server node. Then go to "Services" and expand it. Then go all the way down to "TREX Service". Then on the right hand side, go to the property "nameserver.address" where you will key in "tcpip://<nameserver>:<port>". Then hit "Update" and click on the "Save" button. Then when you go to TRex Monitor, you should be able to see the Name Server running. Hope this helps.
    Thanks,
    Sri
    P.S Please rewards points if you find this helpful. Thanks.

Maybe you are looking for

  • Ecperf runtime bugs on BEA WebLogic Server

    I have deployed Ecperf on Weblogic server, Oracle DB on Win 2000 and tested it with the web client according to the Ecperf/README.html document, all the tests worked just fine. And I also did a data load using "loaddb.nt.bat" file, the load was succe

  • E1000g driver broken on solaris 10 u6; how to report this bug correctly?

    Question also posted in OpenSolaris forums: [http://www.opensolaris.org/jive/thread.jspa?messageID=329326] While upgrading a T2000 server to solaris 10 update 6 I found that my jumbo interfaces report errors on reboot. One frequent cause was that the

  • Protocol error in 11g

    hiiiiiii i installed oracle 11g for window7 64-bit it works good but today when i start it and entered the user name and password it shows the error message of ORA-12560: TNS:protocol adapter error please give me its solution thanks

  • BUPA_DDIC not exist  in CRM 7.0...

    Hello Friends, In adding custom fields when i press COMPLETEit is showing a error called BUPA_DDIC not exist  . No dtz_800 transport request exists for system workbench. Pls help me out. Regards Vijay

  • Function module RH_GET_MANAGER_ASSIGNMENT in MSS, HR Structural auth

    Hi, - Is function module RH_GET_MANAGER_ASSIGNMENT only valid when a personnel user is flagged as 'chief position' in HR Org model ? As this function module uses MANASS evaluation path and A012 (Manages...) as relationship, can it be used without men