Re: replace Java scriptlets in JSP page

2014-12-30 Thread Christoph Nenning
> > I am using struts 1 because of company policy. > > With struts1 you can use JSTL EL, too. The form bean names are available in EL. And struts1 has it's own tag lib. regards, Christoph This Email was scanned by Sophos Anti Virus

Re: replace Java scriptlets in JSP page

2014-12-30 Thread Albert Kao
I am using struts 1 because of company policy. On Monday, December 29, 2014 11:20 PM, Sreekanth S. Nair wrote: Sure you can, please if you are using struts2 please read these tutorials Struts2 Tag lesson http://www.tutorialspoint.com/struts_2/ or http://struts.apache.org/docs/tag-re

Re: replace Java scriptlets in JSP page

2014-12-29 Thread Sreekanth S. Nair
Sure you can, please if you are using struts2 please read these tutorials Struts2 Tag lesson http://www.tutorialspoint.com/struts_2/ or http://struts.apache.org/docs/tag-reference.html and a bit of JSP EL http://www.tutorialspoint.com/jsp/jsp_expression_language.htm -- Thanks & Regards Sreek

replace Java scriptlets in JSP page

2014-12-29 Thread Albert Kao
The following Java scriptlet code in a Struts jsp is working fine.  However, is it possible to change the jsp code so as to remove all the Java scriptlet codes? The .jsp code is like this:<%   HttpSession httpSession = request.getSession(true);   MyClient myClient = (MyClient)httpSession.getAttr