Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Tags
Member Avatar for newbee_jv

Hello everyone, I have a simple JSP, with a text input and a submit button, as follow: <form accept-charset="UTF-8" method="get" action="<%=request.getContextPath()%>/someAction"> Enter Search: <input type="text" name="keyword"/><input type="submit" /> </form> And in my Servlet, I am reading the input, as such: String word = request.getParameter("keyword").trim(); System.out.println("Keyword: " + word); The input …

Member Avatar for rproffitt
0
311
Member Avatar for newbee_jv

Hello everyone, I am new to Regular expression, and would like some hints, please if someone can direct me to right place. I have a bunch of files in a directory, and i need to rename them based on certain pattern. I think I need to use regular expression to …

Member Avatar for newbee_jv
0
262
Member Avatar for newbee_jv

Hello all, I have the following code. Connection connection = getMySQLConnection(); try { Statement st = connection.createStatement(); String SQL = "SELECT ID, NAME FROM STUDENT WHERE ID=5"; ResultSet rs = st.executeQuery(SQL); System.out.println("SQL =" + SQL); while (rs.next()) { // do something... } } catch (SQLException se) { se.pringStackTrace(); } From …

Member Avatar for newbee_jv
0
397
Member Avatar for newbee_jv

Hello all, I have an spring MVC app, that connects to my backend MySQL DB. I have my data source configured properly in my spring bean config XML file, as follow: <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="com.mysql.jdbc.Driver" /> <property name="url" value="jdbc:mysql://localhost:3406/mydb" /> <property name="username" value="root" /> <property name="password" value="passwd" /> …

Member Avatar for newbee_jv
0
2K
Member Avatar for newbee_jv

Hellow everyone, I have a populated LinkedHashMap, and I need to insert another key/value to it, but it appears that it replaces it. How can I append it? Here's the example: Map <String, String>invalid = new LinkedHashMap<String, String>(); invalid.put("111111111111111111111", "Invalid Message # 1"); Map <String, String>valid = new LinkedHashMap<String, String>(); …

Member Avatar for JamesCherrill
0
167
Member Avatar for newbee_jv

Hello everyone, I have 2 Tomcat app servers (Tomcat1, Tomcat2) on 2 different hosts. Tomcat1 is my main J2EE web application that has a commercial certificate, and the application works correctly. Tomcat2 is a dependent component that has a self signed certificate. both tomcats are behind a load balancer. When …

Member Avatar for newbee_jv
0
2K
Member Avatar for newbee_jv

Hello everyone, I am trying to show an animated spinwheel image when I am making a servlet call, and hiding it, once the call comes back in my JS method. The following code displays the image alright, but fails to hide it, once the call comes back. JSP <div id="spin" …

Member Avatar for hericles
0
216