Thanks Chris,
root directory is "/" not home directory, I think with godaddy root and home
directory are the same. If I extract all directory out of mysite.war to root
directory and delete mysite.war and edit index.jsp to point to just
"home.do" then it would work ?    
 

Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> tamnle123,
> 
> tamnle123 wrote:
> | I try to deploy my war
> | file but it doesn't work
> 
> [snip]
> 
> | Here is what I did...
> | - ftp war file (called myweb.war) to linux root directory
> 
> When you say "root" to you mean "your home directory", or do you mean
> "/"? I hardly think that / is the right place for a WAR file. What is
> godaddy's deployment procedure?
> 
> | * inside myweb.war it has web-inf, pages, images, lunexe etc and
> index.jsp
> | * index.jsp point to ../myweb/home.do
> 
> You probably don't want your index.jsp to point to ../myweb/home.do,
> since the path there is a relative URL path, not a relative filesystem
> path. If I hit http://yourserver/index.jsp, then the relative URL is
> http://yourserver/../myweb/home.do
> 
> I think you want just "home.do".
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkg9tkUACgkQ9CaO5/Lv0PARdwCZARExTE4IdQcQaA4B3+suZ2cm
> Du0An0f6+QQiwZvd5+eNRkFMmNG53kcV
> =Raoe
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jsp-run-on-tomcat-at-godaddy.com-tp17520071p17521085.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to