This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Form.submit() and WebSphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Form.submit() and WebSphere" Watch "Form.submit() and WebSphere" New topic
Author

Form.submit() and WebSphere

Doug Harding
Greenhorn

Joined: Apr 03, 2005
Posts: 8
Hi All,

I am running websphere version 5.6.x.x.

I have an application that I am trying to trouble shoot. There is a javascript form.submit() function in an html page. Something is going on with the java class file that is performing the processing for this form. The trouble that I am having now is that while I think I know which class is being invoked, I don't know which one it really is.

I have been searching the web for a few days trying to get an insight into how I would locate this program. I have been told that if I were using struts that there would be a config.xml file someplace that would link the html page with a java class.

Is the same thing true for a non-struts application?

Any and all suggestions would be greatly appreciated.

Thanks,

Doug Harding
State of Utah / Division of Finance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

If your app is not using a front controller, the servlet or JSP will be named in the action attribute of the form. What's there?

If it's a servelt reference, it should be mapped in the deployment descriptor (web.xml).

As this is not an HTML or JavaScript question, I'm moving it off to the servelts forum ('cause I don't thinkthis is websphere=specific either).


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: Form.submit() and WebSphere