- This topic has 6 replies, 7 voices, and was last updated 19 years, 5 months ago by
Riyad Kalla.
-
AuthorPosts
-
xcosynsMemberWe have an existing project and we work with several struts-config files. I can’t find any way to configure that with the struts plugin. The graphical interface shows up an error because it considers the xml as invalid.
The struts-config is considered invalid because some actions in one file do use form-beans defined in another config file.
Is there a way to use multiple config files with MyEclipse?
December 22, 2004 at 10:03 am #221724
support-michaelKeymaster1) when you mention that you use several struts-config.xml files do you mean that you are using struts modules, e.g., struts-config-mod1.xml or are you working on a single struts-config.xml file that is partitioned into smaller XML files that are included by the struts-config.xml file?
2) Can you post a small example?
February 7, 2005 at 2:17 pm #224624
arunpersMemberI am in a similar situation. I have a project (not in MyEclipse J2EE project structure) with multiple struts-modules.
I tried opening the individual xml files containing the struts config information for each module and it displays the graphical view… that was really kool.. When I double click on the actions it takes me to the java file, but if I double click the jsp’s it is unable to load the jsp or take me to the tiles definition xml file… am i missing something in the configuration ??
March 19, 2005 at 8:20 am #226904
jason poleyMemberis there any way to make the other config files open (default) in the UI basd editor?
May 10, 2005 at 4:26 am #229313
kambiz shahriMemberI am also in exactly the same situation as arunpers. From what I can seen, MyEclipse still has a ways to go to deal with multiple config files and tiles definitions and JSP, to provide a full view of a Struts 1.2 application. If anyone thinks the contrary I would very much like to hear the solution.
My approach is to look at each module seperately as far as the config.xml is concerned.
I have not figured out a way of mapping JSPs to tile yet.
regs
shahrikFebruary 2, 2006 at 11:23 am #245929
ekelandMemberI’m bumping into exactly the same problems as Shahrik and Jason: can’t open JSP files from the UI when have multiple config.xml fils.
Did anyone find a solution yet?
regards,Paul
February 2, 2006 at 11:54 am #245937
Riyad KallaMemberSorry guys this is still an open issue we are hopefully addressing shortly.
-
AuthorPosts