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)...
User Profile
Collapse
-
java.lang.IllegalStateException
Last edited by Frinavale; Nov 9 '09, 04:32 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags. -
Can someone please help -
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) {... -
-
-
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... -
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 !!!!!!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;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!!!!! -
I need to read the data from file stored in local machine and insert data into table.Leave a comment:
-
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.Leave a comment:
-
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.Leave a comment:
-
I dont have access to filesystem where Oracle database is installed.
Can i read the input from file without using UTL packages?Leave a comment:
-
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);...Leave a comment:
-
i think D:\Public\eDR\u tl_dir is server directory.
I cannot place the file in that location.Leave a comment:
-
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\...Leave a comment:
-
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...Leave a comment:
-
-
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]...
No activity results to display
Show More
Leave a comment: