aspose file tools*
The moose likes Struts and the fly likes Where is it Uploading?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Where is it Uploading??" Watch "Where is it Uploading??" New topic
Author

Where is it Uploading??

Vikas
Ranch Hand

Joined: Dec 16, 2004
Posts: 63
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

Joined: Jan 25, 2005
Posts: 32
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


George Franciscus<br />george.franciscus@nexcel.ca<br /><a href="http://www.nexcel.ca" target="_blank" rel="nofollow">http://www.nexcel.ca</a><br /><a href="http://www.manning.com/franciscus" target="_blank" rel="nofollow">http://www.manning.com/franciscus</a>
Vikas
Ranch Hand

Joined: Dec 16, 2004
Posts: 63
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

Joined: Jan 25, 2005
Posts: 32
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

Joined: Dec 16, 2004
Posts: 63
>>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

Joined: Dec 16, 2004
Posts: 63
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

Joined: Jan 25, 2005
Posts: 32
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

Joined: Dec 16, 2004
Posts: 63
hmmmm.... so I should wait for 4-6 weeks more....
 
 
subject: Where is it Uploading??