wood burning stoves 2.0*
The moose likes JForum and the fly likes jforum inside another context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "jforum inside another context" Watch "jforum inside another context" New topic
Author

jforum inside another context

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
hello....
I have a website where the user must login before use forum. When he logs in, a session is created for him and when he tries to have access forum, i have to check if his session is still available!

so, i would like to know how should be the directory in Tomcat to Jforum be inside my project to share the session from it.

Thanks in advance!
[originally posted on jforum.net by gustavoknz]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Just copy the directories to the root of your context. Then, just merge jforum's web.xml with your web.xml.That's all.

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
to merge jforum's web.xml with your web.xml, i cut off this part:


the directory is show in this pic:


i used this link to have access to forum: http://myserver:8080/project/jforum/install/install.page?module=install&action=welcome

but the this erro is shown:
"HTTP Status 404 - Servlet jforum is not available"

Any ideia whats wrong???
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You should put the following lines into your web.xml:



If you would like to use the installer, also add



but remember to remove it after the installation.

Also, you should add to your context's root the directories inside jforum's directory, instead the entire "jforum-2.0.2". ( eg, enter into jforum-2.0.2 and copy the directories inside it ).

The, access

http://myserver:8080/project/install/install.page?module=install&action=welcome

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jforum inside another context