Re: Html tagging

2008-08-12 Thread Zico
On Tue, Aug 12, 2008 at 2:32 PM, Stefan Oestreicher <
[EMAIL PROTECTED]> wrote:

> if there is nothing in the ROOT directory that you need (what I suspect,
> since you wanted to put a redirect document there) you can delete it and
> rename the dspace.war to ROOT.war. Tomcat will then unpack that war to the
> ROOT directory and your application should then be accessible directly
> through http://your.host/
>

Stefen, i have made it. Your mail helped me a lot! Please check the link:

http://dspace.bracu.ac.bd/

Here, you can see that, the "tomcat page" shows it`s face here, though i put
CONTENT=0 there in html tag. Now, can you please help me that, how can i
*reduce* the time of "tomcat page loading..."?? It looks bad when tomcat
takes a lot of time to load our dspace.

-- 
Best,
Z


RE: Html tagging

2008-08-11 Thread Stefan Oestreicher
> -Original Message-
> From: Zico [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 11, 2008 3:44 PM
> To: Tomcat Users List
> Cc: [EMAIL PROTECTED]
> Subject: Re: Html tagging
> 
> On Mon, Aug 11, 2008 at 7:40 PM, Stefan Oestreicher < 
> [EMAIL PROTECTED]> wrote:
> 
> > why don't you just deploy your application in the ROOT context?
> 
> 
> Thanks, but i cannot your point here. What do you want to mean here?

It depends on how you're deploying your application.

Instead of placing an index.html file inside the ROOT folder you can put
your whole application in that folder, then it will be served as the ROOT
context.

If you're using a *.war with auto deployment just name it ROOT.war before
placing it into the webapps folder. Or, if you're using a *.war file outside
the webapps folder with a context descriptor pointing at that *.war, just
name that context descriptor ROOT.xml.

If it's unclear what I'm talking about, you probably should read
http://tomcat.apache.org/tomcat-6.0-doc/appdev/deployment.html.

HTH,

Stefan


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



Re: Html tagging

2008-08-11 Thread Zico
On Mon, Aug 11, 2008 at 7:40 PM, Stefan Oestreicher <
[EMAIL PROTECTED]> wrote:

> why don't you just deploy your application in the ROOT context?


Thanks, but i cannot your point here. What do you want to mean here?

-- 
Best,
Z


RE: Html tagging

2008-08-11 Thread Stefan Oestreicher
why don't you just deploy your application in the ROOT context?
Anyway, it most likely doesn't work because you have a typo there, it should
be:

http://dspace.bracu.ac.bd/dspace";>

instead of

http://dspace.bracu.ac.bd/dspace>
 
HTH,
 
Stefan Oestreicher
 
> -Original Message-
> From: Zico [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 11, 2008 3:34 PM
> To: users@tomcat.apache.org
> Subject: Html tagging
> 
> Hi,
> 
> I am Zico. I have been working on 
> http://dspace.bracu.ac.bd/dspace Now, i want to remove the 
> last /dspace part from my url.
> 
> Here, i want to add that, i have been using Fedora-7, apache 
> tomcat, java-1.5.
> 
> At least i need to redirect my current page. It means, user 
> will know about the *actual* url address, which is 
> http://dspace.bracu.ac.bd ; then will enter this address, but 
> it will redirect them automatically into 
> http://dspace.bracu.ac.bd/dspace
> 
> For this, i tried with html tagging in my index.html page of 
> apache-tomcat.
> It`s location: */usr/src/apache-tomcat/webapps/ROOT/index.html*
> 
> The tag i used:
> 
> 
> ...
>  url=http://dspace.bracu.ac.bd/dspace
> >
> 
> ...
> 
> 
> 
> But, it didn`t work for me.
> 
> Can you please help me?
> 
> 
> --
> Best,
> Z
> 


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



Html tagging

2008-08-11 Thread Zico
Hi,

I am Zico. I have been working on http://dspace.bracu.ac.bd/dspace
Now, i want to remove the last /dspace part from my url.

Here, i want to add that, i have been using Fedora-7, apache tomcat,
java-1.5.

At least i need to redirect my current page. It means, user will know about
the *actual* url address, which is http://dspace.bracu.ac.bd ; then will
enter this address, but it will redirect them automatically into
http://dspace.bracu.ac.bd/dspace

For this, i tried with html tagging in my index.html page of apache-tomcat.
It`s location: */usr/src/apache-tomcat/webapps/ROOT/index.html*

The tag i used:


...
http://dspace.bracu.ac.bd/dspace
>

...



But, it didn`t work for me.

Can you please help me?


-- 
Best,
Z