Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #22.6K
Ranked #4K
~5K People Reached

6 Posted Topics

Member Avatar for rahulrulez

The JSP import page directive expects classes to be declared in the form "package.class", e.g. <%@ page import = "mypackage.MyClass"%> So, do a bit of refactoring and put your classes under a package. It's good programming practice anyway... Also make sure your .class files (with their respective folder hierarchy) are …

Member Avatar for nohup
0
2K
Member Avatar for Watashi

Your resulting code is not valid HTML. You have multiple form tags and the submit button sends only the data of the first form. Open and close the <form> tag only once and outside of the <c:forEach>. Also, it's good practice to give the form an id so that you …

Member Avatar for nohup
0
138
Member Avatar for neo_31591
Re: JDBC

Have you really read the above mentioned examples and tutorials and still are at a loss? Well...regarding the connection to a MySQL database it all boils down to this: Your database server, when started, listens to a port (by default 3306) on your PC (localhost). The connection string for MySQL …

Member Avatar for nohup
0
146
Member Avatar for martin5211

JSTL does not know of the Java variables you set, therefore in the following code the variable 'posts' cannot be used as is: [CODE]<% ArrayList<PostBean> posts = new ArrayList<PostBean>(Posts.getPosts()); %> <% //System.out.println(posts); %> <c:forEach var="post" items="${posts}"> <h2>${post.title}</h2> <p>${post.text}</p> </c:forEach> [/CODE] In this case c:forEach tries to find a variable called …

Member Avatar for martin5211
0
2K
Member Avatar for josiefrut

There doesn't seem to be any problem with your classes or the web.xml. Looking at the stacktrace, notice these lines: [CODE]java.lang.NullPointerException org.apache.jsp.userList_jsp._jspService(userList_jsp.java:63)[/CODE] This means the problem is in 'userList.jsp'. (Tip: Look for the compiled 'userList.jsp', the file path should be something like work/Catalina/localhost/CallLogger/org/apache/jsp/userList_jsp.java under Tomcat directory, and check what happens …

Member Avatar for nohup
0
156
Member Avatar for afreen khan

[QUOTE=afreen khan;1326354]when i am executing cmd commands through java ,even though we are having tns name its throwing the following error [COLOR="Red"]ERROR: ORA-12154: TNS:could not resolve service name Plz help!!![/QUOTE] Could you please post some code? What commands are you trying to call?

Member Avatar for nohup
0
129

The End.