Win a copy of liveProject: Build an ML Recommender System this week in the Artificial Intelligence and Machine Learning forum!

Sameera Abeysinghe

Ranch Hand
+ Follow
since Nov 15, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sameera Abeysinghe

Hi,

I need to know everything about running JSP and Servlets on Apache

This is NOT apache tomcat. This is the apache server (widely used to run PHP)

I need to know
How to configure apache for JSP/Servlets?
How to run it?
Where should my JSP pages go?
Where should my Servlets go?

Thank You

Sameera
14 years ago
Hi all,

I have to develop a small web based application. The environment is as follows

Web server � iPlanet
Database � oracle

I don�t know much about this iPlanet server. I tried the net. I got the following link
http://www.iplanet.com/products/infrastructure/web_servers/iws/index.html
But this link is directed to
http://www.sun.com/software/

so where can I get the following information about this server.
1.download iPlanet
2.how to configure
3.how to use it
4.how to run the first .jsp page and servlet
5.other important stuff


Thank You

Sameera
14 years ago
Hi all,

I have to develop a small web based application. The environment is as follows

Web server � iPlanet
Database � oracle

I don�t know much about this iPlanet server. I tried the net. I got the following link
http://www.iplanet.com/products/infrastructure/web_servers/iws/index.html
But this link is directed to
http://www.sun.com/software/

so where can I get the following information about this server.
1.download iPlanet
2.how to configure
3.how to use it
4.how to run the first .jsp page and servlet
5.other important stuff


Thank You

Sameera
14 years ago
JSP
Hi all,

I have an php page that I send 2 parameters
www.mysite.com/page.php?x=10&y=20

The php page takes this parameters and generate and jnlp file and the application runs very well.
php page
------------------------------------------------------------------

------------------------------------------------------------------

Now I need to add another application to this jnlp file A2.jar it need no parameters just need to run the application.

But what ever I do it has to be done by this php page.
So can I create two jnlp files from this php page or can I run two applications from one jnlp file

Thank you

Sameera
15 years ago
Thank a lot

Your link is very useful.
I work in a web development company so we use lot of javascripts. What we do is simply get them from sites that give free.
But if there is a api we can develop our own.

One more thing can you tell me a javascript that detects JRE version on the client machine. This has to be 100% javascripts. No applets must be involved.

Thank You
Hi all,

I know this is not the correct place to post this. But I did not find a suitable section for this so I posted hear.

I want to find the javascript API
We can find the java API (all the class objects variables methods we can use in java) in sun web site. Likewise I want to know the where I can find an javascript API

Thank You

Sameera
Hi all,

I know this is not the correct place to post this. But I did not find a suitable section for this so I posted hear.

I want to find the javascript API
We can find the java API (all the class objects variables methods we can use in java) in sun web site. Likewise I want to know the where I can find an javascript API

Thank You

Sameera
15 years ago
Thank a Lot

got it working

I haven�t given the name attribute at the html pag
......class" width="500" height="500" name="Small">.......


15 years ago
Hi
I need to communicate between 2 applets
This is my html code


This is my code in Big.class


But it always gives null pointer exception
p and sml prints null

As the String parameter to getApplet method I try
�Small.class� �Small� �mall� �all�
Nothing works

But the 2 applets work
You can see them at
http://www.woxzone.com/army/map/Army.html
(You will nedd 1.5 update 6)

Need help fast

Thank you,

Sameera
[ February 10, 2006: Message edited by: Sameera Abeysinghe ]
15 years ago
Hi, all

I have this JSP site that shows news. The administrator user can edit this news(there is a deferent login for that)

What I want to know is to edit this news the administrator user must get some thing like a word application so he can color the text and change font size etc.. very easily.

I know this can be done by an applet. But applets run on the clint machines. And it needs JRE on the clint side.

I need some thing that is not runs on the clint side. So this has to be done only using JSP or servlets.

Thank You

Sameera
15 years ago
Hi, all

I have this JSP site that shows news. The administrator user can edit this news(there is a deferent login for that)

What I want to know is to edit this news the administrator user must get some thing like a word application so he can color the text and change font size etc.. very easily.

I know this can be done by an applet. But applets run on the clint machines. And it needs JRE on the clint side.

I need some thing that is not runs on the clint side. So this has to be done only using JSP or servlets.

Thank You

Sameera
Hi all,

I have this site that save images to the server. To do this I use some thing close to
BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(n));
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
Where n is the full path (the absolute path or the path of the file on the hard disk) of the file
Ex:-
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\test\videos\anjana

Now what I want to know is how I can find out this path
If I have my file in
http://192.168.101.9:8080/test/chatLogin.jsp
What I want is the path of this chatLogin.jsp file in the hard disc.

I need some program that can get me this path

With refereeing to chatLodin.jsp file the I need some program (a JSP file or an a Servlet) that will give the following result
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\test\chatLogin.jsp

Thank You

Sameera Abeysinghe
15 years ago
Hi all,

This is a part of my friends final year project.

The full program will run on the phone simulator that comes with wireless toolkit and the database is also going to be on the same machine.

Using a demo that comes with the toolkit I was abele to create a list(similar to JCombo) user select one and some data will be shown.

But the problem is the data that is shown is coded on the java file
Actual process must be

When user select something from the list connect to database get data and show

Any kind of help is appreciated.

Thank You
15 years ago
Hi all,

First of all I am asking this for a friend of mine.

I am not new to java. But I don’t know any thing about the java mobile toolkit.
I was able to run whets on this article.

http://developers.sun.com/techtopics/mobility/midp/articles/wtoolkit/

I will explain my requirements in normal java.

Put a JCombo box with some data taken from the data base. The user select something and click search the result is shown is a JTable
The JTable has only 2 columns
The data base is SQL Server

In normal java this is a very simple thing. I hope this is simple in micro edition as well. So if some one can tell me how to do it or give me a working code it is a big help.

Thank You
15 years ago