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

16 Posted Topics

Member Avatar for mydreamgirl

I have a standard java web application package under public_html. My java source code is under WEB-INF/classes/. My jsp files are under public_html and public_html/version/v1. Now all of my jsp file under public_html is running fine, however, the jsp files under public_html/version/v1 do not work with following error: *HTTP Status …

Member Avatar for esprittn
0
300
Member Avatar for mydreamgirl

I have applied indexes and analyzed my table, but query on select is still very slow. Anything else can I do to speed it up?

Member Avatar for cereal
0
78
Member Avatar for mydreamgirl

Is there a way for JSP to get value from id element in a html? Just like what javascript doing document.getElementById.value

Member Avatar for stultuske
0
2K
Member Avatar for mydreamgirl

Tried following code to get timezone conversion and failed. public static String ConvertTmz(String timeFormat, String timeStr, String tmz){ String theTimeFormat="MM/dd/yyyy HH:mm:ss"; if (timeFormat!=null) theTimeFormat=timeFormat; SimpleDateFormat sdf = new SimpleDateFormat(theTimeFormat); sdf.setTimeZone(TimeZone.getTimeZone(tmz)); GetTimeStr(timeStr); GregorianCalendar time=new GregorianCalendar(yyyy, mm-1, dd, hh, mi, ss); return sdf.format(time.getTime()); } Please help.

Member Avatar for JamesCherrill
0
344
Member Avatar for mydreamgirl

I installed Apache Tomcat 7.0.28 in my JBuilder6. I use JDK 1.6.0_32 (jre6). I can get http://localhost:8080/ page. However, when I tried to run my JSP file, I encountered following error: FileUpload.jsp: java.lang.NoClassDefFoundError: org/apache/tools/ant/Task FileUpload.jsp: Caused by java.lang.NoClassDefFoundError: org.apache.tools.ant.Task ...12 more Could not find the main class: org.apache.jasper.jspC. Program will …

Member Avatar for firdaus_lazim
0
397
Member Avatar for mydreamgirl

I installed Apache Tomcat 7.0.28 in my JBuilder6. I use JDK 1.6.0_32 (jre6). I can get http://localhost:8080/ page. However, when I tried to run my JSP file, I encountered following error: org.apache.catalina.startup.Bootstrap start -config "C:\Documents and Settings\user\jbproject\whoznextdoor\conf\server8080.xml" -nonaming Jun 23, 2012 8:22:47 AM org.apache.catalina.startup.Bootstrap main WARNING: Bootstrap: command "-nonaming" does …

Member Avatar for mydreamgirl
0
368
Member Avatar for mydreamgirl

I installed Apache Tomcat 7.0.28 in my JBuilder6. I use JDK 1.6.0_32 (jre6). I can get http://localhost:8080/ page. However, when I tried to run my JSP file, I encountered following error: org.apache.catalina.startup.Bootstrap start -config "C:\Documents and Settings\user\jbproject\whoznextdoor\conf\server8080.xml" -nonaming Jun 23, 2012 8:22:47 AM org.apache.catalina.startup.Bootstrap main WARNING: Bootstrap: command "-nonaming" does …

Member Avatar for peter_budo
0
149
Member Avatar for mydreamgirl

My source code runs fine in IBM RAD. When I tried to run it in JBuilder, I encountered an error "Incompatible object argument for function call" while running a JSP file. Any idea how to handle it? See details below: 012-06-16 10:20:48 - Ctx( ): Exception in: R( + /FileUploadAction.jsp …

Member Avatar for mydreamgirl
0
461
Member Avatar for mydreamgirl

I am trying to assign some values to static class and it does not work as I expected. I was expecting to see different values for different classes. However, they fall into the same value because it is static??? See code snippet here: NewOperationResponseSimpleType[] resp=new NewOperationResponseSimpleType[3]; NewOperationResponseSimpleType[] res1=new NewOperationResponseSimpleType[3]; NewOperationResponseSimpleType[] …

Member Avatar for NormR1
0
182
Member Avatar for mydreamgirl

By running following code and I got following output: At begining of default constructor, theApplet.isDisplayable()=false Start Init here... At begining of init(), theApplet.isDisplayable()=true At begining of constructor, theApplet.isDisplayable()=false End Init... Two questions: 1. Does anybody know why isDisplayable() is changed without do anything on it? 2. Why does the JApplet …

Member Avatar for JamesCherrill
0
109
Member Avatar for mydreamgirl

Hi, Does Anyone have a code snippet for a horizontal drop down menu with collapsible text to share with me? Thanks a lot. Mydreamgirl

Member Avatar for mydreamgirl
0
138
Member Avatar for mydreamgirl

Do you have any ideas of how to bring Swing to a web site? Not use applet, but Swing only. Any sample code is appreciated. MyDreamGirl

Member Avatar for NormR1
0
340
Member Avatar for mydreamgirl

Xuggle can handle many different video formats. What I am thinking about is to wrap the Xuggle into Swing component, and make a start/pause button and a progress bar on the top of it. Any suggestions? Sample codes would be great. MyDreamGirl

Member Avatar for mydreamgirl
0
411
Member Avatar for mydreamgirl

I have unicode for Simplified Chinese. I would like to send an email with Chinese subject and content. The content works fine-which converts unicode to Chinese, however the subject alwasys shows unicode instead of Chinese. Can anybody help? Enclosed you can see a part of my code: [code] session = …

Member Avatar for mydreamgirl
0
1K
Member Avatar for mydreamgirl

Here is the code from client side: [code]public class TempMail { private String url = "http://localhost:9081/Servlet_Test/Servlet_Test"; public StringBuffer invokeServletForLogin(String unm, int key1, int key2, byte[] pwd, byte[] newPwd, String flag) throws IOException { HttpConnection c = null; InputStream is = null; OutputStream os = null; StringBuffer b = new StringBuffer(); …

Member Avatar for dumparun
0
159
Member Avatar for peter_budo

Peter, I am trying to send some text and byte[] messages from a j2me application to a servlet. I am able to get all text messages but unable to get byte[] message correctly. I set http.setRequestProperty("Content-Type", "application/x-www-form-urlencoded") in client side and response.setContentType("multipart/form-data") in the server side.Do you have a sample …

Member Avatar for peter_budo
0
245

The End.