regarding finding jsp

Hello friends

I am working on struts frame work using myEclipse soI have problem of finding from which jsp the corresponding action class/form bean is callled.In struts-config file only we have action class, form bean & path,If our project is big how can we find from which jsp's our action class is called & also from how many jsp's also.Is there any Technic in MyEclipse.

[396 byte] By [sepuri_rama@yahoo.co.ina] at [2007-11-26 20:03:06]
# 1
you can look through struts config file which help you to establish the relation between your address and class file,and you could find your address on it.But there may be another good way to find them efficiently.Check out help about myeclipse,Maybe you will find something surprise.
piggiea at 2007-7-9 23:02:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
HAIDo not you think it is a hetrick jobto know from how many jsp our action class is called
sepuri_rama@yahoo.co.ina at 2007-7-9 23:02:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

On a project,you should have made comments on it or divide your struts config into series file sorted by sub-application,which helped you to distinguish all your sub-module.I remember that there is a tool in myeclipse could restore the relation between address and class file,you could scout at net

piggiea at 2007-7-9 23:02:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
I search through the net but i could not find the tool could you Please help me out
sepuri_rama@yahoo.co.ina at 2007-7-9 23:02:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
you can use a simple search tool like jedit or anything to find through all your jsp where there are references to '<actionName>.do' if you use the redirect method in struts, you can also look at the refferrer of the request in the action
alban.maillerea at 2007-7-9 23:02:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6

Hi,

There is no tool to find whatever you have asked.

but simple mechnism is there.Go to struts-config.xml file.there is 2 option at right side corner in MyEclipse[SOURCE][PREVIEW].

then See the [PREVIEW].Now,you can see the way of jsp pages with associated action class.

For your information,for big project ,it is very hard tehnique.

CookBookJa at 2007-7-9 23:02:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...