WebSphere « J2EE « JSP-Servlet Q&A

1. Force Https in Websphere 6.1    stackoverflow.com

I was wondering how i can force a user who has requested a page using Http to use the secure https version? I am using Websphere 6.1 as my application server and ...

2. Have you ever noticed some JSP incompatibilities with WebSphere?    stackoverflow.com

When we write in a Javascript expression :

expression < <%=variableJsp%>
the double "<" seems to be a problem and the JSP is not interpreted ? Is it a fault of the other ...

3. Accessing servlets in Websphere    stackoverflow.com

I have written a simple test servlet and deployed it on websphere applications. When i try to access the servlet it gives me following error Error 404: SRVE0190E: I have checked all the basic ...

4. window.location and window.open problem    stackoverflow.com

I can't seem to solve this. Originally the JSP code had a function in Javascript that would call a jsp from another server:

window.open("<%= otherServer %>/ourreports/Company/fooreport.jsp?index"+index,"Foo",options);
where otherServer was a local server ( This worked ...

5. Using Servlets 3 in IBM RAD 8?    stackoverflow.com

I've been asked to get a web application running in WebSphere using RAD 8.0.1, which isn't my usual app.server or development environment. I'm starting off simple, using the default Ajax Test Server, ...

6. reload servlet once a month    stackoverflow.com

How can a reload a servlet once a month? We got some data which will change once a month, the data is for the servlet, but we don't need to save the ...

7. Control of when do servlets die    stackoverflow.com

I have some configuration stored in the servlet context, sharing among servlets. The current approach is to load the config into a single copy of static hashmap shared by the servlets ...

8. servlet initialization failure in websphere 6.0    stackoverflow.com

I have many servlets in a web applicaton; for some stange reason, only and only one of them always fails in initialization with the following error trace:- 00000045 ServletWrappe E ...

9. What is the best way to bring down a web application for a quick modification in WebSphere AS?    stackoverflow.com

While making some small changes to a Web application which is deployed in a WebSphere AS, we want to bring the application down with a static Under Construction page. What is ...

12. How install dom4j in websphere    coderanch.com

14. concurrency issue in Websphere    coderanch.com

16. jsp configaration for websphere    coderanch.com

17. JSP-WEBSPHERE urgent    coderanch.com

18. JSP-SERVLETS-WEBSPHERE please help!!!    coderanch.com

The above design is the standard web application design pattern called the model-view-controller (MVC) pattern. As you stated the JSP's provide the view, the servlet is the controller and the bean represents the model. You may want to think about implementing three types of beans; command, view and data beans. The command bean will control the processing of the business logic ...

20. jsp in websphere    coderanch.com

21. JSP in Websphere    coderanch.com

22. Urgent : Related to WebSphere and JSP    coderanch.com

If none of the above work delete the .class and .dat files in the WebSphere\AppServer\temp\default_host\default_app directory (assuming you are using the default_app). If you are not using the default_app go into the folder that has the same name as your application. I am running into the same problem with WebSphere not recognizing that a new JSP has been published. By deleting ...

23. JSP in websphere    coderanch.com

24. JSP on websphere not working    coderanch.com

25. JSP on websphere not working    coderanch.com

26. WebSphere/Visula Age JSP Problems    coderanch.com

29. Websphere & LDAP servlet    coderanch.com

I use ldapjdk.jar or ldap40.jar of netscape to connect my jsp to Directory Server. Sample to authenticate import java.util.Hashtable; import java.util.Enumeration; import javax.naming.*; import javax.naming.directory.*; import netscape.ldap.*; ... public static boolean authenticate(String uid,String pwd) { boolean status = false; LDAPConnection ld = new LDAPConnection(); LDAPEntry findEntry = null; String dn = null; String MY_HOST = "MyMachine"; int MY_PORT = 389; String ...

30. Problem in Servlet in Websphere    coderanch.com