Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
can anyone please tell me where to put in my ActionForm class like will it be in the same directory as the Action classes?
please help me I'm new to struts.
yes for a WS client code is automatically generated. But the thing is without the help of the client generated i need to invoke the WS from a servlet after getting the form parameters leave aside 'bean' a mistype
I need to send the form details to the servlet from where in i need to create a bean based on those form details. then invoke a service on that bean get the response back then present it.
Hi All,
i am actually new as to how can we call a web service from a servlet/jsp. I could do the same from a client but not from a servlet can anyone please help.
how to add it to websphere class path by the way??
And after removing mail.jar and activation.jar as you said the errors followed.....
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream
at JavaMail.send(JavaMail.java:14)
at JavaMail.main(JavaMail.java:26)
The error when I'm trying to send a mail in my servlet application is...
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport
at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:111)
at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44)
at javax.activation.DataHandler.getCommandMap(DataHandler.java:136)
at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:567)
at javax.activation.DataHandler.writeTo(DataHandler.java:294)
at javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:230)
at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1065)
at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1923)
at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1904)
at javax.mail.Transport.send(Transport.java:79)
at JavaMail.send(JavaMail.java:21)
at JavaMail.main(JavaMail.java:26)
I was going through some forums....found out that in the servers view-->publishing section--> we need to uncheck minimize application files copied to server.... that actually helped me the errors vanished after i re-deployed my app and ran it..... and the advice you gave specifying run as roles in application.xml of EAR did work