Servlet Help  
Author Message
Paresh





PostPosted: 2005-11-10 20:20:00 Top

java-programmer, Servlet Help Dear Friends

pls help in running servlet in Tomcat. i m not getting which setting
should i do for it.
pls send me how to execute a servlet HalloWorld

paresh

 
IchBin





PostPosted: 2005-11-11 3:57:00 Top

java-programmer >> Servlet Help Paresh wrote:
> Dear Friends
>
> pls help in running servlet in Tomcat. i m not getting which setting
> should i do for it.
> pls send me how to execute a servlet HalloWorld
>
> paresh
>
This tutorial should help. Specifically under 'Compile and Test Some
Simple Servlets'
http://www.coreservlets.com/Apache-Tomcat-Tutorial/
--


Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
 
corallino6





PostPosted: 2006-11-10 18:53:00 Top

java-programmer >> Servlet Help Hi all. I've some problems running a servlet which is deployed on Jboss
3.2. The situation is as follows :
- The servlet needs to use version 1.0 of a package named myPackage
- The JBoss installation hosting the servlet use version 2.0 of
myPackage (package jar is deployed in jboss-3.2.3/server/default/lib).
Version 2.0 is needed by other servlets deployed on the same server.

The servlet raises an error because it finds a newer and not compatible
version of myPackage.
I've tried to add myPackage v1.0 to the servlet war but the error
remains the same (jboss goes on referring to myPackage deployed on its
lib dir)

What can I do? Any help will be appreciated!

 
 
Manish Pandit





PostPosted: 2006-11-11 1:40:00 Top

java-programmer >> Servlet Help You need to recompile the servlet with version 2.0 of mypackage.
Another option is replacing the 2.0 with 1.0 on the server, but that
will kill the purpose of any upgrade that you did.

-cheers,
Manish

 
 
www.pulpjava.com





PostPosted: 2006-11-11 6:38:00 Top

java-programmer >> Servlet Help Sounds like you might have a classloader issue. Read this tutorial to
demystify your classpath issues:

http://www.technicalfacilitation.com/get.php?link=classloading

Cheers!

-Cameron McKenzie

Free Mock Java Certifcation Exams: www.scja.com
Free Java and J2EE Tutorials: www.mcnz.com

www.examscam.com www.pulpjava.com


Manish Pandit wrote:
> You need to recompile the servlet with version 2.0 of mypackage.
> Another option is replacing the 2.0 with 1.0 on the server, but that
> will kill the purpose of any upgrade that you did.
>
> -cheers,
> Manish