Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Jeff Tanner

Greenhorn
+ Follow
since Aug 09, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jeff Tanner

Hi

Through an ANT build.xml, I want to modify a setting within a project's config.ini file.

For example, from default setting:
app_service_api=UNDEFINED

to a setting defined within build.xml:
app_service_api=QA

How can I do this

Thanks

Jeff in Seattle

9 years ago
Hi

In Java, I wish to establish a 443 SSL connection with remote endpoint using provided CAcerts.pem file.

I wias able to do such in PHP, but I do not how to do the same in Java:



I started to work out the same with Java, with code that I have googled, but I am not sure how to assure it is using PORT 443 and to use the available CAcert.pem file.



Ideas?

Thanks

Jeff in Seattle
Hi

I am writing a simple console application. When using System.out.println(), it prefixes the console output with "[java]". How can I avoid this from occurring?

Code:



Console Output:


Thanks

Jeff in Seattle

9 years ago
Hi

I am running two service on my Windows XP x86 64 bit box.

Service A using IIS on port:80
Service B using Apache Tomcat 5.5.17 on port:8080

This setup is operational, but not correct port assignments. There is a restriction my Service B (Tomcat) that it must run on port:80.

So I need to switch services to different ports.

First, I switched Service A to use IIS on port:8080 (note: this is default service), making port:80 available.

Next, I tried to get Service B using Apache Tomcat 5.5.17 to run on port:80 and my Windows XP will NOT give it port:80. My box allow my Apache Tomcat have any other port but NOT port:80.

Why?

Thanks
11 years ago
Hi

I understand how to create a form of type "multipart/form-data" that uploads a file from a client's box , but I am trying to use the same form code for downloading a file to a client's box .

Using the code below, the value of input named "downloadFileInput" should have "test.txt", but it is blank. If I try to use the "Browse" panel that pops up and provide it a file name of "test.txt", it returns a message that that file does not exist.

What is wrong with this HTML code within JSP file?



Thanks,
11 years ago
JSP
Hi

I am typically an ASP.NET programmer, and I am familiar with ASP masterpages.

Because, I also know Java, I was handed a JSP project.

I am looking for an equivalent to <asp:Content> whereby I can wrap multiple lines of code/HTML between the open and close tag; for example like so:



However, the closest thing I found is <jsp:param name="param_title" value="param_value" /> , but this is an inconvient solution because the param needs to be inclosed within double quotes, whereby multiple lines of code/HTML will need be a series of concatinated strings.



Ideas?
12 years ago
JSP