Is there a way to reverse engineer a WAR file for a struts app?

2002-06-13 Thread Jane . Muse

I have a WAR file for my struts app that I created from the JRE command
line with the 'jar' command. I then created an EAR file with the
Application Assembly tool in Websphere Application Server 4.0, then
deployed to WAS 4.0. My struts app was developed with Visual Age for Java
4.0 and tested with Tomcat. I now want to test with WAS 4.0 running on
Win2K, then once that works, will deploy to WAS 4.x on ZOS. While testing
with WAS 4.0 I got null pointer exceptions in areas of the code that worked
fine with Tomcat. So now it looks like I need a debugger to test with WAS
so I can step through the code and find out why the null pointer
exceptions. For this purpose, I installed Websphere Studio 4.0 with the
debugging tool. The question is does anyone know if I can turn my WAR file
into an application on Studio? In other words is there a way to 'reverse
engineer' a WAR file into an application that can be debugged?
The option of using Websphere Application Server from within VAJ is always
there I suppose, but that's WAS 3.5.3 and I specifically want to use WAS
4.x.
Thanks in advance.
Jane


This email message and all attachments transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and
privileged information. Please DO NOT forward this email outside of the recipient's 
Company unless expressly authorized to do so herein.  Any
unauthorized review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email
and destroy all copies of the original message.

Any views expressed in this email message are those of the individual sender except 
where the sender specifically states them to be the views of Indus
 International, Inc.




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




java script question

2002-04-26 Thread Jane . Muse

This isn't exactly a struts question, but I've seen some similar questions
posed in this user list related to java script. What I'm trying to do is
display values in a drop down list based on a value selected from another
drop down. Depending upon what is selected, I will get the value selected
from the drop down, and dynamically populate the second drop down. I am
using the onchange java script attribute on my struts html tag that fires
an event when I select an item from the first drop down. I need to take the
value selected, use it as a key, and get data from a preloaded array that
has the data that I need for the second drop down. I know from reading
through the struts user list that I need to load the array in the java
script function to be able to get data from from it. The question is, how
do I load this array in my java script function?

Can the allMethodsTypes array get loaded in the java script function by
referencing it as a JSP expression?

Thanks,
Jane

Here's the code

<%

 String [][] allMethodsTypes;

  try {
   allMethodsTypes  = new String [methodNamesList.size()][];
   for (int methodindex = 0; methodindex < methodNamesList.size
(); methodindex++) {
String method
= (String)methodNamesList.get(methodindex);
methTypes = bomb.getListOfMthdTypeDef(method);
allMethodsTypes[methodindex] = new
String[methTypes.size() + 1];
allMethodsTypes[methodindex][0] = new String(method);
for (int typeindex = 0; typeindex < methTypes.size();
typeindex++) {
 String type = (String)methTypes.get(typeindex);
 allMethodsTypes[methodindex][typeindex + 1] = new
String(type);
}
   }
  }
  catch (Exception e) {
   System.out.println("Exception building allMethodsTypes
array" + e);
 }
 }
%>




 function selectMethodTypes(f, test)
 {
 var i;
 var x;
 if(!f) {
 return;
 }

 var l = f.methodNames.length;
 for (i=0; i
  if (s = allMethodsTypes[i][x]);
   f.methodTypes[x].value = allMethodsTypes[i][x];
  }
  }
}
 }
 }





This email message and all attachments transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and
privileged information. Please DO NOT forward this email outside of the recipient's 
Company unless expressly authorized to do so herein.  Any
unauthorized review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email
and destroy all copies of the original message.

Any views expressed in this email message are those of the individual sender except 
where the sender specifically states them to be the views of Indus
 International, Inc.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Need to link to another page when cancel is pressed.

2002-03-15 Thread Jane . Muse

When I press cancel, I want to perform a link to the mainMenu of my app.
Doing a forward doesn't work because there are 2 frames, and the left frame
is still there after I go to mainMenu. So logically, this is what I want to
do:

 
 
 

Does anybody know how to do this?
Thanks.
Jane


This email message and all attachments transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and
privileged information. Please DO NOT forward this email outside of the recipient's 
Company unless expressly authorized to do so herein.  Any
unauthorized review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email
and destroy all copies of the original message.

Any views expressed in this email message are those of the individual sender except 
where the sender specifically states them to be the views of Indus
 International, Inc.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: