Ok, thanks, I am working on that.
I think that I may have another problem. I need to format the message with html. Anything that I try adding to the resource file, strings or objects will not work. I have tried <br> and /n. Is this not possible with MessageResources?
Thanks!
I am having several problems getting my ArrayList data to show in a message box. I am ready to just scrap the message box and create a new page but I thought I would ask for help first.
This is the method pasted form the javadoc I am calling:
--------------
public java.lang.String...
Thanks,
I acually found some number formatting code that I can re-use in our app but it actually turns the double into a String. So now when I convert back to double, I get the trailing .0 again. Is there a way to convert back to double without adding on the trailing zero and not truncate...
Hi I need to remove the .0 from a double. But I don't want to cast to int in all cases because I could have something like 67.002 where I don't want to truncate any meaningful data.
thanks!
I was able to find the tomcat service and stop/start it there to delete the files that I didn't want. Now I still can't get any page (even after I start tomcat). I double checked my code but I am still getting the error with jsp page through http://192.168.1.123:80 in the IE browser.
HTTP...
yeah, I had some struts files in it's own app folder off webapps but then I tried to integrate it with my website (in root which was up and accessible on port 80) but alas, after I moved all of my struts files into root, my whole site is down. I will check into rebooting again then the...
Hi sedj,
This is what I get:
C:\Tomcat_4_1\bin>catalina stop
Using CATALINA_BASE: c:\Tomcat_4_1
Using CATALINA_HOME: c:\Tomcat_4_1
Using CATALINA_TMPDIR: c:\Tomcat_4_1\temp
Using JAVA_HOME: C:\j2sdk1.4.1_04
Catalina.stop: java.net.ConnectException: Connection refused: connect...
Hi,
I was wondering if when, using the start menu icon, I really stop Tomcat. After doing so, I still see the process is running in task manager.
Also, I created some app folders in the webapps directory. (I am using Tomcat 4.1). I can't seem to delete them. I get the message: "Cannot...
OK, I have fixed all of my problems byu putting the struts.jar in the jdkx.x/jre/lib/ext folder.
But I am stil getting these 2 errors which I cannot figure out:
C:\Tomcat_4_1\webapps\pixieapp>javac GuestbookForm.java
GuestbookForm.java:16: illegal start of expression
public void...
Hi,
When I try to compile I get this:
C:\Tomcat_4_1\webapps\pixieapp>javac GuestbookForm.java
GuestbookForm.java:16: illegal start of expression
public String setGuestName(String guestname){
^
GuestbookForm.java:33: ';' expected
}
^
GuestbookForm.java:4: package...
Hi I think that i am goinng to post in the java forum bacause maybe that is a more relavant forum! Just in case, I have servlet.jar in my tomact/common/lib folder and here are my errors from the commandline:
C:\Tomcat_4_1\webapps\pixieapp>javac GuestbookForm.java
GuestbookForm.java:16: illegal...
well, if you wanted to use a button class, you could handle the operation of clicking a button in your action class and then execute to the correct code.
you could also use javascript onclick="function name" in your struts tag to call form posting in a function defined on the jsp...
Hi,
I have 2 issues.
1. I am following the 'Mastering Jakarta Struts" book. (I downloaded the struts v. 1.1. I am using Tomcat.) On page 60 it listed which .jar files to move to the lib directory. The only one that I couldn't find was commons-service.jar. Also it mentioned...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.