Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 62
Search took 0.01 seconds.
Search: Posts Made By: Edward King
Forum: C++ Programming June 11th, 2008, 01:31 AM
Replies: 1
Views: 1,462
Posted By Edward King
C++ question

I have three C++ files,like follows:
/*Test.h*/
#include <iostream.h>
class Test{
public:
Test();
};

/*Test.cpp*/
#include "Test.h"
Forum: Struts February 17th, 2006, 04:02 AM
Replies: 2
Views: 3,282
Posted By Edward King
<html:option> question

I want to set a default value of select,such as follows:

<html:select property="loglevel" size="1">
<html:option value="0">0</html:option>
<html:option value="1" selected>1</html:option>...
Forum: Pro JSP January 30th, 2006, 08:31 AM
Replies: 1
Views: 2,633
Posted By Edward King
How to set a session in Java Filter?

I make a filter,in this filter,I check a request parameter,if this parameter equals a assigned name,I put a flag into a session,like follows:
public void doFilter(ServletRequest...
Forum: Javascript January 20th, 2006, 10:35 PM
Replies: 2
Views: 3,262
Posted By Edward King
How to modify hidden value?

I have a HTML file,there are hidden parameter in in this HTML,hidden parameter name is made of "test"+number,such as
<form name="test" id="test">
<input type="hidden" name="test0" value="9">...
Forum: Java Databases January 4th, 2006, 01:27 AM
Replies: 0
Views: 1,696
Posted By Edward King
How to save a picture in Microsoft Access Database

I want to save a picture file,such example.jpg file into a Microsoft Access Database in JSP,anybody know how to save picture file into Microsoft Access Database and read this picture file from...
Forum: Apache Tomcat December 18th, 2005, 11:01 PM
Replies: 0
Views: 934
Posted By Edward King
startup.bat question

When execute Tomcat5/bin/startup.bat,it will appear a command window,all display information of Tomcat will appear in it.Is there a method which can put the display information in this command window...
Forum: JSP Basics October 23rd, 2005, 06:49 AM
Replies: 0
Views: 527
Posted By Edward King
Why HTTP validate can't work

I use JDK1.5 and Tomcat5.5.12, I have three files like follows:
-------index.jsp-----
<html>
<body>
<%
out.println("<H2>Authentication Mechanism "+ request.getAuthType() +" </H2>" );
%>...
Forum: Visual C++ October 21st, 2005, 08:11 PM
Replies: 0
Views: 900
Posted By Edward King
How to make a dllexp file?

I want to make a dll file,such as "test.dllexp",I want to use dllexp file to connect Oracle database and extract data from it. I am a new program with VC,I don't know how to make a dllexp file, could...
Forum: Apache Tomcat October 19th, 2005, 09:38 AM
Replies: 0
Views: 5,048
Posted By Edward King
tomcat can't start

My JDK is "1.5.0_04", download apache-tomcat-5.5.12.zip and expand it,then I start tomcat like follows:
C:\apache-tomcat-5.5.12\bin\startup.bat
Tomcat runs OK

But if I use follows command to...
Forum: Apache Tomcat October 18th, 2005, 11:17 AM
Replies: 1
Views: 7,616
Posted By Edward King
Tomcat window close automatically

I use Tomcat5.5.12,and I run my JSP and Servlet in it, after run some time,I find Tomcat window show some error,and close automatically quickly. I don't see the information clearly in the window of...
Forum: Apache Tomcat October 13th, 2005, 10:26 AM
Replies: 2
Views: 8,487
Posted By Edward King
why I can't visit Tomcat5.5.12 (Urgent)

I install Tomcat5.5.12 using file "apache-tomcat-5.5.12.zip",then I start Tomcat using this file apache-tomcat-5.5.12\bin\startup.bat,It show information follows:
2005-10-13 19:18:46...
Forum: CSS Cascading Style Sheets September 16th, 2005, 03:49 AM
Replies: 1
Views: 1,157
Posted By Edward King
CSS question

I designed a CSS,like follows:
.Ex:hover { text-decoration: underline; font-size: 9pt; color: #ff0000}

Then I use this CSS in following code:

<img src="test.jpg" class="Ex">

when I click...
Forum: Apache Tomcat September 15th, 2005, 08:21 PM
Replies: 1
Views: 1,702
Posted By Edward King
puzzled with tomcat5.5.9

I use JDK1.5.0_04 and Tomcat5.5.9 under Windows 2003 Server,I have a directory like follows:
Tomcat 5.5\webapps\example\ex1.jsp
Tomcat 5.5\webapps\example\ex2.jsp
Tomcat...
Forum: J2EE September 9th, 2005, 01:00 AM
Replies: 1
Views: 1,430
Posted By Edward King
How to get a String from JNI?

I want to get a returned String from JNI, but I don't know how to do it, my code are follows:
//MyNative.java
public class MyNative{
public String test1(String s){
return test11(s);
}...
Forum: J2EE September 6th, 2005, 08:00 PM
Replies: 1
Views: 1,399
Posted By Edward King
How to read Hard Disk sequence number by Java?

Is there any method to read Hard Disk sequence number and other hardware information,such CPU ID? Please give me some advice or source code for it.

Thanks!
Forum: Javascript How-To August 23rd, 2005, 09:29 PM
Replies: 0
Views: 1,274
Posted By Edward King
How to realize dynamic expand tree?

I want to create a dynamic expand tree,like follows:
£­Root
¡¡£­£­£«Directory1
¡¡£­£­£«Directory2

When click Directory1,this page will read contents of Directory1 from...
Forum: Apache Tomcat August 12th, 2005, 02:36 AM
Replies: 1
Views: 1,719
Posted By Edward King
Why Tomcat5.5.9 can't work?

I installed JDK1.5.0_04,and set environment as follows:
JAVA_HOME=C:\jdk1.5.0_04
path=c:\jdk1.5.0_04\bin

Then I installed Tomcat5.5.9£¬and set port is 8080£¬then I set environment...
Forum: HTML Code Clinic August 11th, 2005, 09:45 PM
Replies: 1
Views: 827
Posted By Edward King
Help with tab page

I want to design a tab page,like follows:
___________
|Tab1 | Tab2|
--------------------
|¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡|
|¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡|...
Forum: Pro JSP August 2nd, 2005, 10:18 PM
Replies: 1
Views: 1,341
Posted By Edward King
charset question

I want to use charset="GB2312" in JSTL,and input information with GB2312 code in index.jsp page and then I post it to show_parameters.jsp page,I find the charset is not show properly. It shows some...
Forum: Oracle July 20th, 2005, 04:26 AM
Replies: 1
Views: 1,051
Posted By Edward King
How to find privilege to be grant to other users?

User X put some privilege ,such as create table privilege, grant to user Y,
SQL>grant create table to Y with admin option

Then user Y secretly put create table privilege to grant to user Z...
Forum: Oracle July 20th, 2005, 01:19 AM
Replies: 2
Views: 2,756
Posted By Edward King
Why can't create table?

Using system operator account to creat a user and assign some privilege to it,like follows:
SQL> create user a1 identified by a1;
SQL> grant create session to a1;
SQL> grant create table to a1;
...
Forum: J2EE July 18th, 2005, 10:03 AM
Replies: 0
Views: 1,615
Posted By Edward King
How to make a ear file?

I have some files in following directory:

The structure of web archieves files 'jsps.war' is follows:
main.jsp
WEB-INF/
web.xml
weblogic.xml
classes/
factory/
order.class
Forum: Javascript How-To June 29th, 2005, 02:15 AM
Replies: 6
Views: 64,030
Posted By Edward King
How to encrypt Javascript?

I put a Javascript into a JS file,and refered it in a HTML file.This Javascript includes sensitivity information,such as the next page path and file name,I know people can get this JS file...
Forum: Javascript How-To June 28th, 2005, 02:26 AM
Replies: 2
Views: 3,749
Posted By Edward King
How to get the value of pre?

I have a pre tag in the HTML,like follows:
<form name='myform'>
<pre id='a' style="margin:0px;">
12345 912345 12345
</pre>

<script language="JavaScript" type="text/JavaScript">...
Forum: Java Databases June 19th, 2005, 03:48 AM
Replies: 3
Views: 1,338
Posted By Edward King
Why can't insert number value in Access2000?

I use Microsoft Access 2000 Database,I create a table named test,it contains one column named col1,it's type is number.
then I use statement like follows:

String str="insert test(col1)...
Showing results 1 to 25 of 62

 


All times are GMT -4. The time now is 01:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.