Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Poonam Agarwal

Ranch Hand
+ Follow
since May 12, 2008
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 Poonam Agarwal

Hello,
I am totally new to the Spring framework and recently received a new task , where I need to set the Env in subject line of Email notification, so that it would be more clear from where these notifications are coming: Dev, UAT or PROD. can anyone tell me how can I solve this? what is the way to find and use the current active profile and make use of it in Java code where I am building the Email subject.

Thanks
4 years ago
thanks for making doubt clear. actually i am working on a stucts project without having more knowldge about it. I want to learn struts from start.
kindly guide me with some notes or refer me some books on it ..

thanks Again for all your effort

Poonam
10 years ago
It works.. thanks again. !
I want to know what is the actual cause of this processing error??
10 years ago
hey tom, thanks again for solving my doubt.
I encoutered an expected problem after making this change


when I deploy my updated code to some different environment that is a webshere server this line of code onclick="<%="onCheck(" + CheckedFilterNo + ")"%>" gives me error (Unable to create an xml attribute from name [onCheck(] value [ + CheckedFilterNo + ]).

JSP Processing Error
HTTP Error Code: 500


Error Message:/WEB-INF/search.jsp(380,135) JSPG0055E: Unable to create an xml attribute from name [onCheck(] value [ + CheckedFilterNo + ]

Root Cause:com.ibm.ws.jsp.JspCoreException: /WEB-INF/search.jsp(380,135) JSPG0055E: Unable to create an xml attribute from name [onCheck(] value [ + CheckedFilterNo + ] at com.ibm.ws.jsp.translator.document.Jsp2Dom.getJspDocumentAsJspPage(Jsp2Dom.java:300) at com.ibm.ws.jsp.translator.document.Jsp2Dom.getJspDocument(Jsp2Dom.java:179) at com.ibm.ws.jsp.translator.JspTranslator.<init>(JspTranslator.java:73) at com.ibm.ws.jsp.translator.JspTranslatorFactory.createTranslator(JspTranslatorFactory.java:116) at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJsp(JspTranslatorUtil.java:193) at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJspAndCompile(JspTranslatorUtil.java:93) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.translateJsp(JSPExtensionServletWrapper.java:397) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper._checkForTranslation(JSPExtensionServletWrapper.java:366) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.checkForTranslation(JSPExtensionServletWrapper.java:274) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:151) at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:255) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:670)


please check error description. I have no clue about it.

Thanks in advance
Poonam
10 years ago
tom, I am really very thankfull to you for your help to resolve this issue. thanks for making my doubt clear.

YOU RoCKS Buddy
10 years ago
I am really very sorry to bug you so much. but i am very novice to struts.
when I try to run this
onclick="onCheck("<nested:write name="filterEntry" property="filterNo"/>")"/>
OR
onclick="onCheck('<nested:write name="filterEntry" property="filterNo"/>')"/>

it keeps giving me the " equal symbol expected' " error. I also tried another way to get the value of filterNo by using <nested:define> tag.
please help me out how do I solve it.

Thanks in advance
10 years ago

Tom Rispoli wrote:Looks like you have the nested:write in a scriptlet, that won't work, but it shouldn't be a problem because it doesn't look like you need that value in a scriptlet anyway since its the only thing in the scriptlet, try removing the tags for the scriptlet (the <%= and hte %>).


Hope that helps.



thanks tom for your effort. you want me to remove scriplets tag ??
like this??
onclick="onCheck('<nested:write name='filterEntry' property='filterNo'>')" is there any other way to pass a value of filterNo to a javascript function without using nested:write tag??

please reply. thanks in advance
10 years ago
hello rancher,
here i am stuck in problem while using <nested:write>tag. here i am trying to pass the value of "filterNo"(propery of filterEntry bean) to an javascript function called onCheck(). but this gives me some syntex error (javascript syntex error), which i am not able to solve. <nested:write> is not working here while using it to pass to a javascript function.




thanks in advance
Poonam
10 years ago
Kumar,

I am not using any reset method in my form to reset the value. but I knw that my code still not working.. my requirment is to group all the radio buttons.
please let me know what need to be done as this is very important issue for me...


looking forward to your valuable inputs.

Thanks Ranchers!!
10 years ago
can anybody please help me out???
10 years ago
Can anybody please help me out on this??

thanks in advance
10 years ago
hello ranchers,

I am trying to solve this problem since a quite long but there is no result which can help me out to get the right result. I want to have radio buttons (<nested:radio>) works in a group so that at a time there is only one button can be selected by the user. i knw the problem sounds very familiar but please guys advice me get it done.

here is my code




filterNo is the property of FilterFormBean which I need to aceess via using <nested:radio>. please help me out in this

10 years ago
my current JSP file and filter.jsp file are in the same folder. they are in WEB-INF folder.

Thanks
Poonam

Bear Bibeault wrote:Of course you can use a JSP. Your URL is wrong.



please give me the right URL.
more on it


I used this line of code in my current .jsp


and the in filter.jsp, which I try to include , I have some table tags and buttons