The Artima Developer Community
Sponsored Link

Java Answers Forum
Applet & Serverlet on Linux

7 replies on 1 page. Most recent reply: Sep 21, 2003 1:12 AM by Kim Son

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 7 replies on 1 page
Kim Son

Posts: 7
Nickname: zhinshan
Registered: Jul, 2003

Applet & Serverlet on Linux Posted: Sep 18, 2003 2:06 AM
Reply to this message Reply
Advertisement
I develop an applet & servert running on Windows is OK, but I do not know how to making it running on Linux. I use Redhat 9.0, jdk 1.4 and tomcat 4.0.
Please, show my how to building...., I'd appreciate it.


David

Posts: 150
Nickname: archangel
Registered: Jul, 2003

Re: Applet & Serverlet on Linux Posted: Sep 18, 2003 4:04 AM
Reply to this message Reply
What's the problem? The install of Tomcat?

Kim Son

Posts: 7
Nickname: zhinshan
Registered: Jul, 2003

Re: Applet & Serverlet on Linux Posted: Sep 18, 2003 8:18 PM
Reply to this message Reply
Thank for your concerned
I'm new in both linux and jbuilder, I do not know how to set option and make file .rpm for linux
please show me how to make it.

David

Posts: 150
Nickname: archangel
Registered: Jul, 2003

Re: Applet & Serverlet on Linux Posted: Sep 19, 2003 12:54 AM
Reply to this message Reply
I don't see why you should have to create an RPM file, but if you're having trouble installing Tomcat etc. on linux, the Tomcat forums might be more productive - I've never installed it on Linux before.

But maybe someone here has...?

Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

Re: Applet & Serverlet on Linux Posted: Sep 19, 2003 2:29 AM
Reply to this message Reply
I too have installed Tomcat on Linux but i have on windows. I just checked the documentation which comes with tomcat and Linux installation is just easy as unzipping the tomcat distribution to a particular directory and setting JAVA_HOME enviornment variable.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt

Kim Son

Posts: 7
Nickname: zhinshan
Registered: Jul, 2003

Re: Applet & Serverlet on Linux Posted: Sep 19, 2003 3:02 AM
Reply to this message Reply
- I have jbuilder on Windows and it making "myapplet.jar, myapplet.html, myservlet.class"
- I want to make my servlet & applet that running on Linux, when I copied all file above into linux.... it does not work.
I'm new, so please show me step by step to make it. I try to get help on jbuilder but I get nothing. maybe I run on the wrongway.
Thanks for all your guide

Joe Parks

Posts: 107
Nickname: joeparks
Registered: Aug, 2003

Re: Applet & Serverlet on Linux Posted: Sep 19, 2003 6:54 AM
Reply to this message Reply
What is the error message, if any, when it "doesn't work".

JBuilder hides a lot of the details from you. For example, the fact that servlets need to be configured with servlet engines.

Which version of JBuilder are you using? (Personal, Professional, Enterprise)

If you are creating servlets, you should have more than just these files. There should be a complete "web application," including a WEB-INF directory with a web.xml descriptor file in it.

After you install Tomcat, you will have to drop the web application inside Tomcat's "webapps" directory and restart Tomcat.

Kim Son

Posts: 7
Nickname: zhinshan
Registered: Jul, 2003

Re: Applet & Serverlet on Linux Posted: Sep 21, 2003 1:12 AM
Reply to this message Reply
I using "jbuilder 9 Enterprise trial", and it makes all things (web-inf, web.xml, ...) for me expect
<servlet>
<servlet-name>EchoServlet</servlet-name>
<servlet-class>EchoServlet.EchoServlet</servlet-class>
</servlet >
I setting tager servlet into
..Tomcap4.0/webapp/examples/web-inf/class

I think that, there is some option checked for building my servlet & applet that running on Linux

please, show me more details

Flat View: This topic has 7 replies on 1 page
Topic: Anybody can tell me .....? Previous Topic   Next Topic Topic: JSP & Struts - displaying a collection

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use