In reply to my own message,

It looks like my problems are caused by then MessageTag, when it tries to
load the index.title property from the ApplicationResources.properties in
the doStartTag() method, it returns null...

currently i have the ApplicationResources.properties file placed in
\webapps\struts-example\WEB-INF\classes\org\apache\struts\example

somehow i believe that maybe it should be moved to my tomcat runner
project_resources folder...i tried that but it didn't help...

any suggestions would be apprenciated...

thanks

Mikkel Bruun

-----Oprindelig meddelelse-----
Fra: Mikkel Bruun 
Sendt: 14. maj 2001 13:59
Til: '[EMAIL PROTECTED]'
Emne: SV: Antwort: VAJ3.5, Tomcat, Struts


Hi Juergen,

Thanks for your reply!

following your instructions i succeded in getting tomcat up and running, and
succesfully loading the struts-example application, 
however when accessing localhost:8080/struts-example the compilations
fails...

I will spend some time looking in to that...

thanks for your help and your fast reply

Mikkel

-----Oprindelig meddelelse-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sendt: 14. maj 2001 11:54
Til: [EMAIL PROTECTED]
Emne: Antwort: VAJ3.5, Tomcat, Struts




Hi Mikkel,

we are using this combo successfully. Here some possible problems:
1.) tomcat needs servlet-api > 2.1: do not use pre-packaged jars (.class
only) or VAJs Version. Get the sources and import them to your tomcat
project.
2.) you have(!) to use struts-src distribution; import it into VAJ (should
compile successfully but has errors concerning javax.sql.datasource (add
feature in VAJ (IBM Enterprise Extension Libs) or get reference
implementation from SUN (binary version is enough and import only missing
class files into Struts Project)
Important: within struts.jar are some resource files (DTDs and config-XMLs)
Put these somewhere into tomcats classpath (e.g.
webapps/myApp/WEB-INF/classes/org.apache.struts.resources)!
3.) set Tomcats Classpath correct! (include your Project, Struts-Project)
---
4.) Consider downloading VAJ 3.5.3 Enterprise _Entry_ Edition (full Edition
is expensive :-\ ) and include Websphere Test Environment (WTE); it is able
to debug your JSP-Files (imagine!).

Good luck,
Jürgen






Mikkel Bruun <[EMAIL PROTECTED]> on 14.05.2001 11:09:46

Bitte antworten an [EMAIL PROTECTED]

An:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Kopie:     (Blindkopie: Jürgen Walter/HV18/Hermes/DE)
Thema:    VAJ3.5, Tomcat, Struts


Hi Guys...

Lat night, after reading the article about struts in jdj, i decided to give
struts a try...
I have earlier implemented model2 frameworks in the same flavor, but not as
complete and full as struts!!
Congratulations team!!

anyway, usually when i develop i use VAJ 3,5 launching tomcat 3.2 internally
(Not the tomcat test enviroment).
If anyone has tried this combo, you know it rocks and eases development
tremendously...

However, i couldn't make it run like i wanted it to, apparently i had to put
struts.jar in the filesystem, as it wouldn't load from within VAJ...
The same happened with my own classes, they also had to be placed in the
filesystem before struts could load them...

I read your maling-list archives and saw that you have had this thread
before, however i wasn't able to find any solution...

Have you found any way to solve my problem???

thanks!

Mikkel Bruun





Reply via email to