John Ray Allen

Ranch Hand
+ Follow
since Jan 06, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by John Ray Allen

Im using Tomcat 5.5 and Apache 2.2.2 and i want to integrate both in Windows2000 environment..I edited httpd.conf and add the parameter LoadModule jk_module modules/mod_jk.dll and add the mod_jk.dll on the APACHE_HOME/modules/ directory..as soon as i start the apache http server im getting an error message that the jk_module can not be load to the server..is there any issues regarding integrating tomcat and apache in windows environment and can you pls lend me some valuable sites reagrding this topic...well if you suggest to search on google i tried that before..pls give me some useful explanation for this..Thanks and God Bless!
19 years ago
my problem is i have objects in JSP having the same name with different id's..ex <input type="checkbox" name="sample" id="1" value="some value"> <input type="checkbox" name="sample" id="2" value="some value">. How will i declare and get the values of that objects on my bean saying i have a SampleBean and my setter and getter methods like getSample() and setSample()? How can i get the values of all of that objects having same names in my bean? thanks in advance!
[ April 27, 2006: Message edited by: Bear Bibeault ]
19 years ago
JSP
I just want to know how to authorized a wsdd file deployment on tomcat 5.5. Do i have to change some parameters on tomcat for me to be able to deploy it on my container. At first i thought it is my wsdd file configuration but when i try to deploy a simple web service i receive the same error message which is..


Processing file deploy.wsdd
Exception: AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}:return code: 401
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>401 Unauthorized</TITLE>
</HEAD><BODY><H1>Unauthorized</H1>
</BODY></HTML>

{http://xml.apache.org/axis/}HttpErrorCode:401


Hope somebody could help me or could suggest some workaround on this matter. Thanks guys!
19 years ago
Thanks Merrill it helps alot! I apreciate your response..
19 years ago
I put a parameter on the controller part of the struts-config in my application. Once I uploaded a file i want to have a validation on my action class wherein i will compare my uploaded file size to the maxFileSize parameter on the struts-config. My question is how will i get the value of the parameter in the struts-config..i know this is kinda simple for you guys its just im not familiar yet to struts technology..thanks alot!
19 years ago
any idea yet?..i haven't found any explanation as of now hope sumbody could help me..thanks!
well that's the pseudocode of my program actualy what it does is that as the for loop is being executed it adds an "update statement" take note all the statements being added to the batch is an "update" statement and not a "select statement" or "insert" statement..i have read alot about batchUpdates but i haven't seen any explanation regarding "multiple updates" batch, only "inserts" and "selects"..i also read something about driver issues..hope sumbody could help me..tnx to all of u guys!
my codes goes sumthing like this

String up_str="";
(for ctr=0;ctr<count;ctr++){
up_str="update table_name set table_name_column1='EP' where table_name_column2="+ctr;
stmt.addBatch(up_str);
}
stmt.executeBatch();

what happens is that only the last string being added to the batch is being updated the rest remains the same..im not receiving any exception messages on my logs..my jdbc driver is classes12.jar of oracle jdeveloper..i even use their downloadable jdbc driver for oracle10g (9.0.2.0) dbase..hope you could help me..thanx
i am using addBatch() to insert multiple sql statements and execute it using executeBatch() later..my problem is that when my batch is composed of update statements, only the last update statement is being executed and the rest is not updated...i am not getting any exception messages so my questions are is it a driver issue? or do i have to use delimeter for evry statements like whitespaces or carriage return? any idea is very much appreciated..tnx
I have tried that Ben..it works but after a certain time what i want to do is that once i display the logout page all the remaining pages whether the user hit the browser button or the history button the rest would display the Page has been expired page..
19 years ago
JSP
or is there a way that the page would forced to expire when browser's back button is being hit..maybe thats the most effective way for user not to hit thw back button anymore..thanks
19 years ago
JSP
what I want to do is that to totally logout of the page so that whenever I hit the browsers back button it doesnt bring back my previous pages as well as other inputted information from the user..Some articles said that it has something to do with the session but I'm still confused on how to handle my sessions properly..need more explanation if you dont mind or an actual working example...thanks!
19 years ago
JSP
Can anyone pls help me on my problem regarding the logout functionality of my application..I have a log-in page and several pages in between the log-in and log-out page..my problem is that when I log-out on my logout.jsp once I hit the browsers back buton it displayed the previous page thus the functionality of log-out was not performed...I have tried the session.invalidate() but it doesn't work..wanna hear your ideas and suggestions..thanks!
[ June 05, 2005: Message edited by: Bear Bibeault ]
19 years ago
JSP
I wud like to get as String the directory where the JSP file is deployed in the Application Server..I'd like to hear your ideas..thanks!
19 years ago
JSP
Guys can somebody please help me on how to upload files in JSP and saves it on a certain location of the Application Server..or if you dont mind kindly give me some examples so that i could have an idea for my project..i want those files be of any kind(jpg, bmp, doc, etc.)..thanks
20 years ago
JSP