Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where is it Uploading??

 
Vikas
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to upload my files at my desired location using Struts(using example of struts-upload.war) and I set the controller in my struts-config.xml like following:-

<controller tempDir="d:/tomcat/jakarta-tomcat-5.0.27/webapps/struts-upload/uploads">
</controller>

although the program is successfully uploading my file but I can't file the uploaded file in my desired location.

Can any one throw a light of hope.... Am I right while declaring the <contoller> in my struts-config.xmal??

Thank you
Vikas
 
George Franciscus
author
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a recipe in Struts Recipes that shows you how to do the whole thing step-by-step. Please have a look at recipe 2.9 in the sample download chapter.

http://www.manning-source.com/books/franciscus/franciscus_chp2.pdf
 
Vikas
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What a great recipe it is!! Is this title available in India??

One more thing I want to upload the file at my desired location can it be changed??

Thank you and Regards
Vikas
[ February 01, 2005: Message edited by: Vikas Sharda ]
 
George Franciscus
author
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.

You can browse to pick up the file anywhere on your drive.

Struts Recipes is available anywhere Amazon ships. Also, manning has a world-wide distribution network that includes Inida. Let me know if you have a problem getting it.

http://www.manning.com/about/distributors.html
 
Vikas
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>>You can browse to pick up the file anywhere on your drive.

That's fine but can I define the location where I want to UPLOAD the file??

>>Struts Recipes is available anywhere Amazon ships. Also, manning has a >>world-wide distribution network that includes Inida. Let me know if you >>have a problem getting it.

Yeah, they have distributor in India, I will look for this title in the at bookstall.

Thank you for your help!

Regards
Vikas
 
Vikas
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No Dear Author, this book isn't available ion the India yet but I bought your Struts in Action which is a nice book for the starter and everything is taught from the beginning. Nice stuff!!

Regards
Vikas
 
George Franciscus
author
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the kind words.

I checked with Manning. You can get the book via this channel. Sorry for the confusion. That's why they let somebody else do the marketing.

Wiley Dreamtech in New Delhi has the rights your book. Our contact
tells me it should be 4-6 weeks for the book to hit the market.
Regards,
Lee
 
Vikas
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmmmm.... so I should wait for 4-6 weeks more....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic