help on jsp

hi ,

i write a shopping cart program using servlets,jsp and jdbc

i can run this program in my system. i want to make it as a project to

run anywhere. for this what can i do?

for that how to make a jar file and how to deploy it then?

plz guide me frens............

[301 byte] By [successsa] at [2007-11-27 2:41:12]
# 1
Create a WAR or EAR. Also see the official Sun Java EE tutorial: http://java.sun.com/javaee/5/docs/tutorial/doc/
BalusCa at 2007-7-12 3:04:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

create war file..

example

c:\tomcat6.0\webapps\smartcartis ur dir means

go head..

get into that dir.. remove ur all (java) source code any...

then

type

jar cf smart.war *.*

(its create smart.war file)

then u take this war file

..

deploy

simply copy that war file into c:\tomcatfolder\webapps

restart ur tomcat

its work

null

drvijayy2k2a at 2007-7-12 3:04:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Thank u very much , this is a wonderfull tutorial, i learn lots of things from taht tutorial
successsa at 2007-7-12 3:04:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Thank u very much, i'll try this
successsa at 2007-7-12 3:04:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...