jsp

Are the parameters sent from one jsp to another jsp page are saved?

I try to send parameter from menu page to My home page which include both the menu page and the page which comes through a parameter from one href form menu page . MainPage inside folder in my web app, and all other jsps and the menue inside AdminPages folder inside the web-inf folder , so when i call AnyPage.jsp from the menu i make Ad...

Jboss not processing jsp pages under ssl

I have a web-app I'm trying to setup under jboss 4.2.3 and I am mimicing (the best I can) a 4.2.1 installation. It's doing fine feeding up pages under http, but when its https, it just kicks out the raw jsp file. I followed instructions for creating a self-signed cert. Not sure what specific info to provide, but can anyone try to point m...

how to send an email from jsp/servlet?

how to send an email from jsp/servlet? ...

I want to get the value of disabled text box in our next jsp but i am getting null value .

Hi I want to get the value of disabled text box in our next jsp the value comes null. any idea about this. thaks ...

object definition in java within a special condition

I want to use the lang variable in my code, and give the value in the if command. Is the below code possible in .jsp page ? <% String language = "EN"; EN lang; if (language.equals("EN")){ lang = new EN(); } else if (language.equals("FR")){ lang = new FR(); } %> // html ... <% out.print(lang.variable1); %> i got thi...

How to use a eclipse to create a project to write the JSP?

Hi, everyone, I have a question about the eclipse. I want to write JSP by using eclipse. However, I don't know how to create a project and the .jsp file. Can anyone teach me how to write the jsp in eclipse. Thank you. ...

Websphere 7: Getting 'Internal Server Error' when accessing JSPs. Servlets ok

I have just installed WS 7 on our stage server. The test server was done some months ago. I have deployed the same applications to stage as on test. One application is causing me problems. I call the login servlet but the result is an 'Internal Server Error' message. From my logs I can see that the servlet processed the log in successf...

What are GAE compatible JSP site-building frameworks?

What are Google app engine compatible JSP site building frameworks? (like zend for php) ...

JSF Navigation Question

Hi all, Can someone explain more about JSF page navigation to me? Basically, I understand that the action returns a string, that is mapped to a URL in a navigation rule. However, it seems like there is more to it, that I don't understand. My main problem is really that when I navigate away from a modal popup, using an action, it op...

Print org.w3c.dom.Document on jsp

Hi! I'm sending from spring controller ModelAndView with object org.w3c.dom.Document. So I need to print it on my jsp without scriplets. Is there any way to do this with jstl? ThanX)) ...

How to use the RTC-Client 2.0.0 to create a J2EE project to do the jsp?

Hi, everyone, I want to ask a question about the RTC-Client 2.0.0. I want to use the RTC-Client-2.0.0 to create a project (I guess the type of the project is J2EE) to create the .jsp. However, I cannot find any J2EE project type when I click the 'New > Project'. Do I need to install something or do other things? ...

An exception occured while trying to convert String "EN" to type "Java.lang.long"

In my JSP, I have the following exception while populating drop down value. ........ <option value="Mr">MR</option> <option value="Doctor[ServletException "/web-inf/pages/account.jsp"] An exception occured while trying to convert String "EN" to type "Java.lang.long" ....... The value that i have passed is "Doctor of Philoshopy" Pleas...

Playing an audio file from FTP in JavaFx

I have a scenario. I have an audio file on an FTP location. Its a JSP applicaiton. I want to do streaming on my webpage. What I am thinking to open an inputstream on that file that is on ftp location. And connect that input stream to JavaFx player. (never coded Javafx before) So JavaFx will play that buffer. My approach is right? ...

Passing rendered html to a javascript function

Hi all, I have some html code rendered on the server side. This is passed to a jsp which renders a javascript-call with this html: <script type="text/javascript"> window.parent.${param.popup_return}("${helpId}", "${content}"); </script> content is like " This is a <p class="xyz">test</p> " My problem is that - according to the...

Methods in jsp scriptlet?

I know its not recommended, and I should be using tag libraries etc etc. But I'd still like to know if it is legal to declare methods in a jsp scriplet: <% public String doSomething(String param) { // } String test = doSomething("test"); %> Is that legal? I am getting some weird compile errors (like a ; is expected)...

using javascript variable for jsp

hello all, my code is like this: <% ArrayList<Item> itemList = new ArrayList<Item>(); itemList = projr.getObjects(projectID); if (itemList.size() != 0) { %> <script type="text/javascript"> window.onload = function() { for(var i = 0;i < <%=itemList.size()%>;i++){ var azimuth=0; azimuth = <%=itemList.get(i).getAzimuth()%>; </scri...

taglib prefix not accessible in included jsp

I have a JSP in which I declare taglib prefix for spring tags (form, spring). In this JSP I included a new jsp (a.jsp). When I try to use form tag in a.jsp, it is not accesible in a.jsp. I use <form:textarea..... in a.jsp. Instead of generating html code(<textarea ...) it just output <form:textarea...... When I include same taglib in a.j...

Google app engine: what are content folder data securing options?

It seems for me that when youve got low (in general hacking terms) quotas (I am talking about free GAE plan) and quite large files uoy wanna stream to your users youmust somehow to protect thouse files from "bad" users So it is sad By default, App Engine makes all files in the WAR available as static files except JSPs and files...

handling strings with apostrophes passed to javascript generated by jsp and struts 2

in jsp i have <a href="javascript:toggle('<s:property value="company.name"/>')"> company names containing apostrophes are generated like so: <a href="javascript:toggle('apostrophe's company')"/> single quotes around names cause problems for company names with the apostrophes. i'd like to get double quotes around the names instead, ...

How do I bootstrap a zip file to jsbc database using JSP and servlets?

Hi, Firstly, I have a zip file containing CSV files. I have to unzip it to a temporary folder and load data into jdbc database and then delete temporary folder. Note: mySQL table is set up and ready for CSV files inputs. thanks. ...