the following code is not running on apacheTomcat 7.0.30 version but the same code is working on netebans 7.0, how to make it working on tomcat individually.
<%@ page import="javax.swing.JOptionPane" %> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <% JOptionPane.showMessageDialog(null,"welcome to my web page"," Welcome",JOptionPane.INFORMATION_MESSAGE);%> Hello World! this is web2 project </body> </html>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.