I need to copy file from my
c:\backup\test.txt
to
tomcat wepapps/vijay
folder through servlets using slide + Tomcat.
I already enable the authentication by uncommenting the security consraints
in web.xml.
Also, I can't found the server folder inside my Slide s/w.
How to configure Slide in Tomcat
----------------------------------
1. I put all the jar files into common/lib as u directed in ur site
2. What else i need to do.
3. How to test slide ( Is there any addressing at url like
localhost:8080/vijay/servlet)
or directly use the methods in API inside the servlet.
4. When running the examples file at command prompt it is working say
xml/Test.class is working
5. When calling the same thing at servlet it generetes the error message.
6. Whether I need to put the namesapce ( webapps/dir ) in tomcats wepapps
it self or anywhere under slide.
7. Whether I need to create seperate web, Domain.xml files for each apps
by making slight modifiications). Where to put these files
8. I got domain not found exception. then I change slide.properties files
to look the domain at c:/domain.xml.
9. After that Tomcat displays the classnot found exception
FileContentStoreNoVersioning in the root cause column.
<slide>
<namespace name="repository"> // where repository is in
webapps/repository of tomcat
<definition>
<store name="memory">
<contentstore name="file"
classname="slidestore.file.FileContentStoreNoVersioning">
<parameter name="rootpath"> files </parameter>
</cotentstore>
</store>
</definition>
And no changes to the default domain.xml file.
10. Does I need to create build file for this.
So I need
=======
Domain.xml |
Web.xml | Where to put these
sample servlet implementation for uploading ( just that fragment is
enough...Plz)
Can you send me step by step instructions for uploading ( Send all in the
single mail).
Thanx
With Rgds, Looking fwd
Vijay.
> > I need to use slide for uploading files.
> > As I'm just using Slide with Tomcat 4.0-b3 for file Uploading.
> > I don't know how to do that.
>
> To summarize, you need to enable authentication (by editing the
> application's web.xml), then configure users. More details are in the FAQ,
> which is linked from the web page.
>
> > Assume some default location in harddisk (C:/slide) for source and
other
> one for tomcat sever root. I'll be
> > pleased and eagerly waiting for ur guidlines. And if u can, send me more
> documentaions on Slide.
>
> The "default" deployment will soon change to a more integrated, much
easier
> to use, preconfigured server based around Tomcat 4. It's already quite
> functional, although there are some small classloading issues left to fix
> (which are caused by bugs in Catalina).
> Unfortunately, this packaged server isn't available in the nightly builds
> yet (Gump chokes when trying to build it).
>
> I put together a page on the website explaining what it does (including
the
> WIP components) :
> http://jakarta.apache.org/slide/server.html
>
> Remy
>