You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sunil Shevante <su...@yahoo.com> on 2013/03/05 08:05:35 UTC

Integrating blog into a JSP website

Hi,

Is it possible to integrate a blog into my JSP website? Currently I have manually created the directory structure within my war file.

My Site : www.investorschoolindia.com

Also as a subquestion, how can we deploy latest contents on tomcat within building the war file? Is there a way out? So that whenever I have a new article, I can simply deploy the new article without building the whole application.

Tomcat version 6.0.14.

Thanks,
Sunil.

RE: Integrating blog into a JSP website

Posted by "Harris, Jeffrey E." <Je...@ManTech.com>.
> >
> > In very general terms, yes to all questions above.
> > But maybe you want to search Google for examples about building
> > websites with Java servlet containers, or Tomcat in particular.
> > We cannot really help with that kind of questions here.  This is a
> > list for people asking technical questions about Tomcat-specific
> > issues, not really about general JSP-based website design.
> >
>
> If you haven't already invested a lot of effort in your wiki content,
> you might want to take a look at:
>
> http://incubator.apache.org/jspwiki/
>
> I've been using JSPWIKI successfully under tomcat for many years. It is
> packaged as a war file ready for deployment and there is a lot of
> experience in customising it. JSPWIKI has services to backout unwanted
> changes (this is basically a requirement of any wiki). However, the
> standard distribution comes with almost no content and you probably
> should keep your own content outside the war file and back it up
> externally.
>
> Brian
>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org

