User Profile

Collapse

Profile Sidebar

Collapse
raagadeepthi
raagadeepthi
Last Activity: Nov 2 '09, 08:00 AM
Joined: Sep 22 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • raagadeepthi
    started a topic java.lang.IllegalStateException
    in Java

    java.lang.IllegalStateException

    Getting below error when iam trying to sort the values:

    Oct 29 04:33:52 WARN [service-j2ee] cb.DefaultContr oller - Cannot forward after response has been committed
    java.lang.Illeg alStateExceptio n: Cannot forward after response has been committed
    at org.apache.cata lina.core.Appli cationDispatche r.doForward(App licationDispatc her.java:375)
    at org.apache.cata lina.core.Appli cationDispatche r.forward(Appli cationDispatche r.java:363)...
    See more | Go to post
    Last edited by Frinavale; Nov 9 '09, 04:32 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

  • raagadeepthi
    replied to File Upload using struts
    in Java
    Can someone please help
    See more | Go to post

    Leave a comment:


  • raagadeepthi
    started a topic File Upload using struts
    in Java

    File Upload using struts

    Iam trying to upload file using struts but getting "file not found exception" please suggest!!! below is the code

    public ActionForward execute(ActionM apping mapping, ActionForm form, HttpServletRequ est request, HttpServletResp onse response)
    {
    response.setCon tentType("text/html;charset=UT F-8");
    PrintWriter out;
    try {
    out = response.getWri ter();
    } catch (IOException ex) {...
    See more | Go to post

  • raagadeepthi
    replied to Script for report
    Can any one help me in this!!!
    See more | Go to post

    Leave a comment:


  • Hey iam able to do this.
    Thanks for the response...!
    See more | Go to post

    Leave a comment:


  • raagadeepthi
    started a topic Script for report

    Script for report

    I have one script for running report. But it is currently taking only 5 instances and running the script. If at all there is 6th one waiting for running, the script is not picking up the 6th report. Below is the code. Please help me in fixing this!!!!

    my_process=`/usr/ucb/ps laxwwww | grep "exec prog ECCCustomReport sWrapper.tcl" | wc -l`
    my_process=`exp r $my_process - 1`

    number_of_paral lel_processes=3...
    See more | Go to post

  • I didn't post entire code. I have a text box called username.
    If user is enetering sepecial character like % it should throw an alert.
    This is my requirement.

    Appreciate your help !!!!!!
    See more | Go to post

    Leave a comment:


  • i used the below code. But it is not working. Please help as i need to finish it off.

    Code:
    if(validate(document.loginForm))
    {
    username=document.loginForm.value;
    document.loginForm.value=username;
    if (username.indexOf("%") != -1) {
    alert ("The box has special characters. \nThese are not allowed.\n");
    }
    passwd=document.loginForm.passwd.value;
    document.loginForm.passwd.value=passwd;
    ...
    See more | Go to post
    Last edited by Dormilich; Oct 4 '09, 12:32 PM. Reason: Please use [code] tags when posting code

    Leave a comment:


  • Need to throw an alert when enetering special characters in JavaScript

    I need to throw an alert saying "Enetered special characters " alert when i click on submit button in javascript. Need code for this

    Please help!!!!!
    See more | Go to post

  • raagadeepthi
    replied to invalid file operation
    I need to read the data from file stored in local machine and insert data into table.
    See more | Go to post

    Leave a comment:


  • raagadeepthi
    replied to invalid file operation
    Any idea on how to read data from input file normally without UTL pakages as iam new to oarcle.

    I know how to load using Loader and toad but as i need to provide DBA guys a script i need to do this.

    Please help.
    See more | Go to post

    Leave a comment:


  • raagadeepthi
    replied to invalid file operation
    I got that. But iam not sure where and how exactly i have to place the file in the server directory.

    More over iam not sure if i have privileges to do so.
    See more | Go to post

    Leave a comment:


  • raagadeepthi
    replied to invalid file operation
    I dont have access to filesystem where Oracle database is installed.

    Can i read the input from file without using UTL packages?
    See more | Go to post

    Leave a comment:


  • raagadeepthi
    replied to invalid file operation
    but now when i execute the below lines procedure is successfull

    create or replace procedure utl_file_test_r ead (
    direc in varchar2,
    filename in varchar2)

    is
    input_file utl_file.file_t ype;
    input_buffer varchar2(4000);
    c NUMBER := 0;
    begin
    input_file := utl_file.fopen( direc ,filename, 'R');

    loop
    utl_file.get_li ne(input_file,i nput_buffer);...
    See more | Go to post

    Leave a comment:


  • raagadeepthi
    replied to invalid file operation
    i think D:\Public\eDR\u tl_dir is server directory.
    I cannot place the file in that location.
    See more | Go to post

    Leave a comment:


  • raagadeepthi
    replied to invalid file operation
    Below is the result:

    select * from dba_directories ;


    OWNER DIRECTORY_NAME DIRECTORY_PATH
    SYS MY_DIR1 D:/tmp
    SYS MY_DIR D:\tmp
    SYS DEEPS D:\InputFile
    SYS DEEP D:\InputFile\sa mple1.txt
    SYS EDR d:\
    SYS UTL_DIR2 D:PubliceDR
    SYS UTL_DIR D:\Public\eDR\u tl_dir
    SYS PLP_UTL_DIR D:\Public\PLP
    SYS MEDIA_DIR D:\oracle\produ ct\10.1.0\db_1\ demo\schema\pro duct_media\...
    See more | Go to post

    Leave a comment:


  • raagadeepthi
    replied to invalid file operation
    I have created one directory 'DEEPS' using the below query:

    create or replace directory DEEPS as 'D:\InputFile';

    and given the privilages using belo query

    GRANT READ,WRITE ON DIRECTORY DEEPS TO PUBLIC;

    i kept the input file in 'D:\InputFile' but still iam getting this error.

    Is there a way to read data from input file with out using UTL packges. If so please suggest me the...
    See more | Go to post

    Leave a comment:


  • raagadeepthi
    replied to invalid file operation
    Can someone please suggest as i need to do this by EOD
    See more | Go to post

    Leave a comment:


  • raagadeepthi
    started a topic invalid file operation

    invalid file operation

    Getting invalid file operation when using the below code.
    Iam running this on client machine and have created one director by name 'DEEPS' and have given read/write privileges ran the below quries for setting path.

    If i cannot run this porcedure on client machine. please help me for reading data from .txt file and updating into database with out using UTL packages.

    Please help

    [code=oracle]...
    See more | Go to post
    Last edited by amitpatel66; Sep 23 '09, 10:03 AM. Reason: added code tags
No activity results to display
Show More
Working...