ok, I just found it is not related with tomcat or struts. I just use this code:
import java.util.Arrays; import javax.imageio.ImageIO; public class ListImageFormatters { public static void main(String[] args) { String[] readerFormatNames = ImageIO.getReaderFormatNames(); //[BMP, bmp, jpg, JPG, wbmp, jpeg, png, PNG, JPEG, WBMP, GIF, gif] System.out.println(Arrays.toString(readerFormatNames)); //[jpg, BMP, bmp, JPG, jpeg, wbmp, png, JPEG, PNG, WBMP, GIF, gif] String[] writerFormatNames = ImageIO.getWriterFormatNames(); System.out.println(Arrays.toString(writerFormatNames)); } } and it will start the Bootstrap too. so, look like it is belong to JDK part. but I don’t understand it still. is there anyone can share some tips to me? thanks so much Mike.G > 在 2015年9月24日,11:32,Mike Guo <hongw...@163.com> 写道: > > Anyone? Please. > > > 发自我的 iPhone > >> 在 2015年9月24日,02:15,Mike Guo <hongw...@163.com> 写道: >> >> Hi. all. >> >> I got a very strange issues. >> >> I tried to generate dynamic check code by struts2. so, I used buffered >> image and javax.imageio for a byteinputstream in my Action. >> >> look like the function work fine. but strange thing is: every time when I >> access that dynamic check code action. system will be start a java >> application “Bootstrap” >> >> please check the picture. also, when quit this Bootstrap java application, >> and my tomcat is stop running too. >> >> >> >> would you please share with me what’s this? and why it running by automatic? >> >> <屏幕快照 2015-09-24 02.13.46.png> >> >> >> >> thanks so much >> >> >> Mike.G >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org >