Tomcat and Frontpage

dryjoint

Member
Joined
Aug 31, 2009
Messages
15
Hi all,

I have created a Photo Gallery, making use of said template in Microsoft Frontpage. I have exported the directories to my Suse web server (Apache).
Now of course when I open the page in my browser, it responds with an error.
I have found that I need to export this directory to a "container" in Suse's Tomcat directory.
Using Tomcat is all new to me, and I have no idea where to start.
Can anyone assist me in setting up Tomcat, so that my webbrowser will display my photo gallery?
Please....
 

Gnome

Executive Member
Joined
Sep 19, 2005
Messages
7,208
First what are you trying to host? HTML, ASP, ASPX, JSP, JSF, PHP??
 

dryjoint

Member
Joined
Aug 31, 2009
Messages
15
Hi Gnome,

I would think that it is html, since frontpage did not create any on the other extensions that you mentioned.
I saved the initial html page as: index.html and saved all the jpg pics together in the same directory. Frontpage creates another subdirectory, _vti_cnf, with created thumbnails and another index.html file inside.

Hope this helps...
 

dryjoint

Member
Joined
Aug 31, 2009
Messages
15
Well, I don't know whether I should call it an error or not...
My browser opens a blank page filled with a couple of boxes with small red crosses - this should actually be thumbnails of my pics.
When I move the mouse cursor over these red crosses, I get the following in my status bar:
javascript:fp_ShowImg(document['fpphoto_5196'],'900','694','4747',1);
If I click onone of these supposed-to-be thumbnails, its states "Error on page" in the status bar.
 

Darko

Senior Member
Joined
Jul 9, 2008
Messages
627
Do you have a directory in your Apache directory called public_html or wwwroot or something similar?

Where are your site files being kept now?
 

RSkeens

Expert Member
Joined
Jan 5, 2007
Messages
1,647
Are you certain that the images used for the thumbnails, etc are uploaded to the correct destination and that the HTML code points to correct paths (i.e. not local paths)?
 

dryjoint

Member
Joined
Aug 31, 2009
Messages
15
Do you have a directory in your Apache directory called public_html or wwwroot or something similar?

Where are your site files being kept now?

Suse creates /www/htdocs as default location for webpages. My directory resides in here, thus, /www/htdocs/gallery.
Since I suspect that the Java servlet requires it to run out of some "container", I assume that this should actually be located somewhere in: /www/tomcat/...
 

RSkeens

Expert Member
Joined
Jan 5, 2007
Messages
1,647
Assuming Frontpage generated a deployment file, installing Tomcat on Suse should be a fairly simple Google search. Once that is done you would need to upload the .war Tomcat file and deploy it (this requires some XML changes, etc again Google material).
 

dryjoint

Member
Joined
Aug 31, 2009
Messages
15
Assuming Frontpage generated a deployment file, installing Tomcat on Suse should be a fairly simple Google search. Once that is done you would need to upload the .war Tomcat file and deploy it (this requires some XML changes, etc again Google material).

I have done some RTFM'ing regarding the use of Tomcat, and noted the use of .war files. However, I cannot find that Frontpage generated such a file.
As stated at the beginning, I am a complete noob to using Tomcat, hence all the questions.

I suppose I could skip the use of an Java app to impliment my pic gallery, and just use thumbnails with hyperlinks to the larger original pic.
I would still rather make use of Java servlet and learn something new.
Could any of you maybe recommend a simpler method or app to create a photo gallery? Something similar to the "filmstrip" view included in Windows Xp.
 

dryjoint

Member
Joined
Aug 31, 2009
Messages
15
Thanks all for support,
I have decided to chuck my web gallery created by Frontpage - I can only assume that the Frontpage extensions are not propperly installed. Tomcat's logs does not show any errors, and to be honest, it seems that there are not propper support for Frontpage extensions in Linux (according to quit a few Googlesearch results).
I have installed a Linux app - Gallery (I think Gallery.org). Although it requires mysql & php, it is eay to install and runs like a dream.
 

RSkeens

Expert Member
Joined
Jan 5, 2007
Messages
1,647
Good call - that's a very powerful gallery to use with a very deep feature set. Best of luck and I'm glad you made the right choice :)
 

Gnome

Executive Member
Joined
Sep 19, 2005
Messages
7,208
Firstly Tomcat is really aimed at Java EE, but ok guess you can use that, did you put the html files in the docroot folder and start up Catalina?
 
Top