You might also look at very quick wiki (http://www.vqwiki.org/).  We have used that successfully for a number of years, although the code has not been updated in several years.  The actual pages are stored in a separate folder on the server, and not in the WAR file, but it does support page storage in a JDBC linked database.

Jeffrey Harris

This e-mail and any attachments are intended only for the use of the addressee(s) named herein and may contain proprietary information. If you are not the intended recipient of this e-mail or believe that you received this email in error, please take immediate action to notify the sender of the apparent error by reply e-mail; permanently delete the e-mail and any attachments from your computer; and do not disseminate, distribute, use, or copy this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Integrating blog into a JSP website

Posted by Brian Burch <br...@PingToo.com>.
On 05/03/13 08:03, Brian Burch wrote:
> On 05/03/13 07:16, André Warnier wrote:
>> Sunil Shevante wrote:
>>> Hi,
>>>
>>> Is it possible to integrate a blog into my JSP website? Currently I
>>> have manually created the directory structure within my war file.
>>>
>>> My Site : www.investorschoolindia.com
>>>
>>> Also as a subquestion, how can we deploy latest contents on tomcat
>>> within building the war file? Is there a way out? So that whenever I
>>> have a new article, I can simply deploy the new article without
>>> building the whole application.
>>>
>>> Tomcat version 6.0.14.
>>>
>>
>> In very general terms, yes to all questions above.
>> But maybe you want to search Google for examples about building websites
>> with Java servlet containers, or Tomcat in particular.
>> We cannot really help with that kind of questions here.  This is a list
>> for people asking technical questions about Tomcat-specific issues, not
>> really about general JSP-based website design.
>>
>
> If you haven't already invested a lot of effort in your wiki content,
> you might want to take a look at:
>
> http://incubator.apache.org/jspwiki/
>
> I've been using JSPWIKI successfully under tomcat for many years. It is
> packaged as a war file ready for deployment and there is a lot of
> experience in customising it. JSPWIKI has services to backout unwanted
> changes (this is basically a requirement of any wiki). However, the
> standard distribution comes with almost no content and you probably
> should keep your own content outside the war file and back it up
> externally.
>
> Brian
>

Sorry if I confused you. I answered in haste on a slow internet link! I 
now see that you wanted a blog...

jspwiki has a good plugin framework, and many specific plugins both in 
the as-shipped system, and also more that have been contributed by other 
developers. I suggest you look at this blog plugin, although I haven't 
used it myself.

http://doc.jspwiki.org/2.4/wiki/WeblogPlugin

Brian
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Integrating blog into a JSP website

Posted by Brian Burch <br...@PingToo.com>.
On 05/03/13 07:16, André Warnier wrote:
> Sunil Shevante wrote:
>> Hi,
>>
>> Is it possible to integrate a blog into my JSP website? Currently I
>> have manually created the directory structure within my war file.
>>
>> My Site : www.investorschoolindia.com
>>
>> Also as a subquestion, how can we deploy latest contents on tomcat
>> within building the war file? Is there a way out? So that whenever I
>> have a new article, I can simply deploy the new article without
>> building the whole application.
>>
>> Tomcat version 6.0.14.
>>
>
> In very general terms, yes to all questions above.
> But maybe you want to search Google for examples about building websites
> with Java servlet containers, or Tomcat in particular.
> We cannot really help with that kind of questions here.  This is a list
> for people asking technical questions about Tomcat-specific issues, not
> really about general JSP-based website design.
>

If you haven't already invested a lot of effort in your wiki content, 
you might want to take a look at:

http://incubator.apache.org/jspwiki/

I've been using JSPWIKI successfully under tomcat for many years. It is 
packaged as a war file ready for deployment and there is a lot of 
experience in customising it. JSPWIKI has services to backout unwanted 
changes (this is basically a requirement of any wiki). However, the 
standard distribution comes with almost no content and you probably 
should keep your own content outside the war file and back it up externally.

Brian

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Integrating blog into a JSP website

Posted by Sunil Shevante <su...@yahoo.com>.
Thanks for the quick reply Andre.


--- On Tue, 3/5/13, André Warnier <aw...@ice-sa.com> wrote:

From: André Warnier <aw...@ice-sa.com>
Subject: Re: Integrating blog into a JSP website
To: "Tomcat Users List" <us...@tomcat.apache.org>
Date: Tuesday, March 5, 2013, 12:46 PM

Sunil Shevante wrote:
> Hi,
> 
> Is it possible to integrate a blog into my JSP website? Currently I have manually created the directory structure within my war file.
> 
> My Site : www.investorschoolindia.com
> 
> Also as a subquestion, how can we deploy latest contents on tomcat within building the war file? Is there a way out? So that whenever I have a new article, I can simply deploy the new article without building the whole application.
> 
> Tomcat version 6.0.14.
> 

In very general terms, yes to all questions above.
But maybe you want to search Google for examples about building websites with Java servlet containers, or Tomcat in particular.
We cannot really help with that kind of questions here.  This is a list for people asking technical questions about Tomcat-specific issues, not really about general JSP-based website design.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Integrating blog into a JSP website

Posted by André Warnier <aw...@ice-sa.com>.
Sunil Shevante wrote:
> Hi,
> 
> Is it possible to integrate a blog into my JSP website? Currently I have manually created the directory structure within my war file.
> 
> My Site : www.investorschoolindia.com
> 
> Also as a subquestion, how can we deploy latest contents on tomcat within building the war file? Is there a way out? So that whenever I have a new article, I can simply deploy the new article without building the whole application.
> 
> Tomcat version 6.0.14.
> 

In very general terms, yes to all questions above.
But maybe you want to search Google for examples about building websites with Java servlet 
containers, or Tomcat in particular.
We cannot really help with that kind of questions here.  This is a list for people asking 
technical questions about Tomcat-specific issues, not really about general JSP-based 
website design.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Integrating blog into a JSP website

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Sunil,

Marking as off-topic because this has nothing to do with Tomcat
directly. On the other hand, it's about web applications and
deployment, so... (see below).

On 3/5/13 1:05 AM, Sunil Shevante wrote:
> 
> Hi,
> 
> Is it possible to integrate a blog into my JSP website? Currently
> I have manually created the directory structure within my war
> file.
> 
> My Site : www.investorschoolindia.com
> 
> Also as a subquestion, how can we deploy latest contents on tomcat 
> within building the war file?

So, you want to deploy a some blogging software *inside* your own
webapp? I would personally deploy them separately, and maybe configure
SSO if you need shared-logins across the two webapps.

I'm sure there is some blogging software out there that can be
extracted and merged-into your own webapp, but it's not going to be
pretty. If you're looking for Java-based blogging software, Apache
Roller is an option. Long ago, I tried it out and wasn't happy with
it, but that was a very long time ago, before it went through the
incubator and became Apache Roller.

> Is there a way out? So that whenever I have a new article, I can
> simply deploy the new article without building the whole
> application.

I would certainly avoid having to "deploy" articles: blog software
should save your stuff to something more permanent like a database.
Otherwise, you'll have all your articles deleted if/when you un-deploy.

> Tomcat version 6.0.14.

You need to upgrade that thing before someone compromises your server.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEAREIAAYFAlE22FcACgkQ9CaO5/Lv0PDVowCfYNb3jSnZFlbTbdoleSv2+1Zb
U6IAn0dwrjfA+AavJgR0PO3wTIg/yUQn
=MD0j
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org