Originally posted by Rara Levis:
Hi
I have placed my applications jar file in {Tomcat}/webapps/WEB-INF/lib.
Tomcat finds all Classes at the root of the jar file but the ones that lie within the directory structure, Tomcat cant find them.
If someone can help me on this !!
Regards
Originally posted by subha neithilath:
Hi,
I am calling a servlet residing in a domino server from a java program.I am passing a cookie value but servlet is not getting invoked.I would like to know how i can test whether the connection is active or not(can you suggest any programs that i can use for testing the same)
I am providing here few lines of code which i am using to get urlconnection and set cookie.
HttpURLConnection urlconnection = null;
URL serverURL = new URL("http://192.168.10.55:8001/servlet/testing");
urlconnection= (HttpURLConnection)serverURL.openConnection();
urlconnection.setRequestProperty("cookie",cookie);
urlconnection.setRequestMethod("GET");
urlconnection.setFollowRedirects(true);
urlconnection.setDoOutput(true);
urlconnection.setDoInput(true);
Please go through and give suggestion/sample programs
Thanks and Regards
Subha
Originally posted by sakthivel shanmugam:
Dear All,
I want to set some values in my config file in the domino server and fetch it from my servlet file....
using the code as:
**************
Properties parameters = new Properties();
String filewithroot = getServletConfig().getInitParameter("configFile");
try
{
File file_temp = new File(filewithroot);
BufferedInputStream bis = new BufferedInputStream(new FileInputStream(file_temp),buffersize);
parameters.load(bis);
if(parameters != null)
{
path = parameters.getProperty("ereview.servlet.path");
path_stylesheet = parameters.getProperty("finishedmeetings.stylesheet.path");
}
}
catch(Exception exception)
{}
which is that config file?? becoz i dont found any config file over here...or should i go for the creation of a new config file.....if so, what should be the name and extension of that config file....also, where(in which directory) it should be placed in the server...also, should i do some setting changes in the domino server.
pl. post a reply,
with rgds,
Sakthive S.
Originally posted by suchitralingaraj:
Hi All,
I need to configure my application for multi lingual scenario. I have the option of importing and exporting the (.csv) files. When the file is downloaded i need to get the regional setting of the client machine and save the file. "navigator.userlanguage" returns the regional setting for IE of the client machine but does not return it for Netscape. Is there a way where i can get the regional setting of the client machine for netscape using javascript.
Regards
Suchitra
Originally posted by cognizant:
All,
I wanted to convery http request to https request...pl guide me how to go about it
TIA
Originally posted by Mary Mascari:
Tried it - no good.
Any other suggestions?
Originally posted by Mnemonical:
When compile sucessfully ... but when I run :
java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleConnectionCacheImpl
is this a classpath problem? Classpath is set correctly.
I'm under Red Hat 7.2 with Oracle9i
F.
Originally posted by sarim raza:
seems simple, but it doesnt let me
if i put the class in WEB-INF/classes
and import it it works
but for some reason i need to keep the class
in same directory as the jsp page ...
but it doesnt find it ???
thanks
Originally posted by Angela D'souza:
Hi,
I am using html to upload CSV file throgh HTTP using HTML forms:
<FORM action="Hello" method="POST" name="postform" enctype="multipart/form-data">
<INPUT type="file" name="dddl" value="">
<input type="submit">
</FORM>
Now, through HTTP server, i get whole csv file in message body of HTTP. Now I want to parse the CSV file.
As Microsoft has two version of Outlook Express, both express contains different number of columns. How do I make object which parse the CSV(from any version of outlook) file? What java class I can use?
Thanks,
Angels
Originally posted by Huzefa Zohaib:
This code is not mailing.
Why?
Originally posted by Celina Joseph:
I create a Connection instance in my init() and destroy it in the destroy().
My servlet allows concurrent access.
My autoCommit() is false.And in my service(doPost), I start a transaction, perform multiple SQL, commit or rollback the transaction.
When another request comes at the time when one request is being executed, what happens ?
Originally posted by Raj Mohan:
i am storing an user created object and a vector in session. After some time, i am getting the vector object from session, but the user created object becomes null.
any body knows what is the reason.
regards,
Raj
[ May 30, 2002: Message edited by: Raj Mohan ]
Originally posted by Syam Veerakumar:
Thanks for the reply but I have to use the <A> tag here, so cud u pls give me any other solution.
Syam.
Originally posted by Manjunatha HA:
Hi,
Is it possible to invoke a batch file located in some other directory through a JSP page???
Thanks
Manjunatha